{ "m_SGVersion": 2, "m_Type": "UnityEditor.ShaderGraph.GraphData", "m_ObjectId": "e36cb58903ba4bd5acdfcb66eb703a4c", "m_Properties": [ { "m_Id": "2f4370017d0047c8b8cf8a8ac3e4b40f" } ], "m_Keywords": [], "m_Nodes": [ { "m_Id": "e9688707aa82491f9c0739f6559d4ddd" }, { "m_Id": "16cb0f55d1c345d987f9e45f2d8774df" }, { "m_Id": "95e67a3cdf264ad1a59b626e27153a3f" }, { "m_Id": "4b77b6eb3f834202b5bfe88dd31de222" }, { "m_Id": "18fda43d62f14546a69f283525ee4c6b" }, { "m_Id": "d9c123111bb9492483604cd73561a8f4" }, { "m_Id": "e3106025003a41d583d04520ef225294" }, { "m_Id": "697b124b07554eff9b7feb67ebb44a26" }, { "m_Id": "a18ce44b1e4147d1af2cd7f18fe1a07c" } ], "m_GroupDatas": [], "m_StickyNoteDatas": [], "m_Edges": [ { "m_OutputSlot": { "m_Node": { "m_Id": "697b124b07554eff9b7feb67ebb44a26" }, "m_SlotId": 4 }, "m_InputSlot": { "m_Node": { "m_Id": "a18ce44b1e4147d1af2cd7f18fe1a07c" }, "m_SlotId": 0 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "a18ce44b1e4147d1af2cd7f18fe1a07c" }, "m_SlotId": 2 }, "m_InputSlot": { "m_Node": { "m_Id": "4b77b6eb3f834202b5bfe88dd31de222" }, "m_SlotId": 0 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "a18ce44b1e4147d1af2cd7f18fe1a07c" }, "m_SlotId": 3 }, "m_InputSlot": { "m_Node": { "m_Id": "18fda43d62f14546a69f283525ee4c6b" }, "m_SlotId": 0 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "d9c123111bb9492483604cd73561a8f4" }, "m_SlotId": 0 }, "m_InputSlot": { "m_Node": { "m_Id": "a18ce44b1e4147d1af2cd7f18fe1a07c" }, "m_SlotId": 1 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "e3106025003a41d583d04520ef225294" }, "m_SlotId": 0 }, "m_InputSlot": { "m_Node": { "m_Id": "697b124b07554eff9b7feb67ebb44a26" }, "m_SlotId": 1 } } ], "m_VertexContext": { "m_Position": { "x": -653.9998779296875, "y": 0.9999760985374451 }, "m_Blocks": [ { "m_Id": "e9688707aa82491f9c0739f6559d4ddd" }, { "m_Id": "16cb0f55d1c345d987f9e45f2d8774df" }, { "m_Id": "95e67a3cdf264ad1a59b626e27153a3f" } ] }, "m_FragmentContext": { "m_Position": { "x": -653.9998779296875, "y": 214.99996948242188 }, "m_Blocks": [ { "m_Id": "4b77b6eb3f834202b5bfe88dd31de222" }, { "m_Id": "18fda43d62f14546a69f283525ee4c6b" } ] }, "m_PreviewData": { "serializedMesh": { "m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}", "m_Guid": "" } }, "m_Path": "URPWater/VFX/ShaderGraph", "m_ConcretePrecision": 0, "m_PreviewMode": 2, "m_OutputNode": { "m_Id": "" }, "m_ActiveTargets": [ { "m_Id": "60642e5251f746f3a1371ce8165b12b9" } ] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "14e9a13bfdaf4c8d9687c12d335a1210", "m_Id": 5, "m_DisplayName": "G", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "G", "m_StageCapability": 2, "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [ "X" ] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.SamplerStateMaterialSlot", "m_ObjectId": "15a87a7f60c745f8a9a15446a921a678", "m_Id": 3, "m_DisplayName": "Sampler", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "Sampler", "m_StageCapability": 3, "m_BareResource": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.BlockNode", "m_ObjectId": "16cb0f55d1c345d987f9e45f2d8774df", "m_Group": { "m_Id": "" }, "m_Name": "VertexDescription.Normal", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": 0.0, "y": 0.0, "width": 0.0, "height": 0.0 } }, "m_Slots": [ { "m_Id": "b41896ac31a5406ea882d5007f07d83d" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_SerializedDescriptor": "VertexDescription.Normal" } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.BlockNode", "m_ObjectId": "18fda43d62f14546a69f283525ee4c6b", "m_Group": { "m_Id": "" }, "m_Name": "SurfaceDescription.Alpha", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": 0.0, "y": 0.0, "width": 0.0, "height": 0.0 } }, "m_Slots": [ { "m_Id": "86e312af1069414da7a58c3d30a84c4f" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_SerializedDescriptor": "SurfaceDescription.Alpha" } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "19f6b7840e5c4aff92dcec6b6d655ed6", "m_Id": 6, "m_DisplayName": "B", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "B", "m_StageCapability": 2, "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [ "X" ] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "1e031831e6814fdc85a818e1cab699ac", "m_Id": 4, "m_DisplayName": "R", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "R", "m_StageCapability": 2, "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [ "X" ] } { "m_SGVersion": 0, "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalUnlitSubTarget", "m_ObjectId": "2797f95fca274696bb5cc6ae7018afb7" } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot", "m_ObjectId": "2b7fd28859bb43c89492c68b6761d40d", "m_Id": 0, "m_DisplayName": "Base Color", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "BaseColor", "m_StageCapability": 2, "m_Value": { "x": 0.5, "y": 0.5, "z": 0.5 }, "m_DefaultValue": { "x": 0.0, "y": 0.0, "z": 0.0 }, "m_Labels": [ "X", "Y", "Z" ], "m_ColorMode": 0, "m_DefaultColor": { "r": 0.5, "g": 0.5, "b": 0.5, "a": 1.0 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Internal.Texture2DShaderProperty", "m_ObjectId": "2f4370017d0047c8b8cf8a8ac3e4b40f", "m_Guid": { "m_GuidSerialized": "274d9abe-76e7-4b59-a2b8-f16c5afbcfe7" }, "m_Name": "HeightMap", "m_DefaultReferenceName": "Texture2D_2f4370017d0047c8b8cf8a8ac3e4b40f", "m_OverrideReferenceName": "", "m_GeneratePropertyBlock": true, "m_Precision": 0, "overrideHLSLDeclaration": false, "hlslDeclarationOverride": 0, "m_Hidden": false, "m_Value": { "m_SerializedTexture": "{\"texture\":{\"instanceID\":0}}", "m_Guid": "" }, "m_Modifiable": true, "m_DefaultType": 0 } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "402e602932fc4fa5b4cab6dcc42df3a6", "m_Id": 7, "m_DisplayName": "A", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "A", "m_StageCapability": 2, "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [ "X" ] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.UVMaterialSlot", "m_ObjectId": "420dbb386c8548158f65ee64252f94ca", "m_Id": 2, "m_DisplayName": "UV", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "UV", "m_StageCapability": 3, "m_Value": { "x": 0.0, "y": 0.0 }, "m_DefaultValue": { "x": 0.0, "y": 0.0 }, "m_Labels": [ "X", "Y" ], "m_Channel": 0 } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Texture2DInputMaterialSlot", "m_ObjectId": "4685a49882f44ec997e15a625fa3fbfd", "m_Id": 1, "m_DisplayName": "Texture", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "Texture", "m_StageCapability": 3, "m_BareResource": false, "m_Texture": { "m_SerializedTexture": "{\"texture\":{\"instanceID\":0}}", "m_Guid": "" }, "m_DefaultType": 0 } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.BlockNode", "m_ObjectId": "4b77b6eb3f834202b5bfe88dd31de222", "m_Group": { "m_Id": "" }, "m_Name": "SurfaceDescription.BaseColor", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": 0.0, "y": 0.0, "width": 0.0, "height": 0.0 } }, "m_Slots": [ { "m_Id": "2b7fd28859bb43c89492c68b6761d40d" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_SerializedDescriptor": "SurfaceDescription.BaseColor" } { "m_SGVersion": 0, "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget", "m_ObjectId": "60642e5251f746f3a1371ce8165b12b9", "m_ActiveSubTarget": { "m_Id": "2797f95fca274696bb5cc6ae7018afb7" }, "m_SurfaceType": 1, "m_AlphaMode": 0, "m_TwoSided": false, "m_AlphaClip": false, "m_CustomEditorGUI": "" } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.SampleTexture2DNode", "m_ObjectId": "697b124b07554eff9b7feb67ebb44a26", "m_Group": { "m_Id": "" }, "m_Name": "Sample Texture 2D", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -1592.0001220703125, "y": 47.00000762939453, "width": 184.0, "height": 253.0 } }, "m_Slots": [ { "m_Id": "fbe242cad76844e0a4763cf49ab4f7a0" }, { "m_Id": "1e031831e6814fdc85a818e1cab699ac" }, { "m_Id": "14e9a13bfdaf4c8d9687c12d335a1210" }, { "m_Id": "19f6b7840e5c4aff92dcec6b6d655ed6" }, { "m_Id": "402e602932fc4fa5b4cab6dcc42df3a6" }, { "m_Id": "4685a49882f44ec997e15a625fa3fbfd" }, { "m_Id": "420dbb386c8548158f65ee64252f94ca" }, { "m_Id": "15a87a7f60c745f8a9a15446a921a678" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": false, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_TextureType": 0, "m_NormalMapSpace": 0 } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.TangentMaterialSlot", "m_ObjectId": "69a062b2e6b54407a40421d5485ce391", "m_Id": 0, "m_DisplayName": "Tangent", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "Tangent", "m_StageCapability": 1, "m_Value": { "x": 0.0, "y": 0.0, "z": 0.0 }, "m_DefaultValue": { "x": 0.0, "y": 0.0, "z": 0.0 }, "m_Labels": [ "X", "Y", "Z" ], "m_Space": 0 } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "6efb7769b6f84c8c94d35ca5c9067996", "m_Id": 0, "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": 0, "m_Type": "UnityEditor.ShaderGraph.Texture2DMaterialSlot", "m_ObjectId": "7f52e8e47ec743c88d8df283bbf7b4aa", "m_Id": 0, "m_DisplayName": "HeightMap", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "Out", "m_StageCapability": 3, "m_BareResource": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot", "m_ObjectId": "808ce03f10564d3581af2106c2d083a9", "m_Id": 0, "m_DisplayName": "Out", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "Out", "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_Labels": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.PositionMaterialSlot", "m_ObjectId": "86ab44a347d3496c9b6bc57be8512785", "m_Id": 0, "m_DisplayName": "Position", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "Position", "m_StageCapability": 1, "m_Value": { "x": 0.0, "y": 0.0, "z": 0.0 }, "m_DefaultValue": { "x": 0.0, "y": 0.0, "z": 0.0 }, "m_Labels": [ "X", "Y", "Z" ], "m_Space": 0 } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "86e312af1069414da7a58c3d30a84c4f", "m_Id": 0, "m_DisplayName": "Alpha", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "Alpha", "m_StageCapability": 2, "m_Value": 1.0, "m_DefaultValue": 1.0, "m_Labels": [ "X" ] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", "m_ObjectId": "90a07a291ffb4459a7e854498a04aa92", "m_Id": 2, "m_DisplayName": "Color", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "Color", "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.BlockNode", "m_ObjectId": "95e67a3cdf264ad1a59b626e27153a3f", "m_Group": { "m_Id": "" }, "m_Name": "VertexDescription.Tangent", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": 0.0, "y": 0.0, "width": 0.0, "height": 0.0 } }, "m_Slots": [ { "m_Id": "69a062b2e6b54407a40421d5485ce391" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_SerializedDescriptor": "VertexDescription.Tangent" } { "m_SGVersion": 1, "m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode", "m_ObjectId": "a18ce44b1e4147d1af2cd7f18fe1a07c", "m_Group": { "m_Id": "" }, "m_Name": "ComputeNormalFX (Custom Function)", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -1128.0, "y": 215.00001525878907, "width": 259.0, "height": 118.00000762939453 } }, "m_Slots": [ { "m_Id": "6efb7769b6f84c8c94d35ca5c9067996" }, { "m_Id": "afe7df7f5acc44ff9e5a732e1d563f6c" }, { "m_Id": "90a07a291ffb4459a7e854498a04aa92" }, { "m_Id": "c2f3dda7813c4c1098465fa57da0fdef" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": false, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_SourceType": 1, "m_FunctionName": "ComputeNormalFX", "m_FunctionSource": "", "m_FunctionBody": "Color = half3(1,0,0);\nAlpha = VertexColor.a * Height.r;" } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot", "m_ObjectId": "afe7df7f5acc44ff9e5a732e1d563f6c", "m_Id": 1, "m_DisplayName": "VertexColor", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "VertexColor", "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.NormalMaterialSlot", "m_ObjectId": "b41896ac31a5406ea882d5007f07d83d", "m_Id": 0, "m_DisplayName": "Normal", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "Normal", "m_StageCapability": 1, "m_Value": { "x": 0.0, "y": 0.0, "z": 0.0 }, "m_DefaultValue": { "x": 0.0, "y": 0.0, "z": 0.0 }, "m_Labels": [ "X", "Y", "Z" ], "m_Space": 0 } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "c2f3dda7813c4c1098465fa57da0fdef", "m_Id": 3, "m_DisplayName": "Alpha", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "Alpha", "m_StageCapability": 3, "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.VertexColorNode", "m_ObjectId": "d9c123111bb9492483604cd73561a8f4", "m_Group": { "m_Id": "" }, "m_Name": "Vertex Color", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -1524.0001220703125, "y": 382.0, "width": 116.00000762939453, "height": 94.0 } }, "m_Slots": [ { "m_Id": "808ce03f10564d3581af2106c2d083a9" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": false, "m_PreviewMode": 2, "m_CustomColors": { "m_SerializableColors": [] } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.PropertyNode", "m_ObjectId": "e3106025003a41d583d04520ef225294", "m_Group": { "m_Id": "" }, "m_Name": "Property", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -1854.0, "y": 85.00000762939453, "width": 148.0, "height": 34.0 } }, "m_Slots": [ { "m_Id": "7f52e8e47ec743c88d8df283bbf7b4aa" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_Property": { "m_Id": "2f4370017d0047c8b8cf8a8ac3e4b40f" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.BlockNode", "m_ObjectId": "e9688707aa82491f9c0739f6559d4ddd", "m_Group": { "m_Id": "" }, "m_Name": "VertexDescription.Position", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": 0.0, "y": 0.0, "width": 0.0, "height": 0.0 } }, "m_Slots": [ { "m_Id": "86ab44a347d3496c9b6bc57be8512785" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_SerializedDescriptor": "VertexDescription.Position" } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot", "m_ObjectId": "fbe242cad76844e0a4763cf49ab4f7a0", "m_Id": 0, "m_DisplayName": "RGBA", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "RGBA", "m_StageCapability": 2, "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": [] }