{ "m_SGVersion": 3, "m_Type": "UnityEditor.ShaderGraph.GraphData", "m_ObjectId": "136c8f286f134282b180a0d4514cc9ae", "m_Properties": [ { "m_Id": "d9b6f0e354e74e2e84f424f0dd0e18ae" }, { "m_Id": "63dcbedc3fd046af9aa87436ae59c051" }, { "m_Id": "1ff0b3fd62ed446eb8b7b26f676f7f16" }, { "m_Id": "4e387d9da6c44155a682fb1158bbfc91" } ], "m_Keywords": [], "m_Dropdowns": [], "m_CategoryData": [ { "m_Id": "2e0c389d1d1243d79f06a4db7b718a98" } ], "m_Nodes": [ { "m_Id": "53d984ad3dd54b75856551567bb3d1e3" }, { "m_Id": "9c52532f55544fa2b9f8364998640ba8" }, { "m_Id": "a155e628ba4347e9a76a5a9adbcc1b5b" }, { "m_Id": "a02f221f177d4677bfce9304ac07e1ab" }, { "m_Id": "668ed78474c24e9aa2606cacaf3493bc" }, { "m_Id": "dea1064887454e05b6646516e354bfa7" } ], "m_GroupDatas": [], "m_StickyNoteDatas": [], "m_Edges": [ { "m_OutputSlot": { "m_Node": { "m_Id": "668ed78474c24e9aa2606cacaf3493bc" }, "m_SlotId": 0 }, "m_InputSlot": { "m_Node": { "m_Id": "9c52532f55544fa2b9f8364998640ba8" }, "m_SlotId": 3 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "9c52532f55544fa2b9f8364998640ba8" }, "m_SlotId": 2 }, "m_InputSlot": { "m_Node": { "m_Id": "53d984ad3dd54b75856551567bb3d1e3" }, "m_SlotId": 1 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "a02f221f177d4677bfce9304ac07e1ab" }, "m_SlotId": 0 }, "m_InputSlot": { "m_Node": { "m_Id": "9c52532f55544fa2b9f8364998640ba8" }, "m_SlotId": 4 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "a155e628ba4347e9a76a5a9adbcc1b5b" }, "m_SlotId": 0 }, "m_InputSlot": { "m_Node": { "m_Id": "9c52532f55544fa2b9f8364998640ba8" }, "m_SlotId": 0 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "dea1064887454e05b6646516e354bfa7" }, "m_SlotId": 0 }, "m_InputSlot": { "m_Node": { "m_Id": "9c52532f55544fa2b9f8364998640ba8" }, "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": "53d984ad3dd54b75856551567bb3d1e3" }, "m_ActiveTargets": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot", "m_ObjectId": "09cd1f18145744ba98c9c6a294cf7a77", "m_Id": 1, "m_DisplayName": "OUT", "m_SlotType": 0, "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": "1775123ee9074892afc3752ae7742fa5", "m_Id": 3, "m_DisplayName": "BUILTIN", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "BUILTIN", "m_StageCapability": 3, "m_Value": { "x": 0.0, "y": 0.0, "z": 1.0, "w": 1.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": "19ff58d2a50d4610a793ce28c01e845c", "m_Id": 0, "m_DisplayName": "URP", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "URP", "m_StageCapability": 3, "m_Value": { "x": 1.0, "y": 0.0, "z": 0.0, "w": 1.0 }, "m_DefaultValue": { "x": 0.0, "y": 0.0, "z": 0.0, "w": 0.0 }, "m_Labels": [] } { "m_SGVersion": 1, "m_Type": "UnityEditor.ShaderGraph.Internal.Vector4ShaderProperty", "m_ObjectId": "1ff0b3fd62ed446eb8b7b26f676f7f16", "m_Guid": { "m_GuidSerialized": "46b549e6-4dde-4ffb-9fbc-0ed9dd3dce2f" }, "m_Name": "BUILTIN", "m_DefaultRefNameVersion": 1, "m_RefNameGeneratedByDisplayName": "BUILTIN", "m_DefaultReferenceName": "_BUILTIN", "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.CategoryData", "m_ObjectId": "2e0c389d1d1243d79f06a4db7b718a98", "m_Name": "", "m_ChildObjectList": [ { "m_Id": "d9b6f0e354e74e2e84f424f0dd0e18ae" }, { "m_Id": "63dcbedc3fd046af9aa87436ae59c051" }, { "m_Id": "1ff0b3fd62ed446eb8b7b26f676f7f16" }, { "m_Id": "4e387d9da6c44155a682fb1158bbfc91" } ] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot", "m_ObjectId": "34966e21f01c4f668159e5ee53fe012f", "m_Id": 0, "m_DisplayName": "OTHER", "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": 1, "m_Type": "UnityEditor.ShaderGraph.Internal.Vector4ShaderProperty", "m_ObjectId": "4e387d9da6c44155a682fb1158bbfc91", "m_Guid": { "m_GuidSerialized": "6a97d1b0-ffc0-4958-806f-d602b8781714" }, "m_Name": "OTHER", "m_DefaultRefNameVersion": 1, "m_RefNameGeneratedByDisplayName": "OTHER", "m_DefaultReferenceName": "_OTHER", "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.SubGraphOutputNode", "m_ObjectId": "53d984ad3dd54b75856551567bb3d1e3", "m_Group": { "m_Id": "" }, "m_Name": "Output", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": 135.0, "y": -151.0, "width": 121.0, "height": 77.0 } }, "m_Slots": [ { "m_Id": "09cd1f18145744ba98c9c6a294cf7a77" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "IsFirstSlotValid": true } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot", "m_ObjectId": "619390f6e8e14597bea616fb3a7a9f83", "m_Id": 0, "m_DisplayName": "BUILTIN", "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": 1, "m_Type": "UnityEditor.ShaderGraph.Internal.Vector4ShaderProperty", "m_ObjectId": "63dcbedc3fd046af9aa87436ae59c051", "m_Guid": { "m_GuidSerialized": "095cd1a5-4944-476f-a844-e159f907af57" }, "m_Name": "HDRP", "m_DefaultRefNameVersion": 1, "m_RefNameGeneratedByDisplayName": "HDRP", "m_DefaultReferenceName": "_HDRP", "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.PropertyNode", "m_ObjectId": "668ed78474c24e9aa2606cacaf3493bc", "m_Group": { "m_Id": "" }, "m_Name": "Property", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -309.0, "y": -71.0, "width": 120.0, "height": 34.0 } }, "m_Slots": [ { "m_Id": "619390f6e8e14597bea616fb3a7a9f83" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_Property": { "m_Id": "1ff0b3fd62ed446eb8b7b26f676f7f16" } } { "m_SGVersion": 1, "m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode", "m_ObjectId": "9c52532f55544fa2b9f8364998640ba8", "m_Group": { "m_Id": "" }, "m_Name": "PipelineSwitch (Custom Function)", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -119.0, "y": -151.0, "width": 238.0, "height": 302.0 } }, "m_Slots": [ { "m_Id": "a6134e079b9b4f7096bf997673e64bab" }, { "m_Id": "19ff58d2a50d4610a793ce28c01e845c" }, { "m_Id": "eab7ea5e0be142b6959d0ad2b38c1670" }, { "m_Id": "1775123ee9074892afc3752ae7742fa5" }, { "m_Id": "a27ef789fa0344eba10637371b4e36ab" } ], "synonyms": [ "code", "HLSL" ], "m_Precision": 0, "m_PreviewExpanded": false, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_SourceType": 1, "m_FunctionName": "PipelineSwitch", "m_FunctionSource": "", "m_FunctionBody": "#if defined(UNIVERSAL_PIPELINE_CORE_INCLUDED)\nOUT= URP;\n#elif defined(BUILTIN_PIPELINE_CORE_INCLUDED)\nOUT= BUILTIN;\n#elif defined(UNITY_HEADER_HD_INCLUDED)\nOUT= HDRP;\n#else\nOUT = OTHER;\n#endif\n" } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.PropertyNode", "m_ObjectId": "a02f221f177d4677bfce9304ac07e1ab", "m_Group": { "m_Id": "" }, "m_Name": "Property", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -297.0, "y": -105.0, "width": 108.0, "height": 34.0 } }, "m_Slots": [ { "m_Id": "fc49f9f8b91e45e08f4d1aa4abb5b32c" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_Property": { "m_Id": "63dcbedc3fd046af9aa87436ae59c051" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.PropertyNode", "m_ObjectId": "a155e628ba4347e9a76a5a9adbcc1b5b", "m_Group": { "m_Id": "" }, "m_Name": "Property", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -289.0, "y": -139.0, "width": 100.0, "height": 34.0 } }, "m_Slots": [ { "m_Id": "de205055f9df4841a912b477b4bad013" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_Property": { "m_Id": "d9b6f0e354e74e2e84f424f0dd0e18ae" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot", "m_ObjectId": "a27ef789fa0344eba10637371b4e36ab", "m_Id": 1, "m_DisplayName": "OTHER", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "OTHER", "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_Labels": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot", "m_ObjectId": "a6134e079b9b4f7096bf997673e64bab", "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_Labels": [] } { "m_SGVersion": 1, "m_Type": "UnityEditor.ShaderGraph.Internal.Vector4ShaderProperty", "m_ObjectId": "d9b6f0e354e74e2e84f424f0dd0e18ae", "m_Guid": { "m_GuidSerialized": "9bf98797-d993-4eb1-ad64-bfd32bab74e5" }, "m_Name": "URP", "m_DefaultRefNameVersion": 1, "m_RefNameGeneratedByDisplayName": "URP", "m_DefaultReferenceName": "_URP", "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.Vector4MaterialSlot", "m_ObjectId": "de205055f9df4841a912b477b4bad013", "m_Id": 0, "m_DisplayName": "URP", "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.PropertyNode", "m_ObjectId": "dea1064887454e05b6646516e354bfa7", "m_Group": { "m_Id": "" }, "m_Name": "Property", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -304.0, "y": -34.0, "width": 115.0, "height": 34.0 } }, "m_Slots": [ { "m_Id": "34966e21f01c4f668159e5ee53fe012f" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_Property": { "m_Id": "4e387d9da6c44155a682fb1158bbfc91" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot", "m_ObjectId": "eab7ea5e0be142b6959d0ad2b38c1670", "m_Id": 4, "m_DisplayName": "HDRP", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "HDRP", "m_StageCapability": 3, "m_Value": { "x": 0.0, "y": 1.0, "z": 0.0, "w": 1.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": "fc49f9f8b91e45e08f4d1aa4abb5b32c", "m_Id": 0, "m_DisplayName": "HDRP", "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": [] }