forked from BilalY/Rasagar
442 lines
10 KiB
Plaintext
442 lines
10 KiB
Plaintext
{
|
|
"m_SGVersion": 2,
|
|
"m_Type": "UnityEditor.ShaderGraph.GraphData",
|
|
"m_ObjectId": "bff7f3b7ab1841fe95b6202344ac5edf",
|
|
"m_Properties": [],
|
|
"m_Keywords": [],
|
|
"m_Nodes": [
|
|
{
|
|
"m_Id": "963343797bb445a1b7e1265f67b53e3e"
|
|
},
|
|
{
|
|
"m_Id": "2208a28e0ecf47ab893c097c567e19d1"
|
|
},
|
|
{
|
|
"m_Id": "45a274bc2cd24718a39952f72d69e103"
|
|
}
|
|
],
|
|
"m_GroupDatas": [],
|
|
"m_StickyNoteDatas": [],
|
|
"m_Edges": [
|
|
{
|
|
"m_OutputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "2208a28e0ecf47ab893c097c567e19d1"
|
|
},
|
|
"m_SlotId": 1
|
|
},
|
|
"m_InputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "963343797bb445a1b7e1265f67b53e3e"
|
|
},
|
|
"m_SlotId": 1
|
|
}
|
|
},
|
|
{
|
|
"m_OutputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "2208a28e0ecf47ab893c097c567e19d1"
|
|
},
|
|
"m_SlotId": 2
|
|
},
|
|
"m_InputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "963343797bb445a1b7e1265f67b53e3e"
|
|
},
|
|
"m_SlotId": 2
|
|
}
|
|
},
|
|
{
|
|
"m_OutputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "2208a28e0ecf47ab893c097c567e19d1"
|
|
},
|
|
"m_SlotId": 3
|
|
},
|
|
"m_InputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "963343797bb445a1b7e1265f67b53e3e"
|
|
},
|
|
"m_SlotId": 4
|
|
}
|
|
},
|
|
{
|
|
"m_OutputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "2208a28e0ecf47ab893c097c567e19d1"
|
|
},
|
|
"m_SlotId": 4
|
|
},
|
|
"m_InputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "963343797bb445a1b7e1265f67b53e3e"
|
|
},
|
|
"m_SlotId": 3
|
|
}
|
|
},
|
|
{
|
|
"m_OutputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "45a274bc2cd24718a39952f72d69e103"
|
|
},
|
|
"m_SlotId": 0
|
|
},
|
|
"m_InputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "2208a28e0ecf47ab893c097c567e19d1"
|
|
},
|
|
"m_SlotId": 0
|
|
}
|
|
}
|
|
],
|
|
"m_VertexContext": {
|
|
"m_Position": {
|
|
"x": 0.0,
|
|
"y": 0.0
|
|
},
|
|
"m_Blocks": []
|
|
},
|
|
"m_FragmentContext": {
|
|
"m_Position": {
|
|
"x": 0.0,
|
|
"y": 0.0
|
|
},
|
|
"m_Blocks": []
|
|
},
|
|
"m_PreviewData": {
|
|
"serializedMesh": {
|
|
"m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}",
|
|
"m_Guid": ""
|
|
}
|
|
},
|
|
"m_Path": "Sub Graphs",
|
|
"m_ConcretePrecision": 0,
|
|
"m_PreviewMode": 2,
|
|
"m_OutputNode": {
|
|
"m_Id": "963343797bb445a1b7e1265f67b53e3e"
|
|
},
|
|
"m_ActiveTargets": []
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
|
"m_ObjectId": "134f991e879541f5906665a8cf18d195",
|
|
"m_Id": 3,
|
|
"m_DisplayName": "Shadow_Attenuation",
|
|
"m_SlotType": 0,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "Shadow_Attenuation",
|
|
"m_StageCapability": 3,
|
|
"m_Value": 0.0,
|
|
"m_DefaultValue": 0.0,
|
|
"m_Labels": []
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
|
|
"m_ObjectId": "19cba0ddec274f67bdf3c0815d3151ad",
|
|
"m_Id": 2,
|
|
"m_DisplayName": "Light_Colour",
|
|
"m_SlotType": 0,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "Light_Colour",
|
|
"m_StageCapability": 3,
|
|
"m_Value": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.0
|
|
},
|
|
"m_DefaultValue": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.0
|
|
},
|
|
"m_Labels": []
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 1,
|
|
"m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode",
|
|
"m_ObjectId": "2208a28e0ecf47ab893c097c567e19d1",
|
|
"m_Group": {
|
|
"m_Id": ""
|
|
},
|
|
"m_Name": "MainLight (Custom Function)",
|
|
"m_DrawState": {
|
|
"m_Expanded": true,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": 14.5,
|
|
"y": -74.5,
|
|
"width": 226.00001525878907,
|
|
"height": 166.0
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "733d56056beb467f9f129ad3296573b6"
|
|
},
|
|
{
|
|
"m_Id": "9434b8616c1a444ba4f84d74fd5c796a"
|
|
},
|
|
{
|
|
"m_Id": "3eef5c92690540d08c4755f31c25c33b"
|
|
},
|
|
{
|
|
"m_Id": "dadfb4b90e20479a80eefd2ce37e6b00"
|
|
},
|
|
{
|
|
"m_Id": "4a7f350f06c14749a304cc68ebd0831d"
|
|
}
|
|
],
|
|
"synonyms": [],
|
|
"m_Precision": 2,
|
|
"m_PreviewExpanded": false,
|
|
"m_PreviewMode": 0,
|
|
"m_CustomColors": {
|
|
"m_SerializableColors": []
|
|
},
|
|
"m_SourceType": 0,
|
|
"m_FunctionName": "MainLight",
|
|
"m_FunctionSource": "67baf233c3876ca4abb90f38e60552e3",
|
|
"m_FunctionBody": "Enter function body here..."
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
|
|
"m_ObjectId": "3eef5c92690540d08c4755f31c25c33b",
|
|
"m_Id": 2,
|
|
"m_DisplayName": "Color",
|
|
"m_SlotType": 1,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "Color",
|
|
"m_StageCapability": 3,
|
|
"m_Value": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.0
|
|
},
|
|
"m_DefaultValue": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.0
|
|
},
|
|
"m_Labels": []
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 1,
|
|
"m_Type": "UnityEditor.ShaderGraph.PositionNode",
|
|
"m_ObjectId": "45a274bc2cd24718a39952f72d69e103",
|
|
"m_Group": {
|
|
"m_Id": ""
|
|
},
|
|
"m_Name": "Position",
|
|
"m_DrawState": {
|
|
"m_Expanded": true,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": -240.00003051757813,
|
|
"y": -73.99999237060547,
|
|
"width": 205.99998474121095,
|
|
"height": 132.0
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "5cfb35ad4103408dae4e295db6adccf5"
|
|
}
|
|
],
|
|
"synonyms": [],
|
|
"m_Precision": 1,
|
|
"m_PreviewExpanded": false,
|
|
"m_PreviewMode": 2,
|
|
"m_CustomColors": {
|
|
"m_SerializableColors": []
|
|
},
|
|
"m_Space": 2
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
|
"m_ObjectId": "4a7f350f06c14749a304cc68ebd0831d",
|
|
"m_Id": 4,
|
|
"m_DisplayName": "ShadowAtten",
|
|
"m_SlotType": 1,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "ShadowAtten",
|
|
"m_StageCapability": 3,
|
|
"m_Value": 0.0,
|
|
"m_DefaultValue": 0.0,
|
|
"m_Labels": []
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
|
|
"m_ObjectId": "5cfb35ad4103408dae4e295db6adccf5",
|
|
"m_Id": 0,
|
|
"m_DisplayName": "Out",
|
|
"m_SlotType": 1,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "Out",
|
|
"m_StageCapability": 3,
|
|
"m_Value": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.0
|
|
},
|
|
"m_DefaultValue": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.0
|
|
},
|
|
"m_Labels": []
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
|
|
"m_ObjectId": "6ae513b3ce09419cbb648d9a6304b38b",
|
|
"m_Id": 1,
|
|
"m_DisplayName": "Light_Direction",
|
|
"m_SlotType": 0,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "Light_Direction",
|
|
"m_StageCapability": 3,
|
|
"m_Value": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.0
|
|
},
|
|
"m_DefaultValue": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.0
|
|
},
|
|
"m_Labels": []
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
|
|
"m_ObjectId": "733d56056beb467f9f129ad3296573b6",
|
|
"m_Id": 0,
|
|
"m_DisplayName": "WorldPos",
|
|
"m_SlotType": 0,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "WorldPos",
|
|
"m_StageCapability": 3,
|
|
"m_Value": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.0
|
|
},
|
|
"m_DefaultValue": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.0
|
|
},
|
|
"m_Labels": []
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
|
|
"m_ObjectId": "9434b8616c1a444ba4f84d74fd5c796a",
|
|
"m_Id": 1,
|
|
"m_DisplayName": "Direction",
|
|
"m_SlotType": 1,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "Direction",
|
|
"m_StageCapability": 3,
|
|
"m_Value": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.0
|
|
},
|
|
"m_DefaultValue": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.0
|
|
},
|
|
"m_Labels": []
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode",
|
|
"m_ObjectId": "963343797bb445a1b7e1265f67b53e3e",
|
|
"m_Group": {
|
|
"m_Id": ""
|
|
},
|
|
"m_Name": "Output",
|
|
"m_DrawState": {
|
|
"m_Expanded": true,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": 355.0,
|
|
"y": -73.99999237060547,
|
|
"width": 163.0,
|
|
"height": 149.0
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "6ae513b3ce09419cbb648d9a6304b38b"
|
|
},
|
|
{
|
|
"m_Id": "19cba0ddec274f67bdf3c0815d3151ad"
|
|
},
|
|
{
|
|
"m_Id": "c0b939421d6a4711a4be5e90e38dc981"
|
|
},
|
|
{
|
|
"m_Id": "134f991e879541f5906665a8cf18d195"
|
|
}
|
|
],
|
|
"synonyms": [],
|
|
"m_Precision": 0,
|
|
"m_PreviewExpanded": true,
|
|
"m_PreviewMode": 0,
|
|
"m_CustomColors": {
|
|
"m_SerializableColors": []
|
|
},
|
|
"IsFirstSlotValid": true
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
|
"m_ObjectId": "c0b939421d6a4711a4be5e90e38dc981",
|
|
"m_Id": 4,
|
|
"m_DisplayName": "Distance_Attenuation",
|
|
"m_SlotType": 0,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "Distance_Attenuation",
|
|
"m_StageCapability": 3,
|
|
"m_Value": 0.0,
|
|
"m_DefaultValue": 0.0,
|
|
"m_Labels": []
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
|
"m_ObjectId": "dadfb4b90e20479a80eefd2ce37e6b00",
|
|
"m_Id": 3,
|
|
"m_DisplayName": "DistanceAtten",
|
|
"m_SlotType": 1,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "DistanceAtten",
|
|
"m_StageCapability": 3,
|
|
"m_Value": 0.0,
|
|
"m_DefaultValue": 0.0,
|
|
"m_Labels": []
|
|
}
|
|
|