{ "m_SGVersion": 2, "m_Type": "UnityEditor.ShaderGraph.GraphData", "m_ObjectId": "15208e96cd9242e986bb05df5d2d8656", "m_Properties": [], "m_Keywords": [], "m_Nodes": [ { "m_Id": "24d9c4e09142eb87960fe72a834034b0" }, { "m_Id": "47888b2a52dd86829fd0fc83888ca9af" }, { "m_Id": "1cbf1e4b76ae2d818589baf16f07dfba" }, { "m_Id": "460554c8b8f91385b4245b907f278bcd" } ], "m_GroupDatas": [], "m_StickyNoteDatas": [], "m_Edges": [ { "m_OutputSlot": { "m_Node": { "m_Id": "1cbf1e4b76ae2d818589baf16f07dfba" }, "m_SlotId": 2 }, "m_InputSlot": { "m_Node": { "m_Id": "24d9c4e09142eb87960fe72a834034b0" }, "m_SlotId": 2 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "460554c8b8f91385b4245b907f278bcd" }, "m_SlotId": 0 }, "m_InputSlot": { "m_Node": { "m_Id": "47888b2a52dd86829fd0fc83888ca9af" }, "m_SlotId": 4 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "47888b2a52dd86829fd0fc83888ca9af" }, "m_SlotId": 0 }, "m_InputSlot": { "m_Node": { "m_Id": "24d9c4e09142eb87960fe72a834034b0" }, "m_SlotId": 0 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "47888b2a52dd86829fd0fc83888ca9af" }, "m_SlotId": 1 }, "m_InputSlot": { "m_Node": { "m_Id": "24d9c4e09142eb87960fe72a834034b0" }, "m_SlotId": 1 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "47888b2a52dd86829fd0fc83888ca9af" }, "m_SlotId": 2 }, "m_InputSlot": { "m_Node": { "m_Id": "1cbf1e4b76ae2d818589baf16f07dfba" }, "m_SlotId": 1 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "47888b2a52dd86829fd0fc83888ca9af" }, "m_SlotId": 3 }, "m_InputSlot": { "m_Node": { "m_Id": "1cbf1e4b76ae2d818589baf16f07dfba" }, "m_SlotId": 0 } } ], "m_VertexContext": { "m_Position": { "x": 351.0000305175781, "y": 8.999998092651368 }, "m_Blocks": [] }, "m_FragmentContext": { "m_Position": { "x": 351.0000305175781, "y": 209.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": "24d9c4e09142eb87960fe72a834034b0" }, "m_ActiveTargets": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "141ec55cc093f98b9075883368c14261", "m_Id": 2, "m_DisplayName": "DistanceAttenuation", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "DistanceAttenuation", "m_StageCapability": 3, "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [ "X" ] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.MultiplyNode", "m_ObjectId": "1cbf1e4b76ae2d818589baf16f07dfba", "m_Group": { "m_Id": "" }, "m_Name": "Multiply", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": 164.00001525878907, "y": 72.00001525878906, "width": 137.0, "height": 118.0 } }, "m_Slots": [ { "m_Id": "b70689990c3b3c85929ca41cbfb7c175" }, { "m_Id": "57f0cbe2e755d788869919ba898a434b" }, { "m_Id": "8d280537369863848e712addf0e0122d" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": false, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", "m_ObjectId": "1e22176e2ec60b8baaef423036e72958", "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": [ "X", "Y", "Z" ] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode", "m_ObjectId": "24d9c4e09142eb87960fe72a834034b0", "m_Group": { "m_Id": "" }, "m_Name": "Output", "m_DrawState": { "m_Expanded": false, "m_Position": { "serializedVersion": "2", "x": 349.00006103515627, "y": 9.999998092651368, "width": 113.0, "height": 124.0 } }, "m_Slots": [ { "m_Id": "688d2e1f3235948cb16ab9e964a07470" }, { "m_Id": "5b4014f6770ec3878a6eee1f334fb428" }, { "m_Id": "5834b96a0bf1358690fdcc170621e0bb" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "IsFirstSlotValid": true } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", "m_ObjectId": "3891b8ec84680782b5e81b51359e23c5", "m_Id": 0, "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": [ "X", "Y", "Z" ] } { "m_SGVersion": 1, "m_Type": "UnityEditor.ShaderGraph.PositionNode", "m_ObjectId": "460554c8b8f91385b4245b907f278bcd", "m_Group": { "m_Id": "" }, "m_Name": "Position", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -359.99993896484377, "y": 5.00000524520874, "width": 206.0, "height": 130.0 } }, "m_Slots": [ { "m_Id": "1e22176e2ec60b8baaef423036e72958" } ], "synonyms": [], "m_Precision": 1, "m_PreviewExpanded": false, "m_PreviewMode": 2, "m_CustomColors": { "m_SerializableColors": [] }, "m_Space": 4 } { "m_SGVersion": 1, "m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode", "m_ObjectId": "47888b2a52dd86829fd0fc83888ca9af", "m_Group": { "m_Id": "" }, "m_Name": "GetLightingInformation (Custom Function)", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -135.00006103515626, "y": 3.000002861022949, "width": 275.0000305175781, "height": 166.0 } }, "m_Slots": [ { "m_Id": "3891b8ec84680782b5e81b51359e23c5" }, { "m_Id": "6e75691bbeb2ac85bd7f5ac440f980e7" }, { "m_Id": "6c27af4e0ec3a781bba32f458207db6c" }, { "m_Id": "141ec55cc093f98b9075883368c14261" }, { "m_Id": "f48e44461cb60f8b81c3aa9e227c1f45" } ], "synonyms": [], "m_Precision": 1, "m_PreviewExpanded": false, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_SourceType": 0, "m_FunctionName": "GetLightingInformation", "m_FunctionSource": "db6449133ab1bd441a66c7968a1a2809", "m_FunctionBody": "Enter function body here..." } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot", "m_ObjectId": "57f0cbe2e755d788869919ba898a434b", "m_Id": 1, "m_DisplayName": "B", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "B", "m_StageCapability": 3, "m_Value": { "e00": 2.0, "e01": 2.0, "e02": 2.0, "e03": 2.0, "e10": 2.0, "e11": 2.0, "e12": 2.0, "e13": 2.0, "e20": 2.0, "e21": 2.0, "e22": 2.0, "e23": 2.0, "e30": 2.0, "e31": 2.0, "e32": 2.0, "e33": 2.0 }, "m_DefaultValue": { "e00": 1.0, "e01": 0.0, "e02": 0.0, "e03": 0.0, "e10": 0.0, "e11": 1.0, "e12": 0.0, "e13": 0.0, "e20": 0.0, "e21": 0.0, "e22": 1.0, "e23": 0.0, "e30": 0.0, "e31": 0.0, "e32": 0.0, "e33": 1.0 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "5834b96a0bf1358690fdcc170621e0bb", "m_Id": 2, "m_DisplayName": "Attenuation", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "Attenuation", "m_StageCapability": 3, "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [ "X" ] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", "m_ObjectId": "5b4014f6770ec3878a6eee1f334fb428", "m_Id": 1, "m_DisplayName": "Colour", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "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": [ "X", "Y", "Z" ] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", "m_ObjectId": "688d2e1f3235948cb16ab9e964a07470", "m_Id": 0, "m_DisplayName": "Direction", "m_SlotType": 0, "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": [ "X", "Y", "Z" ] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "6c27af4e0ec3a781bba32f458207db6c", "m_Id": 3, "m_DisplayName": "ShadowAttenuation", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "ShadowAttenuation", "m_StageCapability": 3, "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [ "X" ] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", "m_ObjectId": "6e75691bbeb2ac85bd7f5ac440f980e7", "m_Id": 1, "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": [ "X", "Y", "Z" ] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot", "m_ObjectId": "8d280537369863848e712addf0e0122d", "m_Id": 2, "m_DisplayName": "Out", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "Out", "m_StageCapability": 3, "m_Value": { "e00": 0.0, "e01": 0.0, "e02": 0.0, "e03": 0.0, "e10": 0.0, "e11": 0.0, "e12": 0.0, "e13": 0.0, "e20": 0.0, "e21": 0.0, "e22": 0.0, "e23": 0.0, "e30": 0.0, "e31": 0.0, "e32": 0.0, "e33": 0.0 }, "m_DefaultValue": { "e00": 1.0, "e01": 0.0, "e02": 0.0, "e03": 0.0, "e10": 0.0, "e11": 1.0, "e12": 0.0, "e13": 0.0, "e20": 0.0, "e21": 0.0, "e22": 1.0, "e23": 0.0, "e30": 0.0, "e31": 0.0, "e32": 0.0, "e33": 1.0 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot", "m_ObjectId": "b70689990c3b3c85929ca41cbfb7c175", "m_Id": 0, "m_DisplayName": "A", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "A", "m_StageCapability": 3, "m_Value": { "e00": 0.0, "e01": 0.0, "e02": 0.0, "e03": 0.0, "e10": 0.0, "e11": 0.0, "e12": 0.0, "e13": 0.0, "e20": 0.0, "e21": 0.0, "e22": 0.0, "e23": 0.0, "e30": 0.0, "e31": 0.0, "e32": 0.0, "e33": 0.0 }, "m_DefaultValue": { "e00": 1.0, "e01": 0.0, "e02": 0.0, "e03": 0.0, "e10": 0.0, "e11": 1.0, "e12": 0.0, "e13": 0.0, "e20": 0.0, "e21": 0.0, "e22": 1.0, "e23": 0.0, "e30": 0.0, "e31": 0.0, "e32": 0.0, "e33": 1.0 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", "m_ObjectId": "f48e44461cb60f8b81c3aa9e227c1f45", "m_Id": 4, "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": [ "X", "Y", "Z" ] }