KopMap/Assets/WaterWorks/Shaders/WaterDepthToWorldPos.shadersubgraph
2025-04-03 02:30:16 +08:00

1552 lines
35 KiB
Plaintext

{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "20226bc9193d402bb1a9d40eb7e45dc3",
"m_Properties": [
{
"m_Id": "d629f9e81ac2497eb0b8748f9fc5fcf9"
},
{
"m_Id": "44600280f4b64a3dad26b43ecc25826c"
}
],
"m_Keywords": [],
"m_Dropdowns": [],
"m_CategoryData": [
{
"m_Id": "14dfc4e1ca0f483096321f4a5d959888"
}
],
"m_Nodes": [
{
"m_Id": "0347ab4c59754eee9be9bac922bdce5d"
},
{
"m_Id": "f05c2c9962d44d9ba0941245bb8939b4"
},
{
"m_Id": "4d4b13130e6b426aa70617bdc04735e4"
},
{
"m_Id": "15de1d4606494133b06fe8315d37f93b"
},
{
"m_Id": "06a41f68c60a409fb54072e1b67d26fe"
},
{
"m_Id": "387b1ec6847e4fed8b4ceeb22ea8036c"
},
{
"m_Id": "d1da2012fccf4b729ce67fac0a8fa520"
},
{
"m_Id": "6e5b76a0b08f4f4987ccfe7b93614a96"
},
{
"m_Id": "0de2042a676f48348247930ca4d8f412"
},
{
"m_Id": "6a9995126ca34e7d9bd33aaff592aca0"
},
{
"m_Id": "9dca11b3934b4ce7afc140fb052e5feb"
},
{
"m_Id": "98b0109a4ddb491e92e9884c8b506d68"
}
],
"m_GroupDatas": [
{
"m_Id": "e66956d6ad94464cb385fa76a3f68a28"
}
],
"m_StickyNoteDatas": [],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "06a41f68c60a409fb54072e1b67d26fe"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "387b1ec6847e4fed8b4ceeb22ea8036c"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "06a41f68c60a409fb54072e1b67d26fe"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "15de1d4606494133b06fe8315d37f93b"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "0de2042a676f48348247930ca4d8f412"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "6a9995126ca34e7d9bd33aaff592aca0"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "15de1d4606494133b06fe8315d37f93b"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "6e5b76a0b08f4f4987ccfe7b93614a96"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "387b1ec6847e4fed8b4ceeb22ea8036c"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "0347ab4c59754eee9be9bac922bdce5d"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "4d4b13130e6b426aa70617bdc04735e4"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "15de1d4606494133b06fe8315d37f93b"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "4d4b13130e6b426aa70617bdc04735e4"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "6e5b76a0b08f4f4987ccfe7b93614a96"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "6a9995126ca34e7d9bd33aaff592aca0"
},
"m_SlotId": 3
},
"m_InputSlot": {
"m_Node": {
"m_Id": "f05c2c9962d44d9ba0941245bb8939b4"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "6e5b76a0b08f4f4987ccfe7b93614a96"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "d1da2012fccf4b729ce67fac0a8fa520"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "98b0109a4ddb491e92e9884c8b506d68"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "6a9995126ca34e7d9bd33aaff592aca0"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "9dca11b3934b4ce7afc140fb052e5feb"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "6a9995126ca34e7d9bd33aaff592aca0"
},
"m_SlotId": 2
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "d1da2012fccf4b729ce67fac0a8fa520"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "387b1ec6847e4fed8b4ceeb22ea8036c"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "f05c2c9962d44d9ba0941245bb8939b4"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "d1da2012fccf4b729ce67fac0a8fa520"
},
"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": "0347ab4c59754eee9be9bac922bdce5d"
},
"m_ActiveTargets": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode",
"m_ObjectId": "0347ab4c59754eee9be9bac922bdce5d",
"m_Group": {
"m_Id": ""
},
"m_Name": "Output",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 454.0,
"y": 63.0,
"width": 121.0,
"height": 77.00003051757813
}
},
"m_Slots": [
{
"m_Id": "ab6ee1d7fdde4d1d9a040250d7b7573c"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"IsFirstSlotValid": true
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.CameraNode",
"m_ObjectId": "06a41f68c60a409fb54072e1b67d26fe",
"m_Group": {
"m_Id": "e66956d6ad94464cb385fa76a3f68a28"
},
"m_Name": "Camera",
"m_DrawState": {
"m_Expanded": false,
"m_Position": {
"serializedVersion": "2",
"x": -347.99993896484377,
"y": 63.99997329711914,
"width": 101.99998474121094,
"height": 101.00004577636719
}
},
"m_Slots": [
{
"m_Id": "9edd12ca13f84d63a865b61fafd0593d"
},
{
"m_Id": "d320cfb89afc46bea767c8d64f87166f"
},
{
"m_Id": "94126dde8191455abafb175bf98e18c2"
},
{
"m_Id": "95b4b26fa3064c4bb186278516a11ed2"
},
{
"m_Id": "8b4d2917f2e74a5184a81925d02df463"
},
{
"m_Id": "ed62711fc56c4651a2670406e590c8dd"
},
{
"m_Id": "69cef38135b14d69bed5fa9ea9d957a6"
},
{
"m_Id": "9d89a49b2e4c47dba671d791ba636f7c"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "0a5a36307d4349e38636ada6c190d7e0",
"m_Id": 1,
"m_DisplayName": "True",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "True",
"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.PropertyNode",
"m_ObjectId": "0de2042a676f48348247930ca4d8f412",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -449.5652770996094,
"y": -236.521728515625,
"width": 0.0,
"height": 0.0
}
},
"m_Slots": [
{
"m_Id": "7d0bc4f5980340eeb64538031fbcba2c"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "d629f9e81ac2497eb0b8748f9fc5fcf9"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BooleanMaterialSlot",
"m_ObjectId": "1113b1b4c5d049ba853bd76211535177",
"m_Id": 0,
"m_DisplayName": "UseUV",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": false,
"m_DefaultValue": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.CategoryData",
"m_ObjectId": "14dfc4e1ca0f483096321f4a5d959888",
"m_Name": "",
"m_ChildObjectList": [
{
"m_Id": "d629f9e81ac2497eb0b8748f9fc5fcf9"
},
{
"m_Id": "44600280f4b64a3dad26b43ecc25826c"
}
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DotProductNode",
"m_ObjectId": "15de1d4606494133b06fe8315d37f93b",
"m_Group": {
"m_Id": "e66956d6ad94464cb385fa76a3f68a28"
},
"m_Name": "Dot Product",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -192.0,
"y": -3.0,
"width": 127.99996948242188,
"height": 117.9998779296875
}
},
"m_Slots": [
{
"m_Id": "b20d617905c04e70a7da1792f0cb03f3"
},
{
"m_Id": "7cd8e0f9768e4a4697eef4f979037fde"
},
{
"m_Id": "a45c91921b7d443c839f11bab979dad4"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BooleanMaterialSlot",
"m_ObjectId": "1bdebbe7dbd94172b86b3a32a7f673c0",
"m_Id": 0,
"m_DisplayName": "Predicate",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Predicate",
"m_StageCapability": 3,
"m_Value": false,
"m_DefaultValue": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
"m_ObjectId": "22b558dcd7a84c58b66216ea772771c5",
"m_Id": 1,
"m_DisplayName": "B",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"m_StageCapability": 3,
"m_Value": {
"e00": 2.0,
"e01": 2.0,
"e02": 2.0,
"e03": 2.0,
"e10": 2.0,
"e11": 2.0,
"e12": 2.0,
"e13": 2.0,
"e20": 2.0,
"e21": 2.0,
"e22": 2.0,
"e23": 2.0,
"e30": 2.0,
"e31": 2.0,
"e32": 2.0,
"e33": 2.0
},
"m_DefaultValue": {
"e00": 1.0,
"e01": 0.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
"e11": 1.0,
"e12": 0.0,
"e13": 0.0,
"e20": 0.0,
"e21": 0.0,
"e22": 1.0,
"e23": 0.0,
"e30": 0.0,
"e31": 0.0,
"e32": 0.0,
"e33": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "268aec57c8944c98b7a563e0a0654aac",
"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.AddNode",
"m_ObjectId": "387b1ec6847e4fed8b4ceeb22ea8036c",
"m_Group": {
"m_Id": "e66956d6ad94464cb385fa76a3f68a28"
},
"m_Name": "Add",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 282.0,
"y": 62.9998779296875,
"width": 130.00006103515626,
"height": 118.0
}
},
"m_Slots": [
{
"m_Id": "4321ab621b624bc892dba564b0af6058"
},
{
"m_Id": "6e39b32b0a7e4e36b7be4eb3585c90f8"
},
{
"m_Id": "268aec57c8944c98b7a563e0a0654aac"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
"m_ObjectId": "3a8efc6ec0da43c1a0a2d4ba178f9c2c",
"m_Id": 0,
"m_DisplayName": "A",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "A",
"m_StageCapability": 3,
"m_Value": {
"e00": 0.0,
"e01": 0.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
"e11": 0.0,
"e12": 0.0,
"e13": 0.0,
"e20": 0.0,
"e21": 0.0,
"e22": 0.0,
"e23": 0.0,
"e30": 0.0,
"e31": 0.0,
"e32": 0.0,
"e33": 0.0
},
"m_DefaultValue": {
"e00": 1.0,
"e01": 0.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
"e11": 1.0,
"e12": 0.0,
"e13": 0.0,
"e20": 0.0,
"e21": 0.0,
"e22": 1.0,
"e23": 0.0,
"e30": 0.0,
"e31": 0.0,
"e32": 0.0,
"e33": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "3dbd12acf12d4e039c4ac5a5590182a6",
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "4321ab621b624bc892dba564b0af6058",
"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.Internal.BooleanShaderProperty",
"m_ObjectId": "44600280f4b64a3dad26b43ecc25826c",
"m_Guid": {
"m_GuidSerialized": "58dcb4db-79fa-457f-9194-89ef81080dbc"
},
"m_Name": "UseUV",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "UseUV",
"m_DefaultReferenceName": "_UseUV",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
"m_Hidden": false,
"m_Value": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "47f2c7d46cbd42f8ac73db1fb2b68330",
"m_Id": 1,
"m_DisplayName": "B",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"m_StageCapability": 3,
"m_Value": {
"x": 2.0,
"y": 2.0,
"z": 2.0,
"w": 2.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.ViewDirectionNode",
"m_ObjectId": "4d4b13130e6b426aa70617bdc04735e4",
"m_Group": {
"m_Id": "e66956d6ad94464cb385fa76a3f68a28"
},
"m_Name": "View Direction",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -450.0,
"y": -68.0001220703125,
"width": 205.99996948242188,
"height": 131.0
}
},
"m_Slots": [
{
"m_Id": "5f7bc55ba3bc4393b4e8d11c22af73ab"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_PreviewMode": 2,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Space": 2
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "5075f69c514c454fa2de4b0f247c283d",
"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.Vector3MaterialSlot",
"m_ObjectId": "5f7bc55ba3bc4393b4e8d11c22af73ab",
"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": [
"X",
"Y",
"Z"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "69cef38135b14d69bed5fa9ea9d957a6",
"m_Id": 6,
"m_DisplayName": "Width",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Width",
"m_StageCapability": 3,
"m_Value": 1.0,
"m_DefaultValue": 1.0,
"m_Labels": [
"X"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BranchNode",
"m_ObjectId": "6a9995126ca34e7d9bd33aaff592aca0",
"m_Group": {
"m_Id": "e66956d6ad94464cb385fa76a3f68a28"
},
"m_Name": "Branch",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -306.0,
"y": -274.0,
"width": 172.00003051757813,
"height": 142.0
}
},
"m_Slots": [
{
"m_Id": "1bdebbe7dbd94172b86b3a32a7f673c0"
},
{
"m_Id": "0a5a36307d4349e38636ada6c190d7e0"
},
{
"m_Id": "730975d4e7e64f34b8b9d5917eb7e8b0"
},
{
"m_Id": "3dbd12acf12d4e039c4ac5a5590182a6"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "6e39b32b0a7e4e36b7be4eb3585c90f8",
"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.DivideNode",
"m_ObjectId": "6e5b76a0b08f4f4987ccfe7b93614a96",
"m_Group": {
"m_Id": "e66956d6ad94464cb385fa76a3f68a28"
},
"m_Name": "Divide",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -36.00001525878906,
"y": -68.0001220703125,
"width": 130.00003051757813,
"height": 118.0001220703125
}
},
"m_Slots": [
{
"m_Id": "b39f889bb0084640a78bfca465357e45"
},
{
"m_Id": "47f2c7d46cbd42f8ac73db1fb2b68330"
},
{
"m_Id": "5075f69c514c454fa2de4b0f247c283d"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "72f9f7f2a2ea4f6780e1531a261311f7",
"m_Id": 1,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 2,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": [
"X"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "730975d4e7e64f34b8b9d5917eb7e8b0",
"m_Id": 2,
"m_DisplayName": "False",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "False",
"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.DynamicValueMaterialSlot",
"m_ObjectId": "77f09de7031543e581039d899077cc29",
"m_Id": 2,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": {
"e00": 0.0,
"e01": 0.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
"e11": 0.0,
"e12": 0.0,
"e13": 0.0,
"e20": 0.0,
"e21": 0.0,
"e22": 0.0,
"e23": 0.0,
"e30": 0.0,
"e31": 0.0,
"e32": 0.0,
"e33": 0.0
},
"m_DefaultValue": {
"e00": 1.0,
"e01": 0.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
"e11": 1.0,
"e12": 0.0,
"e13": 0.0,
"e20": 0.0,
"e21": 0.0,
"e22": 1.0,
"e23": 0.0,
"e30": 0.0,
"e31": 0.0,
"e32": 0.0,
"e33": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "7cd8e0f9768e4a4697eef4f979037fde",
"m_Id": 1,
"m_DisplayName": "B",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 1.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.Vector2MaterialSlot",
"m_ObjectId": "7d0bc4f5980340eeb64538031fbcba2c",
"m_Id": 0,
"m_DisplayName": "UV",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "8b4d2917f2e74a5184a81925d02df463",
"m_Id": 4,
"m_DisplayName": "Far Plane",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Far Plane",
"m_StageCapability": 3,
"m_Value": 1.0,
"m_DefaultValue": 1.0,
"m_Labels": [
"X"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "94126dde8191455abafb175bf98e18c2",
"m_Id": 2,
"m_DisplayName": "Orthographic",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Orthographic",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": [
"X"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "95b4b26fa3064c4bb186278516a11ed2",
"m_Id": 3,
"m_DisplayName": "Near Plane",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Near Plane",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": [
"X"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "98b0109a4ddb491e92e9884c8b506d68",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -456.3162536621094,
"y": -280.1019287109375,
"width": 0.0,
"height": 0.0
}
},
"m_Slots": [
{
"m_Id": "1113b1b4c5d049ba853bd76211535177"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "44600280f4b64a3dad26b43ecc25826c"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "9d89a49b2e4c47dba671d791ba636f7c",
"m_Id": 7,
"m_DisplayName": "Height",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Height",
"m_StageCapability": 3,
"m_Value": 1.0,
"m_DefaultValue": 1.0,
"m_Labels": [
"X"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.ScreenPositionNode",
"m_ObjectId": "9dca11b3934b4ce7afc140fb052e5feb",
"m_Group": {
"m_Id": "e66956d6ad94464cb385fa76a3f68a28"
},
"m_Name": "Screen Position",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -493.0,
"y": -203.0,
"width": 145.00003051757813,
"height": 129.0
}
},
"m_Slots": [
{
"m_Id": "b10cfc2e66bb44808a7fb8cce09f53ce"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_ScreenSpaceType": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "9edd12ca13f84d63a865b61fafd0593d",
"m_Id": 0,
"m_DisplayName": "Position",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Position",
"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": [
"X",
"Y",
"Z"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "a45c91921b7d443c839f11bab979dad4",
"m_Id": 2,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": [
"X"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "ab6ee1d7fdde4d1d9a040250d7b7573c",
"m_Id": 1,
"m_DisplayName": "WorldPos",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "WorldPos",
"m_StageCapability": 2,
"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.Vector4MaterialSlot",
"m_ObjectId": "b10cfc2e66bb44808a7fb8cce09f53ce",
"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,
"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": "b20d617905c04e70a7da1792f0cb03f3",
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "b39f889bb0084640a78bfca465357e45",
"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.ScreenPositionMaterialSlot",
"m_ObjectId": "bf26662bbb5c4b0bb0a25ebfc3af5d34",
"m_Id": 0,
"m_DisplayName": "UV",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "UV",
"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_ScreenSpaceType": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.MultiplyNode",
"m_ObjectId": "d1da2012fccf4b729ce67fac0a8fa520",
"m_Group": {
"m_Id": "e66956d6ad94464cb385fa76a3f68a28"
},
"m_Name": "Multiply",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 134.9999542236328,
"y": -92.0001220703125,
"width": 130.00003051757813,
"height": 118.0001220703125
}
},
"m_Slots": [
{
"m_Id": "3a8efc6ec0da43c1a0a2d4ba178f9c2c"
},
{
"m_Id": "22b558dcd7a84c58b66216ea772771c5"
},
{
"m_Id": "77f09de7031543e581039d899077cc29"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "d320cfb89afc46bea767c8d64f87166f",
"m_Id": 1,
"m_DisplayName": "Direction",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Direction",
"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": [
"X",
"Y",
"Z"
]
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector2ShaderProperty",
"m_ObjectId": "d629f9e81ac2497eb0b8748f9fc5fcf9",
"m_Guid": {
"m_GuidSerialized": "f009364e-6a53-442b-8ef6-eed418bf503c"
},
"m_Name": "UV",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "UV",
"m_DefaultReferenceName": "_UV",
"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.GroupData",
"m_ObjectId": "e66956d6ad94464cb385fa76a3f68a28",
"m_Title": "Depth to World Pos",
"m_Position": {
"x": -536.9999389648438,
"y": -311.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "ed62711fc56c4651a2670406e590c8dd",
"m_Id": 5,
"m_DisplayName": "Z Buffer Sign",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Z Buffer Sign",
"m_StageCapability": 3,
"m_Value": 1.0,
"m_DefaultValue": 1.0,
"m_Labels": [
"X"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SceneDepthNode",
"m_ObjectId": "f05c2c9962d44d9ba0941245bb8939b4",
"m_Group": {
"m_Id": "e66956d6ad94464cb385fa76a3f68a28"
},
"m_Name": "Scene Depth",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -84.99996185302735,
"y": -197.00006103515626,
"width": 144.9998779296875,
"height": 112.00006103515625
}
},
"m_Slots": [
{
"m_Id": "bf26662bbb5c4b0bb0a25ebfc3af5d34"
},
{
"m_Id": "72f9f7f2a2ea4f6780e1531a261311f7"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_DepthSamplingMode": 2
}