OldBlueWater/BlueWater/Assets/StylizedWater2/Shaders/Underwater/ShaderGraph/Shade Underwater Material.shadersubgraph
2023-12-14 23:58:32 +09:00

1716 lines
38 KiB
Plaintext

{
"m_SGVersion": 2,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "5ccc10462d93442d832ffa5a787b57dc",
"m_Properties": [
{
"m_Id": "5c289d2214114bbd88d221bf3dfce9ae"
},
{
"m_Id": "182d7069b82542a498db47fe89711e6f"
},
{
"m_Id": "32714739a0ae4126995a4c8dc525eb86"
}
],
"m_Keywords": [],
"m_Nodes": [
{
"m_Id": "21d2db0009e244df81c61997481bb659"
},
{
"m_Id": "fd0ffe6a46b64ff496acd3ed7d8db98d"
},
{
"m_Id": "6ba5804e06c14e9f885e0e6055e3863e"
},
{
"m_Id": "0c52b293dcb34ca7ad7add2a68bd5fff"
},
{
"m_Id": "8f392f8a84ce4a1eb592e2a3922e97f3"
},
{
"m_Id": "ae9e814a06224c6a97de0c14df0961c0"
},
{
"m_Id": "7b68778fb3184248a5f656a47d39c31d"
},
{
"m_Id": "668b13a8a1774833aa573328e349e8c9"
},
{
"m_Id": "749b637b6dc2413d88807c46bc44b176"
},
{
"m_Id": "aa6783547aa948caa07c34ec15915c56"
},
{
"m_Id": "baf348dd27424e949038531115885aa7"
},
{
"m_Id": "dcebc70c416b4aa2bd1d58d7ce4f9de0"
}
],
"m_GroupDatas": [],
"m_StickyNoteDatas": [
{
"m_Id": "d5df2952b044417baa66d6470bb0d179"
}
],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "0c52b293dcb34ca7ad7add2a68bd5fff"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "21d2db0009e244df81c61997481bb659"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "668b13a8a1774833aa573328e349e8c9"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "749b637b6dc2413d88807c46bc44b176"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "6ba5804e06c14e9f885e0e6055e3863e"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "fd0ffe6a46b64ff496acd3ed7d8db98d"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "749b637b6dc2413d88807c46bc44b176"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "0c52b293dcb34ca7ad7add2a68bd5fff"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "749b637b6dc2413d88807c46bc44b176"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "21d2db0009e244df81c61997481bb659"
},
"m_SlotId": 4
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "749b637b6dc2413d88807c46bc44b176"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "7b68778fb3184248a5f656a47d39c31d"
},
"m_SlotId": 2
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "749b637b6dc2413d88807c46bc44b176"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "fd0ffe6a46b64ff496acd3ed7d8db98d"
},
"m_SlotId": 2
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "7b68778fb3184248a5f656a47d39c31d"
},
"m_SlotId": 3
},
"m_InputSlot": {
"m_Node": {
"m_Id": "21d2db0009e244df81c61997481bb659"
},
"m_SlotId": 3
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "8f392f8a84ce4a1eb592e2a3922e97f3"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "6ba5804e06c14e9f885e0e6055e3863e"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "8f392f8a84ce4a1eb592e2a3922e97f3"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "fd0ffe6a46b64ff496acd3ed7d8db98d"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "aa6783547aa948caa07c34ec15915c56"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "0c52b293dcb34ca7ad7add2a68bd5fff"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "aa6783547aa948caa07c34ec15915c56"
},
"m_SlotId": 3
},
"m_InputSlot": {
"m_Node": {
"m_Id": "dcebc70c416b4aa2bd1d58d7ce4f9de0"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "ae9e814a06224c6a97de0c14df0961c0"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "aa6783547aa948caa07c34ec15915c56"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "baf348dd27424e949038531115885aa7"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "aa6783547aa948caa07c34ec15915c56"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "dcebc70c416b4aa2bd1d58d7ce4f9de0"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "21d2db0009e244df81c61997481bb659"
},
"m_SlotId": 5
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "dcebc70c416b4aa2bd1d58d7ce4f9de0"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "6ba5804e06c14e9f885e0e6055e3863e"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "fd0ffe6a46b64ff496acd3ed7d8db98d"
},
"m_SlotId": 3
},
"m_InputSlot": {
"m_Node": {
"m_Id": "21d2db0009e244df81c61997481bb659"
},
"m_SlotId": 2
}
}
],
"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": ""
}
},
"m_Path": "Sub Graphs",
"m_ConcretePrecision": 0,
"m_PreviewMode": 2,
"m_OutputNode": {
"m_Id": "21d2db0009e244df81c61997481bb659"
},
"m_ActiveTargets": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.MultiplyNode",
"m_ObjectId": "0c52b293dcb34ca7ad7add2a68bd5fff",
"m_Group": {
"m_Id": ""
},
"m_Name": "Multiply",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -305.0,
"y": -123.0,
"width": 130.0,
"height": 118.0
}
},
"m_Slots": [
{
"m_Id": "0e5d15dd46b04e7895bcf4ae7daace64"
},
{
"m_Id": "7f34b842448a4298a51a02fe0d7c4a21"
},
{
"m_Id": "8c4dd44514984af4a9e32ff63356ebc7"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
"m_ObjectId": "0ced451109a2428f93dea39a31d0a2aa",
"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.DynamicValueMaterialSlot",
"m_ObjectId": "0e5d15dd46b04e7895bcf4ae7daace64",
"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": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
"m_ObjectId": "182d7069b82542a498db47fe89711e6f",
"m_Guid": {
"m_GuidSerialized": "e8bc3920-e2f1-4c3b-bf3b-dc01671c8b55"
},
"m_Name": "Alpha",
"m_DefaultReferenceName": "Vector1_182d7069b82542a498db47fe89711e6f",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"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.Vector3MaterialSlot",
"m_ObjectId": "1cfe651e7fec44d1b51b0d020c294053",
"m_Id": 0,
"m_DisplayName": "inEmission",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "inEmission",
"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.SubGraphOutputNode",
"m_ObjectId": "21d2db0009e244df81c61997481bb659",
"m_Group": {
"m_Id": ""
},
"m_Name": "Output",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 120.0,
"y": -99.0,
"width": 120.0,
"height": 77.0
}
},
"m_Slots": [
{
"m_Id": "89d9742bf5764d82ac3a5f21812f65e0"
},
{
"m_Id": "43affd86407d406e8be1f093703ee979"
},
{
"m_Id": "293bb8e76d594bf1b96e82a5f4ccf508"
},
{
"m_Id": "fe166bb479834613b30b50ac57e77f0f"
},
{
"m_Id": "d309301605bc456dafe33fbf41d9e2e6"
}
],
"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": "293bb8e76d594bf1b96e82a5f4ccf508",
"m_Id": 2,
"m_DisplayName": "Alpha",
"m_SlotType": 0,
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "2f1d04843da24779861373eafdb77c6d",
"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": "318ac118e40e421893db27ac2ed76cf6",
"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": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector3ShaderProperty",
"m_ObjectId": "32714739a0ae4126995a4c8dc525eb86",
"m_Guid": {
"m_GuidSerialized": "47e5ffa6-20f8-417c-b5fa-81beace0e6a2"
},
"m_Name": "World Position",
"m_DefaultReferenceName": "Vector3_32714739a0ae4126995a4c8dc525eb86",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "3c04cc8c27ef4813ab749ecb14c8310b",
"m_Id": 2,
"m_DisplayName": "T",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "T",
"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": "43affd86407d406e8be1f093703ee979",
"m_Id": 3,
"m_DisplayName": "Occlusion",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Occlusion",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "4c1bd51b17c945c4aba626ba9c5aa095",
"m_Id": 0,
"m_DisplayName": "Alpha",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector3ShaderProperty",
"m_ObjectId": "5c289d2214114bbd88d221bf3dfce9ae",
"m_Guid": {
"m_GuidSerialized": "57f68973-f80b-44d2-bd43-da3363d2b112"
},
"m_Name": "Input Emission",
"m_DefaultReferenceName": "Vector3_5c289d2214114bbd88d221bf3dfce9ae",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"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.Vector4MaterialSlot",
"m_ObjectId": "5c2c985930b142f098850682e830b661",
"m_Id": 0,
"m_DisplayName": "screenPos",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "screenPos",
"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": "5f1032f88fab430e840f33b3c84d9207",
"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.Vector3MaterialSlot",
"m_ObjectId": "621353b98cb74103b5dc074e8cd58c6c",
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "649671b8d6ca4945ab11a755733a0a1a",
"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.ScreenPositionNode",
"m_ObjectId": "668b13a8a1774833aa573328e349e8c9",
"m_Group": {
"m_Id": ""
},
"m_Name": "Screen Position",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -875.0,
"y": 335.0,
"width": 145.0,
"height": 130.0
}
},
"m_Slots": [
{
"m_Id": "721bc53ae6044e85a9d22e1fc06daa04"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_ScreenSpaceType": 1
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.MultiplyNode",
"m_ObjectId": "6ba5804e06c14e9f885e0e6055e3863e",
"m_Group": {
"m_Id": ""
},
"m_Name": "Multiply",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -522.0,
"y": 136.0,
"width": 126.0,
"height": 118.0
}
},
"m_Slots": [
{
"m_Id": "6e2e2c08a5f54f01bcdabd4ac5139f9a"
},
{
"m_Id": "0ced451109a2428f93dea39a31d0a2aa"
},
{
"m_Id": "731d3f4b025e4509b6e1572cba80040d"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
"m_ObjectId": "6e2e2c08a5f54f01bcdabd4ac5139f9a",
"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.Vector4MaterialSlot",
"m_ObjectId": "721bc53ae6044e85a9d22e1fc06daa04",
"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.DynamicValueMaterialSlot",
"m_ObjectId": "731d3f4b025e4509b6e1572cba80040d",
"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": 1,
"m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode",
"m_ObjectId": "749b637b6dc2413d88807c46bc44b176",
"m_Group": {
"m_Id": ""
},
"m_Name": "SampleUnderwaterMask (Custom Function)",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -668.0,
"y": 335.0,
"width": 292.0,
"height": 94.0
}
},
"m_Slots": [
{
"m_Id": "5c2c985930b142f098850682e830b661"
},
{
"m_Id": "850cc96a6bbc4cec832e304bdf16de45"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SourceType": 0,
"m_FunctionName": "SampleUnderwaterMask",
"m_FunctionSource": "6c1796a4e48d45c5881be10506a62222",
"m_FunctionBody": "Enter function body here..."
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "78fbc78e1a5341e799196547be211e0d",
"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": 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.LerpNode",
"m_ObjectId": "7b68778fb3184248a5f656a47d39c31d",
"m_Group": {
"m_Id": ""
},
"m_Name": "Lerp",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -203.00006103515626,
"y": 276.0,
"width": 126.0,
"height": 142.0
}
},
"m_Slots": [
{
"m_Id": "94d28cdcd9e44254a08b2fd68d0bb9ac"
},
{
"m_Id": "78fbc78e1a5341e799196547be211e0d"
},
{
"m_Id": "fe15a1972b774debbd1453da0ef4930a"
},
{
"m_Id": "2f1d04843da24779861373eafdb77c6d"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
"m_ObjectId": "7f34b842448a4298a51a02fe0d7c4a21",
"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.Vector1MaterialSlot",
"m_ObjectId": "850cc96a6bbc4cec832e304bdf16de45",
"m_Id": 1,
"m_DisplayName": "mask",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "mask",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": [
"X"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "89d9742bf5764d82ac3a5f21812f65e0",
"m_Id": 1,
"m_DisplayName": "Fog_Color_Emission",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Fog_Color_Emission",
"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.DynamicValueMaterialSlot",
"m_ObjectId": "8c4dd44514984af4a9e32ff63356ebc7",
"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.PropertyNode",
"m_ObjectId": "8f392f8a84ce4a1eb592e2a3922e97f3",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -925.0,
"y": 77.0,
"width": 106.0,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "4c1bd51b17c945c4aba626ba9c5aa095"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "182d7069b82542a498db47fe89711e6f"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "94d28cdcd9e44254a08b2fd68d0bb9ac",
"m_Id": 0,
"m_DisplayName": "A",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "A",
"m_StageCapability": 3,
"m_Value": {
"x": 1.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": "9cf6a40ca1cb45808ae564429abf4803",
"m_Id": 0,
"m_DisplayName": "In",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "In",
"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.Vector3MaterialSlot",
"m_ObjectId": "aa1b4064706b48829d0bb4ca027dff31",
"m_Id": 0,
"m_DisplayName": "Input Emission",
"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": "aa6783547aa948caa07c34ec15915c56",
"m_Group": {
"m_Id": ""
},
"m_Name": "ApplyUnderwaterShading (Custom Function)",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -925.0,
"y": -140.0,
"width": 297.0,
"height": 118.0
}
},
"m_Slots": [
{
"m_Id": "decc16437ccc4154905c8b7902cc59da"
},
{
"m_Id": "ca5f6958521b46d1abe63326c260fa14"
},
{
"m_Id": "1cfe651e7fec44d1b51b0d020c294053"
},
{
"m_Id": "f833b7eb5b84404597a6c282dd9d7900"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SourceType": 0,
"m_FunctionName": "ApplyUnderwaterShading",
"m_FunctionSource": "6c1796a4e48d45c5881be10506a62222",
"m_FunctionBody": "Enter function body here..."
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "ae9e814a06224c6a97de0c14df0961c0",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1128.0,
"y": -56.0,
"width": 155.0,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "621353b98cb74103b5dc074e8cd58c6c"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "32714739a0ae4126995a4c8dc525eb86"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "baf348dd27424e949038531115885aa7",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1110.0,
"y": -116.0,
"width": 126.0,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "aa1b4064706b48829d0bb4ca027dff31"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "5c289d2214114bbd88d221bf3dfce9ae"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "c1a1bdda753d47858eb8f39e18bf2b65",
"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.Vector1MaterialSlot",
"m_ObjectId": "ca5f6958521b46d1abe63326c260fa14",
"m_Id": 3,
"m_DisplayName": "density",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "density",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": [
"X"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "d309301605bc456dafe33fbf41d9e2e6",
"m_Id": 5,
"m_DisplayName": "Fog_Density_Inverse",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Fog_Density_Inverse",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
"m_ObjectId": "d5df2952b044417baa66d6470bb0d179",
"m_Title": "Usage",
"m_Content": "This sub-graph can apply the fog color to the input emission.\n\nAnd/or modify the Alpha to fade into the underwater fog\n\nBut, it also outputs the underwater mask and fog density, so these operations can be done manually. Or used in other othgic!",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -558.0,
"y": -325.0,
"width": 431.0,
"height": 141.0
},
"m_Group": {
"m_Id": ""
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.OneMinusNode",
"m_ObjectId": "dcebc70c416b4aa2bd1d58d7ce4f9de0",
"m_Group": {
"m_Id": ""
},
"m_Name": "One Minus",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -586.0,
"y": -35.0,
"width": 128.0,
"height": 94.0
}
},
"m_Slots": [
{
"m_Id": "9cf6a40ca1cb45808ae564429abf4803"
},
{
"m_Id": "c1a1bdda753d47858eb8f39e18bf2b65"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "decc16437ccc4154905c8b7902cc59da",
"m_Id": 2,
"m_DisplayName": "outEmission",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "outEmission",
"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.Vector3MaterialSlot",
"m_ObjectId": "f833b7eb5b84404597a6c282dd9d7900",
"m_Id": 1,
"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": [
"X",
"Y",
"Z"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.LerpNode",
"m_ObjectId": "fd0ffe6a46b64ff496acd3ed7d8db98d",
"m_Group": {
"m_Id": ""
},
"m_Name": "Lerp",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -301.0,
"y": 34.0,
"width": 126.0,
"height": 142.0
}
},
"m_Slots": [
{
"m_Id": "649671b8d6ca4945ab11a755733a0a1a"
},
{
"m_Id": "318ac118e40e421893db27ac2ed76cf6"
},
{
"m_Id": "3c04cc8c27ef4813ab749ecb14c8310b"
},
{
"m_Id": "5f1032f88fab430e840f33b3c84d9207"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "fe15a1972b774debbd1453da0ef4930a",
"m_Id": 2,
"m_DisplayName": "T",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "T",
"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": "fe166bb479834613b30b50ac57e77f0f",
"m_Id": 4,
"m_DisplayName": "Underwater_Mask",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Underwater_Mask",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}