{ "m_SGVersion": 3, "m_Type": "UnityEditor.ShaderGraph.GraphData", "m_ObjectId": "0d227e91fe874cb6ba9d431345640174", "m_Properties": [ { "m_Id": "cc6d4bd73cc647869e4ebe11d6e8542c" } ], "m_Keywords": [], "m_Dropdowns": [], "m_CategoryData": [ { "m_Id": "7ebbfc63a78f489297e724306a7daec7" } ], "m_Nodes": [ { "m_Id": "a022c21bf39b4a51b5f2486beb3e2330" }, { "m_Id": "b7f240f7a49646aa962e1d665df50936" }, { "m_Id": "2495980d076f4f26b339a3c2f903373b" }, { "m_Id": "6572040bd76b486d8c277426e92f486d" }, { "m_Id": "c4298581a8d64f7f8274ddcf1ffb6cd2" } ], "m_GroupDatas": [], "m_StickyNoteDatas": [], "m_Edges": [ { "m_OutputSlot": { "m_Node": { "m_Id": "2495980d076f4f26b339a3c2f903373b" }, "m_SlotId": 0 }, "m_InputSlot": { "m_Node": { "m_Id": "6572040bd76b486d8c277426e92f486d" }, "m_SlotId": 0 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "2495980d076f4f26b339a3c2f903373b" }, "m_SlotId": 0 }, "m_InputSlot": { "m_Node": { "m_Id": "6572040bd76b486d8c277426e92f486d" }, "m_SlotId": 1 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "6572040bd76b486d8c277426e92f486d" }, "m_SlotId": 3 }, "m_InputSlot": { "m_Node": { "m_Id": "b7f240f7a49646aa962e1d665df50936" }, "m_SlotId": 0 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "b7f240f7a49646aa962e1d665df50936" }, "m_SlotId": 1 }, "m_InputSlot": { "m_Node": { "m_Id": "a022c21bf39b4a51b5f2486beb3e2330" }, "m_SlotId": 0 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "c4298581a8d64f7f8274ddcf1ffb6cd2" }, "m_SlotId": 0 }, "m_InputSlot": { "m_Node": { "m_Id": "6572040bd76b486d8c277426e92f486d" }, "m_SlotId": 2 } } ], "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": "a022c21bf39b4a51b5f2486beb3e2330" }, "m_ActiveTargets": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", "m_ObjectId": "22a55042a5124bc7b8f30a2dfcd54c20", "m_Id": 0, "m_DisplayName": "PositionWS", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "PositionWS", "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.PropertyNode", "m_ObjectId": "2495980d076f4f26b339a3c2f903373b", "m_Group": { "m_Id": "" }, "m_Name": "Property", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -724.0000610351563, "y": -139.0, "width": 136.0, "height": 33.99999237060547 } }, "m_Slots": [ { "m_Id": "a817101d8a794e4c9f5035d4e0e71242" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_Property": { "m_Id": "cc6d4bd73cc647869e4ebe11d6e8542c" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot", "m_ObjectId": "3c22f3002ca54fdd8e85f02694ba4ffd", "m_Id": 1, "m_DisplayName": "PositionCS", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "PositionCS", "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_Labels": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", "m_ObjectId": "41b8c4dde95f4de488303ceaeb480726", "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.DynamicVectorMaterialSlot", "m_ObjectId": "530204128e494b8db8dd1c6b1c45fe1a", "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": "6572040bd76b486d8c277426e92f486d", "m_Group": { "m_Id": "" }, "m_Name": "Branch On Input Connection", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -534.9999389648438, "y": -138.99998474121095, "width": 207.99996948242188, "height": 326.0 } }, "m_Slots": [ { "m_Id": "c6e950060fd64e59ac2f9902ef364dae" }, { "m_Id": "41b8c4dde95f4de488303ceaeb480726" }, { "m_Id": "99f185b95710485b82e5d77afe52f21b" }, { "m_Id": "530204128e494b8db8dd1c6b1c45fe1a" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": false, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.CategoryData", "m_ObjectId": "7ebbfc63a78f489297e724306a7daec7", "m_Name": "", "m_ChildObjectList": [ { "m_Id": "cc6d4bd73cc647869e4ebe11d6e8542c" } ] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", "m_ObjectId": "99f185b95710485b82e5d77afe52f21b", "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": 0, "m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode", "m_ObjectId": "a022c21bf39b4a51b5f2486beb3e2330", "m_Group": { "m_Id": "" }, "m_Name": "Output", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -18.000024795532228, "y": -139.00001525878907, "width": 111.99995422363281, "height": 77.00001525878906 } }, "m_Slots": [ { "m_Id": "c3e883903b5d448cba3dadf953679df4" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "IsFirstSlotValid": true } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", "m_ObjectId": "a817101d8a794e4c9f5035d4e0e71242", "m_Id": 0, "m_DisplayName": "PositionWS", "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": "b7f240f7a49646aa962e1d665df50936", "m_Group": { "m_Id": "" }, "m_Name": "WorldToHClip (Custom Function)", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -289.0, "y": -139.0, "width": 233.5, "height": 94.0 } }, "m_Slots": [ { "m_Id": "22a55042a5124bc7b8f30a2dfcd54c20" }, { "m_Id": "3c22f3002ca54fdd8e85f02694ba4ffd" } ], "synonyms": [ "code", "HLSL" ], "m_Precision": 0, "m_PreviewExpanded": false, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_SourceType": 1, "m_FunctionName": "WorldToHClip", "m_FunctionSource": "", "m_FunctionBody": "PositionCS = TransformWorldToHClip(PositionWS);" } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot", "m_ObjectId": "c3e883903b5d448cba3dadf953679df4", "m_Id": 0, "m_DisplayName": "PositionCS", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "PositionCS", "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_Labels": [] } { "m_SGVersion": 1, "m_Type": "UnityEditor.ShaderGraph.PositionNode", "m_ObjectId": "c4298581a8d64f7f8274ddcf1ffb6cd2", "m_Group": { "m_Id": "" }, "m_Name": "Position", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -794.0000610351563, "y": -87.00001525878906, "width": 206.0, "height": 131.0 } }, "m_Slots": [ { "m_Id": "cdc3be603ec64e7891b642f3d48b9e86" } ], "synonyms": [ "location" ], "m_Precision": 1, "m_PreviewExpanded": false, "m_DismissedVersion": 0, "m_PreviewMode": 2, "m_CustomColors": { "m_SerializableColors": [] }, "m_Space": 2, "m_PositionSource": 0 } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.PropertyConnectionStateMaterialSlot", "m_ObjectId": "c6e950060fd64e59ac2f9902ef364dae", "m_Id": 0, "m_DisplayName": "Input", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "Input", "m_StageCapability": 3 } { "m_SGVersion": 1, "m_Type": "UnityEditor.ShaderGraph.Internal.Vector3ShaderProperty", "m_ObjectId": "cc6d4bd73cc647869e4ebe11d6e8542c", "m_Guid": { "m_GuidSerialized": "a2ef2f1e-8009-479e-837a-4a04664e87c4" }, "m_Name": "PositionWS", "m_DefaultRefNameVersion": 1, "m_RefNameGeneratedByDisplayName": "PositionWS", "m_DefaultReferenceName": "_PositionWS", "m_OverrideReferenceName": "", "m_GeneratePropertyBlock": true, "m_UseCustomSlotLabel": true, "m_CustomSlotLabel": "World Space", "m_DismissedVersion": 0, "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.Vector3MaterialSlot", "m_ObjectId": "cdc3be603ec64e7891b642f3d48b9e86", "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": [] }