{ "m_SGVersion": 3, "m_Type": "UnityEditor.ShaderGraph.GraphData", "m_ObjectId": "eeed4cec0ae34034a7c33ca5c45fbe07", "m_Properties": [], "m_Keywords": [], "m_Dropdowns": [], "m_CategoryData": [ { "m_Id": "9e296b02c0e14e47af9fc212a1a7de53" } ], "m_Nodes": [ { "m_Id": "f0e14b5ef8264f20b0ce487b7f0281ad" }, { "m_Id": "41d6b30a8212467782f3ca829e0b10e7" }, { "m_Id": "f142bcd563ff40d086552e6b564c501e" }, { "m_Id": "36cbb352fb6248e98bc0b1b53ef4e01d" }, { "m_Id": "343fbc92434d4c90bce4efc2d68190b8" }, { "m_Id": "3f38a927d4514e1886c5371d3559df44" } ], "m_GroupDatas": [ { "m_Id": "a8301224202c4f5db7d11f41a1c54a35" } ], "m_StickyNoteDatas": [], "m_Edges": [ { "m_OutputSlot": { "m_Node": { "m_Id": "343fbc92434d4c90bce4efc2d68190b8" }, "m_SlotId": 3 }, "m_InputSlot": { "m_Node": { "m_Id": "f0e14b5ef8264f20b0ce487b7f0281ad" }, "m_SlotId": 4 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "36cbb352fb6248e98bc0b1b53ef4e01d" }, "m_SlotId": 0 }, "m_InputSlot": { "m_Node": { "m_Id": "41d6b30a8212467782f3ca829e0b10e7" }, "m_SlotId": 0 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "3f38a927d4514e1886c5371d3559df44" }, "m_SlotId": 1 }, "m_InputSlot": { "m_Node": { "m_Id": "f0e14b5ef8264f20b0ce487b7f0281ad" }, "m_SlotId": 1 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "3f38a927d4514e1886c5371d3559df44" }, "m_SlotId": 2 }, "m_InputSlot": { "m_Node": { "m_Id": "343fbc92434d4c90bce4efc2d68190b8" }, "m_SlotId": 0 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "3f38a927d4514e1886c5371d3559df44" }, "m_SlotId": 2 }, "m_InputSlot": { "m_Node": { "m_Id": "f0e14b5ef8264f20b0ce487b7f0281ad" }, "m_SlotId": 5 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "41d6b30a8212467782f3ca829e0b10e7" }, "m_SlotId": 1 }, "m_InputSlot": { "m_Node": { "m_Id": "f142bcd563ff40d086552e6b564c501e" }, "m_SlotId": 0 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "f142bcd563ff40d086552e6b564c501e" }, "m_SlotId": 1 }, "m_InputSlot": { "m_Node": { "m_Id": "3f38a927d4514e1886c5371d3559df44" }, "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": "" }, "preventRotation": false }, "m_Path": "Sub Graphs", "m_GraphPrecision": 1, "m_PreviewMode": 2, "m_OutputNode": { "m_Id": "f0e14b5ef8264f20b0ce487b7f0281ad" }, "m_SubDatas": [], "m_ActiveTargets": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", "m_ObjectId": "0846dcebcba44be9ad8e0c48ad85e45e", "m_Id": 0, "m_DisplayName": "In", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "In", "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": "343fbc92434d4c90bce4efc2d68190b8", "m_Group": { "m_Id": "a8301224202c4f5db7d11f41a1c54a35" }, "m_Name": "instanceNormal (Custom Function)", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": 750.0, "y": -177.0, "width": 244.0, "height": 278.0 } }, "m_Slots": [ { "m_Id": "dfbc1e840ca745c88ec6124248b93fd2" }, { "m_Id": "d67debfc07cc411490afae64867cf6ab" } ], "synonyms": [ "code", "HLSL" ], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_SourceType": 0, "m_FunctionName": "instanceNormal", "m_FunctionSource": "0119d2adf67156c468ace80cfeb07fbe", "m_FunctionSourceUsePragmas": true, "m_FunctionBody": "Enter function body here..." } { "m_SGVersion": 1, "m_Type": "UnityEditor.ShaderGraph.PositionNode", "m_ObjectId": "36cbb352fb6248e98bc0b1b53ef4e01d", "m_Group": { "m_Id": "a8301224202c4f5db7d11f41a1c54a35" }, "m_Name": "Position", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -530.0, "y": -302.49993896484377, "width": 208.0, "height": 314.9999084472656 } }, "m_Slots": [ { "m_Id": "39dbe7de7648414abb3f116709f0cb66" } ], "synonyms": [ "location" ], "m_Precision": 1, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 2, "m_CustomColors": { "m_SerializableColors": [] }, "m_Space": 0, "m_PositionSource": 0 } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", "m_ObjectId": "39dbe7de7648414abb3f116709f0cb66", "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": 1, "m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode", "m_ObjectId": "3f38a927d4514e1886c5371d3559df44", "m_Group": { "m_Id": "a8301224202c4f5db7d11f41a1c54a35" }, "m_Name": "instanceIDShaderGraph (Custom Function)", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": 390.0, "y": -302.0, "width": 290.0, "height": 302.0000305175781 } }, "m_Slots": [ { "m_Id": "f18b9c4f2095433995acc540f7552268" }, { "m_Id": "dab7d4bec23a40069c477a350aa42acd" }, { "m_Id": "8ee7762801fc4f4bb3d3512e03da2ede" } ], "synonyms": [ "code", "HLSL" ], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_SourceType": 0, "m_FunctionName": "instanceIDShaderGraph", "m_FunctionSource": "0119d2adf67156c468ace80cfeb07fbe", "m_FunctionSourceUsePragmas": true, "m_FunctionBody": "Enter function body here..." } { "m_SGVersion": 1, "m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode", "m_ObjectId": "41d6b30a8212467782f3ca829e0b10e7", "m_Group": { "m_Id": "a8301224202c4f5db7d11f41a1c54a35" }, "m_Name": "instanceShaderGraphSetup (Custom Function)", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -286.0, "y": -302.0, "width": 311.0000305175781, "height": 278.0 } }, "m_Slots": [ { "m_Id": "0846dcebcba44be9ad8e0c48ad85e45e" }, { "m_Id": "66e754d426204df6b27fc08af210d611" } ], "synonyms": [ "code", "HLSL" ], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_SourceType": 0, "m_FunctionName": "instanceShaderGraphSetup", "m_FunctionSource": "0119d2adf67156c468ace80cfeb07fbe", "m_FunctionSourceUsePragmas": true, "m_FunctionBody": "Enter function body here..." } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", "m_ObjectId": "66e754d426204df6b27fc08af210d611", "m_Id": 1, "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.Vector1MaterialSlot", "m_ObjectId": "8ee7762801fc4f4bb3d3512e03da2ede", "m_Id": 2, "m_DisplayName": "InstanceID", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "InstanceID", "m_StageCapability": 3, "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", "m_ObjectId": "93e67be3dbd747c29057ad398c203b13", "m_Id": 4, "m_DisplayName": "Normal", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "Normal", "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": "9aef103e24ad4bc09b8fc1a1a0844dc0", "m_Id": 1, "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.CategoryData", "m_ObjectId": "9e296b02c0e14e47af9fc212a1a7de53", "m_Name": "", "m_ChildObjectList": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.GroupData", "m_ObjectId": "a8301224202c4f5db7d11f41a1c54a35", "m_Title": "Instancing Positions", "m_Position": { "x": -555.0, "y": -361.0 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", "m_ObjectId": "c2a3a063fb9346f1b49c2238c69ca518", "m_Id": 0, "m_DisplayName": "In", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "In", "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.Vector1MaterialSlot", "m_ObjectId": "d5bfe00dfd694c1084539397e09ac2b6", "m_Id": 5, "m_DisplayName": "InstanceID", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "InstanceID", "m_StageCapability": 3, "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", "m_ObjectId": "d67debfc07cc411490afae64867cf6ab", "m_Id": 3, "m_DisplayName": "Normal", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "Normal", "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": "dab7d4bec23a40069c477a350aa42acd", "m_Id": 1, "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.Vector1MaterialSlot", "m_ObjectId": "dfbc1e840ca745c88ec6124248b93fd2", "m_Id": 0, "m_DisplayName": "InstanceID", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "InstanceID", "m_StageCapability": 3, "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode", "m_ObjectId": "f0e14b5ef8264f20b0ce487b7f0281ad", "m_Group": { "m_Id": "" }, "m_Name": "Output", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": 1042.0, "y": -302.0, "width": 109.0, "height": 124.99998474121094 } }, "m_Slots": [ { "m_Id": "fbfe5ba8365f4abaa65bf58c30bf0e3c" }, { "m_Id": "93e67be3dbd747c29057ad398c203b13" }, { "m_Id": "d5bfe00dfd694c1084539397e09ac2b6" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "IsFirstSlotValid": true } { "m_SGVersion": 1, "m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode", "m_ObjectId": "f142bcd563ff40d086552e6b564c501e", "m_Group": { "m_Id": "a8301224202c4f5db7d11f41a1c54a35" }, "m_Name": "instancingSetup (Custom Function)", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": 80.0, "y": -302.0, "width": 246.0, "height": 278.0 } }, "m_Slots": [ { "m_Id": "c2a3a063fb9346f1b49c2238c69ca518" }, { "m_Id": "9aef103e24ad4bc09b8fc1a1a0844dc0" } ], "synonyms": [ "code", "HLSL" ], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_SourceType": 1, "m_FunctionName": "instancingSetup", "m_FunctionSource": "", "m_FunctionSourceUsePragmas": true, "m_FunctionBody": "#pragma instancing_options procedural:vertInstancingSetup\nOut = In;\r\n" } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", "m_ObjectId": "f18b9c4f2095433995acc540f7552268", "m_Id": 0, "m_DisplayName": "In", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "In", "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": "fbfe5ba8365f4abaa65bf58c30bf0e3c", "m_Id": 1, "m_DisplayName": "Object", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "Object", "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": [] }