{ "m_SGVersion": 3, "m_Type": "UnityEditor.ShaderGraph.GraphData", "m_ObjectId": "76d35e7e619d42e2aaafebc8ef6f3093", "m_Properties": [ { "m_Id": "26abb75110b74b5788e84f3884bb5b9b" } ], "m_Keywords": [], "m_Dropdowns": [], "m_CategoryData": [ { "m_Id": "180fc64b34054e409bb3cb076f3c929a" } ], "m_Nodes": [ { "m_Id": "480dd4e30e674d20adf554f043aec179" }, { "m_Id": "e31739b3fc354a59b9d0f62f82928767" }, { "m_Id": "5169eb9d62a84eaf9cb37762b34fdaba" }, { "m_Id": "946f01d678804a5596f01f9296b62387" } ], "m_GroupDatas": [], "m_StickyNoteDatas": [ { "m_Id": "22fe41e0edba44469681ff48f924d5b7" } ], "m_Edges": [ { "m_OutputSlot": { "m_Node": { "m_Id": "5169eb9d62a84eaf9cb37762b34fdaba" }, "m_SlotId": 0 }, "m_InputSlot": { "m_Node": { "m_Id": "e31739b3fc354a59b9d0f62f82928767" }, "m_SlotId": 0 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "946f01d678804a5596f01f9296b62387" }, "m_SlotId": 2 }, "m_InputSlot": { "m_Node": { "m_Id": "480dd4e30e674d20adf554f043aec179" }, "m_SlotId": 3 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "e31739b3fc354a59b9d0f62f82928767" }, "m_SlotId": 1 }, "m_InputSlot": { "m_Node": { "m_Id": "480dd4e30e674d20adf554f043aec179" }, "m_SlotId": 1 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "e31739b3fc354a59b9d0f62f82928767" }, "m_SlotId": 1 }, "m_InputSlot": { "m_Node": { "m_Id": "946f01d678804a5596f01f9296b62387" }, "m_SlotId": 0 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "e31739b3fc354a59b9d0f62f82928767" }, "m_SlotId": 2 }, "m_InputSlot": { "m_Node": { "m_Id": "480dd4e30e674d20adf554f043aec179" }, "m_SlotId": 2 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "e31739b3fc354a59b9d0f62f82928767" }, "m_SlotId": 2 }, "m_InputSlot": { "m_Node": { "m_Id": "946f01d678804a5596f01f9296b62387" }, "m_SlotId": 1 } } ], "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": "480dd4e30e674d20adf554f043aec179" }, "m_SubDatas": [], "m_ActiveTargets": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.CategoryData", "m_ObjectId": "180fc64b34054e409bb3cb076f3c929a", "m_Name": "", "m_ChildObjectList": [ { "m_Id": "26abb75110b74b5788e84f3884bb5b9b" } ] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", "m_ObjectId": "1b94de1aea0c4ead8bd56879877ecce6", "m_Id": 2, "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.StickyNoteData", "m_ObjectId": "22fe41e0edba44469681ff48f924d5b7", "m_Title": "Usage note", "m_Content": "For this to return any data the Stylized Water 3 render feature must be active on the current renderer.\n\nAnd the \"Height Prepass\" option must be enabled.", "m_TextSize": 0, "m_Theme": 0, "m_Position": { "serializedVersion": "2", "x": -586.0, "y": -275.0, "width": 259.0, "height": 135.0 }, "m_Group": { "m_Id": "" } } { "m_SGVersion": 1, "m_Type": "UnityEditor.ShaderGraph.Internal.Vector3ShaderProperty", "m_ObjectId": "26abb75110b74b5788e84f3884bb5b9b", "m_Guid": { "m_GuidSerialized": "9edc1bf0-53e0-4109-84bc-f54bcd72a140" }, "m_Name": "World Position", "m_DefaultRefNameVersion": 1, "m_RefNameGeneratedByDisplayName": "World Position", "m_DefaultReferenceName": "_World_Position", "m_OverrideReferenceName": "", "m_GeneratePropertyBlock": true, "m_UseCustomSlotLabel": false, "m_CustomSlotLabel": "", "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.Vector1MaterialSlot", "m_ObjectId": "458cb2d5e1f04648898ab1a5b122e5a1", "m_Id": 2, "m_DisplayName": "displacement", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "displacement", "m_StageCapability": 3, "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode", "m_ObjectId": "480dd4e30e674d20adf554f043aec179", "m_Group": { "m_Id": "" }, "m_Name": "Output", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": 4.0, "y": -133.0, "width": 144.0, "height": 125.0 } }, "m_Slots": [ { "m_Id": "f33f512079204c0e89eba50545cd41c8" }, { "m_Id": "8a0e06128f264a14abacd34b1936548a" }, { "m_Id": "e291f092c863417da659d700154c2ddd" } ], "synonyms": [], "m_Precision": 1, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "IsFirstSlotValid": true } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.PropertyNode", "m_ObjectId": "5169eb9d62a84eaf9cb37762b34fdaba", "m_Group": { "m_Id": "" }, "m_Name": "Property", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -755.0, "y": -90.0, "width": 152.0, "height": 34.0 } }, "m_Slots": [ { "m_Id": "7031ac0f15d6433193753c90272138f5" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_Property": { "m_Id": "26abb75110b74b5788e84f3884bb5b9b" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "52641796acf649749df15cc33341ec7b", "m_Id": 1, "m_DisplayName": "geometryHeight", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "geometryHeight", "m_StageCapability": 3, "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", "m_ObjectId": "629abe611e774e0eb2976fd11a4867b2", "m_Id": 1, "m_DisplayName": "B", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "B", "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.Vector3MaterialSlot", "m_ObjectId": "635824bf074747859de54a01319623c7", "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.Vector3MaterialSlot", "m_ObjectId": "7031ac0f15d6433193753c90272138f5", "m_Id": 0, "m_DisplayName": "World Position", "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": "8a0e06128f264a14abacd34b1936548a", "m_Id": 2, "m_DisplayName": "Displacement", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "Displacement", "m_StageCapability": 3, "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.AddNode", "m_ObjectId": "946f01d678804a5596f01f9296b62387", "m_Group": { "m_Id": "" }, "m_Name": "Add", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -246.0, "y": -39.0, "width": 126.0, "height": 118.0 } }, "m_Slots": [ { "m_Id": "adebfeeb94f042ddb7f9122331284c75" }, { "m_Id": "629abe611e774e0eb2976fd11a4867b2" }, { "m_Id": "1b94de1aea0c4ead8bd56879877ecce6" } ], "synonyms": [ "addition", "sum", "plus" ], "m_Precision": 0, "m_PreviewExpanded": false, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", "m_ObjectId": "adebfeeb94f042ddb7f9122331284c75", "m_Id": 0, "m_DisplayName": "A", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "A", "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.Vector1MaterialSlot", "m_ObjectId": "e291f092c863417da659d700154c2ddd", "m_Id": 3, "m_DisplayName": "Summed", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "Summed", "m_StageCapability": 3, "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [] } { "m_SGVersion": 1, "m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode", "m_ObjectId": "e31739b3fc354a59b9d0f62f82928767", "m_Group": { "m_Id": "" }, "m_Name": "SampleWaterHeight (Custom Function)", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -591.0, "y": -133.0, "width": 267.0, "height": 118.0 } }, "m_Slots": [ { "m_Id": "635824bf074747859de54a01319623c7" }, { "m_Id": "52641796acf649749df15cc33341ec7b" }, { "m_Id": "458cb2d5e1f04648898ab1a5b122e5a1" } ], "synonyms": [ "code", "HLSL" ], "m_Precision": 1, "m_PreviewExpanded": false, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_SourceType": 0, "m_FunctionName": "SampleWaterHeight", "m_FunctionSource": "4453c99908d0997428446580ee1d8bd0", "m_FunctionBody": "Enter function body here..." } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "f33f512079204c0e89eba50545cd41c8", "m_Id": 1, "m_DisplayName": "Geometry_Height", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "Geometry_Height", "m_StageCapability": 3, "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [] }