ProjectDDD/Packages/com.distantlands.cozy.core/Runtime/Shaders/Shader Graph/Stylized Fog Blend.shadersubgraph
2025-07-08 19:46:31 +09:00

449 lines
10 KiB
Plaintext

{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "f4a90a8d31c64ce0b68a0d483677e6b4",
"m_Properties": [
{
"m_Id": "4a776586dcc844b29a029e6cd5ad650b"
}
],
"m_Keywords": [],
"m_Dropdowns": [],
"m_CategoryData": [
{
"m_Id": "4b8f90bd38b2481ca1c280bcd3bf8159"
}
],
"m_Nodes": [
{
"m_Id": "c90ca3baa2e84fe1b4d1bc09aa281351"
},
{
"m_Id": "2c968b49e2f84eceb0f3515c69ecc490"
},
{
"m_Id": "9333e7c0df5649bfa0640ba0bed32445"
},
{
"m_Id": "aa12b40160024f48aada1822233899d2"
}
],
"m_GroupDatas": [],
"m_StickyNoteDatas": [],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "2c968b49e2f84eceb0f3515c69ecc490"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "c90ca3baa2e84fe1b4d1bc09aa281351"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "9333e7c0df5649bfa0640ba0bed32445"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "2c968b49e2f84eceb0f3515c69ecc490"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "aa12b40160024f48aada1822233899d2"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "2c968b49e2f84eceb0f3515c69ecc490"
},
"m_SlotId": 1
}
}
],
"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": "c90ca3baa2e84fe1b4d1bc09aa281351"
},
"m_SubDatas": [],
"m_ActiveTargets": []
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode",
"m_ObjectId": "2c968b49e2f84eceb0f3515c69ecc490",
"m_Group": {
"m_Id": ""
},
"m_Name": "BlendStylizedFog (Custom Function)",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -307.5,
"y": 4.0,
"width": 208.0,
"height": 246.0
}
},
"m_Slots": [
{
"m_Id": "5e1dcb3ee9ab4aa4aeb843a636a15c8c"
},
{
"m_Id": "fbb66ce89fad496a8b8692e0796ad282"
},
{
"m_Id": "5ea2815367b24ca28dd2e7fc4f5a8d1e"
}
],
"synonyms": [
"code",
"HLSL"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SourceType": 0,
"m_FunctionName": "BlendStylizedFog",
"m_FunctionSource": "92e8e83e086df884988dc781f367db3d",
"m_FunctionBody": "Enter function body here..."
}
{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.Internal.ColorShaderProperty",
"m_ObjectId": "4a776586dcc844b29a029e6cd5ad650b",
"m_Guid": {
"m_GuidSerialized": "ebe57b0a-e5fc-4b4e-a160-70dc0c4041c5"
},
"m_Name": "Scene Color",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "Scene Color",
"m_DefaultReferenceName": "_Scene_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": {
"r": 1.0,
"g": 1.0,
"b": 1.0,
"a": 0.0
},
"isMainColor": false,
"m_ColorMode": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.CategoryData",
"m_ObjectId": "4b8f90bd38b2481ca1c280bcd3bf8159",
"m_Name": "",
"m_ChildObjectList": [
{
"m_Id": "4a776586dcc844b29a029e6cd5ad650b"
}
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "5e1dcb3ee9ab4aa4aeb843a636a15c8c",
"m_Id": 0,
"m_DisplayName": "worldPos",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "worldPos",
"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.Vector4MaterialSlot",
"m_ObjectId": "5ea2815367b24ca28dd2e7fc4f5a8d1e",
"m_Id": 2,
"m_DisplayName": "outColor",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "outColor",
"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": "77aa556916a345668d5f4d2bfa4aec76",
"m_Id": 0,
"m_DisplayName": "Scene 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": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "920bbcac45c44a33ba8ba074d49bda36",
"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": []
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.PositionNode",
"m_ObjectId": "9333e7c0df5649bfa0640ba0bed32445",
"m_Group": {
"m_Id": ""
},
"m_Name": "Position",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -674.0,
"y": -96.5,
"width": 205.99996948242188,
"height": 130.5
}
},
"m_Slots": [
{
"m_Id": "920bbcac45c44a33ba8ba074d49bda36"
}
],
"synonyms": [
"location"
],
"m_Precision": 1,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 2,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Space": 2,
"m_PositionSource": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "aa12b40160024f48aada1822233899d2",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -549.5,
"y": 95.00001525878906,
"width": 140.5,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "77aa556916a345668d5f4d2bfa4aec76"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "4a776586dcc844b29a029e6cd5ad650b"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode",
"m_ObjectId": "c90ca3baa2e84fe1b4d1bc09aa281351",
"m_Group": {
"m_Id": ""
},
"m_Name": "Output",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -36.499969482421878,
"y": 4.000001430511475,
"width": 120.50001525878906,
"height": 77.00000762939453
}
},
"m_Slots": [
{
"m_Id": "ceb361f73d94457aaecd794e57fa70c0"
}
],
"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.Vector4MaterialSlot",
"m_ObjectId": "ceb361f73d94457aaecd794e57fa70c0",
"m_Id": 1,
"m_DisplayName": "Out_Vector4",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "OutVector4",
"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": "fbb66ce89fad496a8b8692e0796ad282",
"m_Id": 1,
"m_DisplayName": "inColor",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "inColor",
"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": []
}