2025-02-27 19:11:37 +01:00

908 lines
20 KiB
Plaintext

{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "17c035715c0a43ff8f6c711f649c2846",
"m_Properties": [
{
"m_Id": "630b37113c584396a60af9dedcfa6349"
}
],
"m_Keywords": [],
"m_Dropdowns": [],
"m_CategoryData": [
{
"m_Id": "500cefc11a414c64ad14e976909b1671"
}
],
"m_Nodes": [
{
"m_Id": "7f0051fa06064949bed9cf45e26b876c"
},
{
"m_Id": "3776135def8e4f40a32711a55606f6e2"
},
{
"m_Id": "1637587b195f43718d04586a75d6cf2c"
},
{
"m_Id": "419d9e27acf643ffa26244b6974146ca"
},
{
"m_Id": "ee6de51015fe4da3bde782edcb279981"
},
{
"m_Id": "adc128a12a0041a1a7a0437aaf6c213f"
},
{
"m_Id": "5f582d7a376a42d9beafb72e0cd8629b"
},
{
"m_Id": "73235eee2d43467791562984dc92e339"
}
],
"m_GroupDatas": [
{
"m_Id": "50a6bbc0a24e4a85a1fbcd067ba776e0"
}
],
"m_StickyNoteDatas": [],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "1637587b195f43718d04586a75d6cf2c"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "419d9e27acf643ffa26244b6974146ca"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "3776135def8e4f40a32711a55606f6e2"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "ee6de51015fe4da3bde782edcb279981"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "419d9e27acf643ffa26244b6974146ca"
},
"m_SlotId": 4
},
"m_InputSlot": {
"m_Node": {
"m_Id": "ee6de51015fe4da3bde782edcb279981"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "5f582d7a376a42d9beafb72e0cd8629b"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "7f0051fa06064949bed9cf45e26b876c"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "73235eee2d43467791562984dc92e339"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "adc128a12a0041a1a7a0437aaf6c213f"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "adc128a12a0041a1a7a0437aaf6c213f"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "5f582d7a376a42d9beafb72e0cd8629b"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "ee6de51015fe4da3bde782edcb279981"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "adc128a12a0041a1a7a0437aaf6c213f"
},
"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": "7f0051fa06064949bed9cf45e26b876c"
},
"m_ActiveTargets": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "00fef9738f334f6dada2c9bbe371038f",
"m_Id": 3,
"m_DisplayName": "B",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "0f2f266ed44e4c85bb8d2adaa78b8855",
"m_Id": 2,
"m_DisplayName": "G",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "G",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.ScreenPositionNode",
"m_ObjectId": "1637587b195f43718d04586a75d6cf2c",
"m_Group": {
"m_Id": "50a6bbc0a24e4a85a1fbcd067ba776e0"
},
"m_Name": "Screen Position",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -759.5,
"y": 30.249969482421876,
"width": 208.0,
"height": 312.9999694824219
}
},
"m_Slots": [
{
"m_Id": "bd4d3b5e74d244458d1c7e8fd5bfac46"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_ScreenSpaceType": 1
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "1c81f9c906874a8cb1dfd8258b48aab3",
"m_Id": 1,
"m_DisplayName": "R",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "R",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "265469a940bc4a4a905ed353e280b5a1",
"m_Id": 1,
"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": "2ddfaec2d6b449a9ab1bfd8ad4184ac3",
"m_Id": 0,
"m_DisplayName": "In",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "In",
"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.SceneDepthNode",
"m_ObjectId": "3776135def8e4f40a32711a55606f6e2",
"m_Group": {
"m_Id": "50a6bbc0a24e4a85a1fbcd067ba776e0"
},
"m_Name": "Scene Depth",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -699.5,
"y": -242.75,
"width": 145.0,
"height": 112.00003051757813
}
},
"m_Slots": [
{
"m_Id": "688f151a0b474c46b738710788e47560"
},
{
"m_Id": "5c51936e0f514b4c8bd46f929a958bb5"
}
],
"synonyms": [
"zbuffer",
"zdepth"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_DepthSamplingMode": 2
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SplitNode",
"m_ObjectId": "419d9e27acf643ffa26244b6974146ca",
"m_Group": {
"m_Id": "50a6bbc0a24e4a85a1fbcd067ba776e0"
},
"m_Name": "Split",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -430.5,
"y": 66.24996948242188,
"width": 120.0,
"height": 149.00009155273438
}
},
"m_Slots": [
{
"m_Id": "2ddfaec2d6b449a9ab1bfd8ad4184ac3"
},
{
"m_Id": "1c81f9c906874a8cb1dfd8258b48aab3"
},
{
"m_Id": "0f2f266ed44e4c85bb8d2adaa78b8855"
},
{
"m_Id": "00fef9738f334f6dada2c9bbe371038f"
},
{
"m_Id": "d6665fb8db634dfb9ba553c9ad67a9ce"
}
],
"synonyms": [
"separate"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.CategoryData",
"m_ObjectId": "500cefc11a414c64ad14e976909b1671",
"m_Name": "",
"m_ChildObjectList": [
{
"m_Id": "630b37113c584396a60af9dedcfa6349"
}
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.GroupData",
"m_ObjectId": "50a6bbc0a24e4a85a1fbcd067ba776e0",
"m_Title": "Depth & Water Color",
"m_Position": {
"x": -5080.0,
"y": -42.999755859375
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "5c51936e0f514b4c8bd46f929a958bb5",
"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": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "5dfb4c149e044c81a8d7aa6729b2d8eb",
"m_Id": 0,
"m_DisplayName": "In",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "In",
"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.SaturateNode",
"m_ObjectId": "5f582d7a376a42d9beafb72e0cd8629b",
"m_Group": {
"m_Id": "50a6bbc0a24e4a85a1fbcd067ba776e0"
},
"m_Name": "Saturate",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 543.0,
"y": -54.0,
"width": 208.0,
"height": 277.9999694824219
}
},
"m_Slots": [
{
"m_Id": "5dfb4c149e044c81a8d7aa6729b2d8eb"
},
{
"m_Id": "265469a940bc4a4a905ed353e280b5a1"
}
],
"synonyms": [
"clamp"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
"m_ObjectId": "630b37113c584396a60af9dedcfa6349",
"m_Guid": {
"m_GuidSerialized": "5113046f-1686-4134-8a5f-0fb7b244bf55"
},
"m_Name": "Distance",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "Distance",
"m_DefaultReferenceName": "_Distance",
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "66016a3ad21f4bc483f5a10818a39107",
"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.ScreenPositionMaterialSlot",
"m_ObjectId": "688f151a0b474c46b738710788e47560",
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "6af766dc81174bdca545fc96caa27bf4",
"m_Id": 0,
"m_DisplayName": "A",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "A",
"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": "73235eee2d43467791562984dc92e339",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 103.5,
"y": 140.2499542236328,
"width": 0.0,
"height": 0.0
}
},
"m_Slots": [
{
"m_Id": "c0f04df813624e35bd1dd07425754558"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "630b37113c584396a60af9dedcfa6349"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode",
"m_ObjectId": "7f0051fa06064949bed9cf45e26b876c",
"m_Group": {
"m_Id": ""
},
"m_Name": "Output",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 855.5,
"y": 0.0,
"width": 0.0,
"height": 0.0
}
},
"m_Slots": [
{
"m_Id": "80a27fd2c1f747b39a4d8107490d7ab0"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"IsFirstSlotValid": true
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "80a27fd2c1f747b39a4d8107490d7ab0",
"m_Id": 1,
"m_DisplayName": "Out_Vector1",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "OutVector1",
"m_StageCapability": 2,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "821ef35750bc455ca5bd304926b1d2d7",
"m_Id": 1,
"m_DisplayName": "B",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "a51fbfb280374d8da37508acc5630585",
"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.DivideNode",
"m_ObjectId": "adc128a12a0041a1a7a0437aaf6c213f",
"m_Group": {
"m_Id": "50a6bbc0a24e4a85a1fbcd067ba776e0"
},
"m_Name": "Divide",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 253.5,
"y": -40.75004577636719,
"width": 208.0,
"height": 302.0
}
},
"m_Slots": [
{
"m_Id": "a51fbfb280374d8da37508acc5630585"
},
{
"m_Id": "e1625d7e05464ad98e688c018a98edd6"
},
{
"m_Id": "cea7cb0fbdb543cf85f7f5bfd03e4e3f"
}
],
"synonyms": [
"division",
"divided by"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "bd4d3b5e74d244458d1c7e8fd5bfac46",
"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.Vector1MaterialSlot",
"m_ObjectId": "c0f04df813624e35bd1dd07425754558",
"m_Id": 0,
"m_DisplayName": "Distance",
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "cea7cb0fbdb543cf85f7f5bfd03e4e3f",
"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.Vector1MaterialSlot",
"m_ObjectId": "d6665fb8db634dfb9ba553c9ad67a9ce",
"m_Id": 4,
"m_DisplayName": "A",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "A",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "e1625d7e05464ad98e688c018a98edd6",
"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": 0,
"m_Type": "UnityEditor.ShaderGraph.SubtractNode",
"m_ObjectId": "ee6de51015fe4da3bde782edcb279981",
"m_Group": {
"m_Id": "50a6bbc0a24e4a85a1fbcd067ba776e0"
},
"m_Name": "Subtract",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -181.5,
"y": -97.75006103515625,
"width": 208.0,
"height": 302.0
}
},
"m_Slots": [
{
"m_Id": "6af766dc81174bdca545fc96caa27bf4"
},
{
"m_Id": "821ef35750bc455ca5bd304926b1d2d7"
},
{
"m_Id": "66016a3ad21f4bc483f5a10818a39107"
}
],
"synonyms": [
"subtraction",
"remove",
"minus",
"take away"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}