{ "m_SGVersion": 3, "m_Type": "UnityEditor.ShaderGraph.GraphData", "m_ObjectId": "79baefe926db4bdc95dde0e7bf153a5b", "m_Properties": [ { "m_Id": "b56c3cd5bf51474d9ebd66c89c3a60f8" }, { "m_Id": "67545535255d46e8a37e112032509ece" } ], "m_Keywords": [], "m_Dropdowns": [], "m_CategoryData": [ { "m_Id": "1a9dbd658f2c465b950b1b7b3c81539c" } ], "m_Nodes": [ { "m_Id": "20a5f56d8cb646e98711c9e99cadc079" }, { "m_Id": "18caaddd35ec4ba4bec4325869d0f7d1" }, { "m_Id": "74cf7b5db3e3470bba20ca095571ccfc" }, { "m_Id": "7070b49bd03047769d69ac806a7917ca" } ], "m_GroupDatas": [], "m_StickyNoteDatas": [ { "m_Id": "1cd229b21f8e487eaf805ae82d43b9da" } ], "m_Edges": [ { "m_OutputSlot": { "m_Node": { "m_Id": "18caaddd35ec4ba4bec4325869d0f7d1" }, "m_SlotId": 1 }, "m_InputSlot": { "m_Node": { "m_Id": "20a5f56d8cb646e98711c9e99cadc079" }, "m_SlotId": 1 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "7070b49bd03047769d69ac806a7917ca" }, "m_SlotId": 0 }, "m_InputSlot": { "m_Node": { "m_Id": "18caaddd35ec4ba4bec4325869d0f7d1" }, "m_SlotId": 2 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "74cf7b5db3e3470bba20ca095571ccfc" }, "m_SlotId": 0 }, "m_InputSlot": { "m_Node": { "m_Id": "18caaddd35ec4ba4bec4325869d0f7d1" }, "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": "20a5f56d8cb646e98711c9e99cadc079" }, "m_ActiveTargets": [] } { "m_SGVersion": 1, "m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode", "m_ObjectId": "18caaddd35ec4ba4bec4325869d0f7d1", "m_Group": { "m_Id": "" }, "m_Name": "SampleWaterNormal (Custom Function)", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -136.0, "y": -59.0, "width": 272.0, "height": 117.99999237060547 } }, "m_Slots": [ { "m_Id": "c7c774db45164b74b848afee176ff60d" }, { "m_Id": "3f72d043072d438b9e5de0c50914cfc3" }, { "m_Id": "b432dbf838594471ad8d0c364016db67" } ], "synonyms": [ "code", "HLSL" ], "m_Precision": 1, "m_PreviewExpanded": false, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_SourceType": 0, "m_FunctionName": "SampleWaterNormal", "m_FunctionSource": "1318138c4ac146af86a745a7082ac2a8", "m_FunctionBody": "Enter function body here..." } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.CategoryData", "m_ObjectId": "1a9dbd658f2c465b950b1b7b3c81539c", "m_Name": "", "m_ChildObjectList": [ { "m_Id": "b56c3cd5bf51474d9ebd66c89c3a60f8" }, { "m_Id": "67545535255d46e8a37e112032509ece" } ] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.StickyNoteData", "m_ObjectId": "1cd229b21f8e487eaf805ae82d43b9da", "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": -133.0, "y": -198.0, "width": 259.0, "height": 135.0 }, "m_Group": { "m_Id": "" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode", "m_ObjectId": "20a5f56d8cb646e98711c9e99cadc079", "m_Group": { "m_Id": "" }, "m_Name": "Output", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": 167.99998474121095, "y": -59.0000114440918, "width": 128.00001525878907, "height": 77.00001525878906 } }, "m_Slots": [ { "m_Id": "aa0b8a51e019409d8299c85f65a67d1e" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "IsFirstSlotValid": true } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", "m_ObjectId": "29f8d9d264394d1cb6348563ec659269", "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": "3f72d043072d438b9e5de0c50914cfc3", "m_Id": 2, "m_DisplayName": "strength", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "strength", "m_StageCapability": 3, "m_Value": 0.10000000149011612, "m_DefaultValue": 0.0, "m_Labels": [] } { "m_SGVersion": 1, "m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty", "m_ObjectId": "67545535255d46e8a37e112032509ece", "m_Guid": { "m_GuidSerialized": "a2a6a878-916d-42ca-9ca4-cec3b9d27505" }, "m_Name": "Strength", "m_DefaultRefNameVersion": 1, "m_RefNameGeneratedByDisplayName": "Strength", "m_DefaultReferenceName": "_Strength", "m_OverrideReferenceName": "", "m_GeneratePropertyBlock": true, "m_UseCustomSlotLabel": false, "m_CustomSlotLabel": "", "m_Precision": 0, "overrideHLSLDeclaration": false, "hlslDeclarationOverride": 0, "m_Hidden": false, "m_Value": 1.0, "m_FloatType": 0, "m_RangeValues": { "x": 0.0, "y": 1.0 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.PropertyNode", "m_ObjectId": "7070b49bd03047769d69ac806a7917ca", "m_Group": { "m_Id": "" }, "m_Name": "Property", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -312.0, "y": 8.99998664855957, "width": 121.00001525878906, "height": 34.00001525878906 } }, "m_Slots": [ { "m_Id": "bc14f0c334c3406d9e01aeb9fdfd81d5" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_Property": { "m_Id": "67545535255d46e8a37e112032509ece" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.PropertyNode", "m_ObjectId": "74cf7b5db3e3470bba20ca095571ccfc", "m_Group": { "m_Id": "" }, "m_Name": "Property", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -343.9999694824219, "y": -25.000011444091798, "width": 152.99998474121095, "height": 34.0 } }, "m_Slots": [ { "m_Id": "29f8d9d264394d1cb6348563ec659269" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_Property": { "m_Id": "b56c3cd5bf51474d9ebd66c89c3a60f8" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", "m_ObjectId": "aa0b8a51e019409d8299c85f65a67d1e", "m_Id": 1, "m_DisplayName": "World_Normal", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "World_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": "b432dbf838594471ad8d0c364016db67", "m_Id": 1, "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": 1, "m_Type": "UnityEditor.ShaderGraph.Internal.Vector3ShaderProperty", "m_ObjectId": "b56c3cd5bf51474d9ebd66c89c3a60f8", "m_Guid": { "m_GuidSerialized": "5af9a8ae-055b-47f9-a79c-a71dbc400123" }, "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.Vector1MaterialSlot", "m_ObjectId": "bc14f0c334c3406d9e01aeb9fdfd81d5", "m_Id": 0, "m_DisplayName": "Strength", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "Out", "m_StageCapability": 3, "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", "m_ObjectId": "c7c774db45164b74b848afee176ff60d", "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": [] }