Project_WL/Assets/ThirdParty/Toon Shaders Pro/Shaders/Toon/Subgraphs/MixFog.shadersubgraph

585 lines
13 KiB
Plaintext

{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "82e12c414c1840b6b7db598958be3923",
"m_Properties": [
{
"m_Id": "af6b276699464e04bdfb6438cb767eee"
}
],
"m_Keywords": [],
"m_Dropdowns": [],
"m_CategoryData": [
{
"m_Id": "b2152924b2364977847700db9fea4408"
}
],
"m_Nodes": [
{
"m_Id": "4734355e9146428986917aada7b3c4f6"
},
{
"m_Id": "b33e9657da684569b4e6bb5e37d9d20a"
},
{
"m_Id": "d225c9523c8240a68146aa5b2bc1a4bc"
},
{
"m_Id": "1cfc6e94ccf542efb2d94a4a043976e7"
},
{
"m_Id": "cc8ff120bb94472c98d55fbd4b163e15"
}
],
"m_GroupDatas": [],
"m_StickyNoteDatas": [],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "1cfc6e94ccf542efb2d94a4a043976e7"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "cc8ff120bb94472c98d55fbd4b163e15"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "b33e9657da684569b4e6bb5e37d9d20a"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "4734355e9146428986917aada7b3c4f6"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "cc8ff120bb94472c98d55fbd4b163e15"
},
"m_SlotId": 3
},
"m_InputSlot": {
"m_Node": {
"m_Id": "b33e9657da684569b4e6bb5e37d9d20a"
},
"m_SlotId": 2
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "d225c9523c8240a68146aa5b2bc1a4bc"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "b33e9657da684569b4e6bb5e37d9d20a"
},
"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": "4734355e9146428986917aada7b3c4f6"
},
"m_ActiveTargets": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "0c718dfcd3d84194a0ce6f3d59524921",
"m_Id": 2,
"m_DisplayName": "FogFactor",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "FogFactor",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.ScreenPositionNode",
"m_ObjectId": "1cfc6e94ccf542efb2d94a4a043976e7",
"m_Group": {
"m_Id": ""
},
"m_Name": "Screen Position",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -912.0000610351563,
"y": -68.00001525878906,
"width": 208.0,
"height": 313.0
}
},
"m_Slots": [
{
"m_Id": "2f82f0aae58e42a38c7bf5cc7eea50ae"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_ScreenSpaceType": 1
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "2f82f0aae58e42a38c7bf5cc7eea50ae",
"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.Vector4MaterialSlot",
"m_ObjectId": "31161121adba4a619a47a83c2c7c92fb",
"m_Id": 1,
"m_DisplayName": "Color",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Color",
"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.Vector4MaterialSlot",
"m_ObjectId": "42db2faedcfd4d429bd8b6b17e0b8f3e",
"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_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode",
"m_ObjectId": "4734355e9146428986917aada7b3c4f6",
"m_Group": {
"m_Id": ""
},
"m_Name": "Output",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -162.00003051757813,
"y": -112.00001525878906,
"width": 86.00006103515625,
"height": 77.00003051757813
}
},
"m_Slots": [
{
"m_Id": "31161121adba4a619a47a83c2c7c92fb"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"IsFirstSlotValid": true
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "73607211efca4144ad076420d3bdc349",
"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.Vector1MaterialSlot",
"m_ObjectId": "76df5c11421949348389f16232ef8b3a",
"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": "8954aaf849aa483fa3832590ea174d6b",
"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": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector4ShaderProperty",
"m_ObjectId": "af6b276699464e04bdfb6438cb767eee",
"m_Guid": {
"m_GuidSerialized": "5da71204-b020-4eea-aa6a-08290975215c"
},
"m_Name": "Color",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "Color",
"m_DefaultReferenceName": "_Color",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
"m_DismissedVersion": 0,
"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.CategoryData",
"m_ObjectId": "b2152924b2364977847700db9fea4408",
"m_Name": "",
"m_ChildObjectList": [
{
"m_Id": "af6b276699464e04bdfb6438cb767eee"
}
]
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode",
"m_ObjectId": "b33e9657da684569b4e6bb5e37d9d20a",
"m_Group": {
"m_Id": ""
},
"m_Name": "MixUnityFog (Custom Function)",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -446.0,
"y": -112.0,
"width": 208.0,
"height": 302.0
}
},
"m_Slots": [
{
"m_Id": "c05f52fea6f84ddbbce09163e244bcdf"
},
{
"m_Id": "0c718dfcd3d84194a0ce6f3d59524921"
},
{
"m_Id": "42db2faedcfd4d429bd8b6b17e0b8f3e"
}
],
"synonyms": [
"code",
"HLSL"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SourceType": 0,
"m_FunctionName": "MixUnityFog",
"m_FunctionSource": "07999c08e2288f74786935b4a3a4e4ec",
"m_FunctionBody": "Out = MixFog(In.rgb)f"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "bcc658159de84055a7ffeb871ac65355",
"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.Vector4MaterialSlot",
"m_ObjectId": "c05f52fea6f84ddbbce09163e244bcdf",
"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_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "c0dc3e543ed24b538230ac3b38df6430",
"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.SplitNode",
"m_ObjectId": "cc8ff120bb94472c98d55fbd4b163e15",
"m_Group": {
"m_Id": ""
},
"m_Name": "Split",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -669.0000610351563,
"y": -68.00001525878906,
"width": 120.0,
"height": 148.99996948242188
}
},
"m_Slots": [
{
"m_Id": "8954aaf849aa483fa3832590ea174d6b"
},
{
"m_Id": "76df5c11421949348389f16232ef8b3a"
},
{
"m_Id": "73607211efca4144ad076420d3bdc349"
},
{
"m_Id": "c0dc3e543ed24b538230ac3b38df6430"
},
{
"m_Id": "bcc658159de84055a7ffeb871ac65355"
}
],
"synonyms": [
"separate"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "d225c9523c8240a68146aa5b2bc1a4bc",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -654.0000610351563,
"y": -129.0,
"width": 105.0,
"height": 34.00000762939453
}
},
"m_Slots": [
{
"m_Id": "fc8382ddf9b74747b7471f1f15dd37da"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "af6b276699464e04bdfb6438cb767eee"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "fc8382ddf9b74747b7471f1f15dd37da",
"m_Id": 0,
"m_DisplayName": "Color",
"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": []
}