{ "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_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": "e31739b3fc354a59b9d0f62f82928767" }, "m_SlotId": 1 }, "m_InputSlot": { "m_Node": { "m_Id": "480dd4e30e674d20adf554f043aec179" }, "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_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.StickyNoteData", "m_ObjectId": "22fe41e0edba44469681ff48f924d5b7", "m_Title": "Usage note", "m_Content": "For this to return any data the Stylized Water 2 render feature must be active on the current renderer.\n\nAnd the \"Displacement Prepass\" option must be enabled.", "m_TextSize": 0, "m_Theme": 0, "m_Position": { "serializedVersion": "2", "x": -471.0, "y": -264.0, "width": 258.5189208984375, "height": 135.0 }, "m_Group": { "m_Id": "" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "234c6a1822174833a15cf2979860bb36", "m_Id": 1, "m_DisplayName": "height", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "height", "m_StageCapability": 3, "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "24eaf6c6562a477b99080b45c3be2702", "m_Id": 1, "m_DisplayName": "Height", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "Height", "m_StageCapability": 3, "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [] } { "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_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.SubGraphOutputNode", "m_ObjectId": "480dd4e30e674d20adf554f043aec179", "m_Group": { "m_Id": "" }, "m_Name": "Output", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -195.0, "y": -122.0, "width": 88.0, "height": 77.0 } }, "m_Slots": [ { "m_Id": "24eaf6c6562a477b99080b45c3be2702" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "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": -640.0, "y": -79.0, "width": 153.0, "height": 34.0 } }, "m_Slots": [ { "m_Id": "7031ac0f15d6433193753c90272138f5" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_Property": { "m_Id": "26abb75110b74b5788e84f3884bb5b9b" } } { "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": 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": -476.0, "y": -122.0, "width": 268.0, "height": 245.0 } }, "m_Slots": [ { "m_Id": "635824bf074747859de54a01319623c7" }, { "m_Id": "234c6a1822174833a15cf2979860bb36" } ], "synonyms": [ "code", "HLSL" ], "m_Precision": 1, "m_PreviewExpanded": false, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_SourceType": 0, "m_FunctionName": "SampleWaterHeight", "m_FunctionSource": "1318138c4ac146af86a745a7082ac2a8", "m_FunctionBody": "Enter function body here..." }