{ "m_SGVersion": 3, "m_Type": "UnityEditor.ShaderGraph.GraphData", "m_ObjectId": "52f59ea790e044e680fe693ee8119007", "m_Properties": [ { "m_Id": "cd2703af38ed41ca90e0ac549637e5f6" } ], "m_Keywords": [], "m_Dropdowns": [], "m_CategoryData": [ { "m_Id": "52c96902967442a499825af3fff0e0b0" } ], "m_Nodes": [ { "m_Id": "885a2e25c8f375838bbf9d55c83a3b33" }, { "m_Id": "4419b13d7b31e68e8e059676cfda8898" }, { "m_Id": "b0e88eab1879e18682f7b91ee0765e49" }, { "m_Id": "f052100cdf4f412ba383e3ff25c875ab" }, { "m_Id": "32c53f31cd1e49e29e46f4fd1d0ebbff" } ], "m_GroupDatas": [], "m_StickyNoteDatas": [], "m_Edges": [ { "m_OutputSlot": { "m_Node": { "m_Id": "32c53f31cd1e49e29e46f4fd1d0ebbff" }, "m_SlotId": 3 }, "m_InputSlot": { "m_Node": { "m_Id": "4419b13d7b31e68e8e059676cfda8898" }, "m_SlotId": 1 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "4419b13d7b31e68e8e059676cfda8898" }, "m_SlotId": 0 }, "m_InputSlot": { "m_Node": { "m_Id": "b0e88eab1879e18682f7b91ee0765e49" }, "m_SlotId": 1 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "885a2e25c8f375838bbf9d55c83a3b33" }, "m_SlotId": 0 }, "m_InputSlot": { "m_Node": { "m_Id": "32c53f31cd1e49e29e46f4fd1d0ebbff" }, "m_SlotId": 2 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "f052100cdf4f412ba383e3ff25c875ab" }, "m_SlotId": 0 }, "m_InputSlot": { "m_Node": { "m_Id": "32c53f31cd1e49e29e46f4fd1d0ebbff" }, "m_SlotId": 0 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "f052100cdf4f412ba383e3ff25c875ab" }, "m_SlotId": 0 }, "m_InputSlot": { "m_Node": { "m_Id": "32c53f31cd1e49e29e46f4fd1d0ebbff" }, "m_SlotId": 1 } } ], "m_VertexContext": { "m_Position": { "x": 232.0, "y": -56.0 }, "m_Blocks": [] }, "m_FragmentContext": { "m_Position": { "x": 232.0, "y": 144.0 }, "m_Blocks": [] }, "m_PreviewData": { "serializedMesh": { "m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}", "m_Guid": "" }, "preventRotation": false }, "m_Path": "Custom Lighting", "m_GraphPrecision": 0, "m_PreviewMode": 2, "m_OutputNode": { "m_Id": "b0e88eab1879e18682f7b91ee0765e49" }, "m_ActiveTargets": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", "m_ObjectId": "2047e7836560de869911c7705903993e", "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": 1.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": "22fa946712ed698b89a7af1a20caebda", "m_Id": 1, "m_DisplayName": "WorldNormal", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "WorldNormal", "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.DynamicVectorMaterialSlot", "m_ObjectId": "2facbd1ce9ab478597441e686c421476", "m_Id": 3, "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, "w": 0.0 }, "m_DefaultValue": { "x": 0.0, "y": 0.0, "z": 0.0, "w": 0.0 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.BranchOnInputConnectionNode", "m_ObjectId": "32c53f31cd1e49e29e46f4fd1d0ebbff", "m_Group": { "m_Id": "" }, "m_Name": "Branch On Input Connection", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -248.0, "y": -56.0, "width": 206.0, "height": 142.0 } }, "m_Slots": [ { "m_Id": "46ddd457eda745c98e2cfbe6871992ee" }, { "m_Id": "e16152f8f59442ac9730358321c4ec02" }, { "m_Id": "bbea3e32bdeb4e5499e0a794cd3df840" }, { "m_Id": "2facbd1ce9ab478597441e686c421476" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": false, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] } } { "m_SGVersion": 1, "m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode", "m_ObjectId": "4419b13d7b31e68e8e059676cfda8898", "m_Group": { "m_Id": "" }, "m_Name": "AmbientSampleSH (Custom Function)", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -42.0, "y": -56.0, "width": 261.0, "height": 278.0 } }, "m_Slots": [ { "m_Id": "22fa946712ed698b89a7af1a20caebda" }, { "m_Id": "e6009d97dadf248e95fb0853f082cf05" } ], "synonyms": [ "code", "HLSL" ], "m_Precision": 0, "m_PreviewExpanded": true, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_SourceType": 0, "m_FunctionName": "AmbientSampleSH", "m_FunctionSource": "5c09ec492074d214fbe1a19781ad15e8", "m_FunctionBody": "#ifdef SHADERGRAPH_PREVIEW\nSH = float3(0,0,0);\n#else\nSH = SampleSH(WorldNormal);\n#endif" } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.PropertyConnectionStateMaterialSlot", "m_ObjectId": "46ddd457eda745c98e2cfbe6871992ee", "m_Id": 0, "m_DisplayName": "Input", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "Input", "m_StageCapability": 3 } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.CategoryData", "m_ObjectId": "52c96902967442a499825af3fff0e0b0", "m_Name": "", "m_ChildObjectList": [ { "m_Id": "cd2703af38ed41ca90e0ac549637e5f6" } ] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.NormalVectorNode", "m_ObjectId": "885a2e25c8f375838bbf9d55c83a3b33", "m_Group": { "m_Id": "" }, "m_Name": "Normal Vector", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -480.0, "y": 35.0, "width": 206.0, "height": 131.0 } }, "m_Slots": [ { "m_Id": "2047e7836560de869911c7705903993e" } ], "synonyms": [ "surface direction" ], "m_Precision": 0, "m_PreviewExpanded": false, "m_PreviewMode": 2, "m_CustomColors": { "m_SerializableColors": [] }, "m_Space": 2 } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", "m_ObjectId": "a2fae08129a94733bb74549349cdff6d", "m_Id": 0, "m_DisplayName": "Normal", "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.SubGraphOutputNode", "m_ObjectId": "b0e88eab1879e18682f7b91ee0765e49", "m_Group": { "m_Id": "" }, "m_Name": "Out_Vector3", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": 219.0, "y": -56.0, "width": 118.0, "height": 77.0 } }, "m_Slots": [ { "m_Id": "fb5ac210049e4589905ecc40588461a3" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "IsFirstSlotValid": true } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", "m_ObjectId": "bbea3e32bdeb4e5499e0a794cd3df840", "m_Id": 2, "m_DisplayName": "NotConnected", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "NotConnected", "m_StageCapability": 3, "m_Value": { "x": 0.0, "y": 0.0, "z": 0.0, "w": 0.0 }, "m_DefaultValue": { "x": 0.0, "y": 0.0, "z": 0.0, "w": 0.0 } } { "m_SGVersion": 1, "m_Type": "UnityEditor.ShaderGraph.Internal.Vector3ShaderProperty", "m_ObjectId": "cd2703af38ed41ca90e0ac549637e5f6", "m_Guid": { "m_GuidSerialized": "7cbab9af-00fb-40a7-904f-86352c24f4a2" }, "m_Name": "Normal", "m_DefaultRefNameVersion": 1, "m_RefNameGeneratedByDisplayName": "Normal", "m_DefaultReferenceName": "_Normal", "m_OverrideReferenceName": "", "m_GeneratePropertyBlock": true, "m_UseCustomSlotLabel": true, "m_CustomSlotLabel": "World Space", "m_Precision": 0, "overrideHLSLDeclaration": false, "hlslDeclarationOverride": 0, "m_Hidden": false, "m_Value": { "x": 0.0, "y": 0.0, "z": 0.0, "w": 0.0 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", "m_ObjectId": "e16152f8f59442ac9730358321c4ec02", "m_Id": 1, "m_DisplayName": "Connected", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "Connected", "m_StageCapability": 3, "m_Value": { "x": 1.0, "y": 1.0, "z": 1.0, "w": 1.0 }, "m_DefaultValue": { "x": 0.0, "y": 0.0, "z": 0.0, "w": 0.0 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", "m_ObjectId": "e6009d97dadf248e95fb0853f082cf05", "m_Id": 0, "m_DisplayName": "SH", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "SH", "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.PropertyNode", "m_ObjectId": "f052100cdf4f412ba383e3ff25c875ab", "m_Group": { "m_Id": "" }, "m_Name": "Property", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -401.0, "y": -16.0, "width": 115.0, "height": 34.0 } }, "m_Slots": [ { "m_Id": "a2fae08129a94733bb74549349cdff6d" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_Property": { "m_Id": "cd2703af38ed41ca90e0ac549637e5f6" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", "m_ObjectId": "fb5ac210049e4589905ecc40588461a3", "m_Id": 1, "m_DisplayName": "Ambient", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "Ambient", "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" ] }