{ "m_SGVersion": 3, "m_Type": "UnityEditor.ShaderGraph.GraphData", "m_ObjectId": "50586e1e206349d0a5193023353b228b", "m_Properties": [ { "m_Id": "7cd768208f2f4f4e8b110f80033cb811" } ], "m_Keywords": [], "m_Dropdowns": [], "m_CategoryData": [ { "m_Id": "4c1dcec92eb64ec8b62a463200bcf9b8" } ], "m_Nodes": [ { "m_Id": "907b7735a5c541118804031210cea361" }, { "m_Id": "3cb15ac8e8bb40e48dbcc35abb092a24" }, { "m_Id": "a291a0267e0c4b9eb4d39346309cff60" }, { "m_Id": "fc2ac658efda4f128053fffa725a6647" }, { "m_Id": "b94aedf6fcc649fe80e59d8cb25c2178" }, { "m_Id": "030f6068e73a4b1fb7bed431350a7b69" } ], "m_GroupDatas": [ { "m_Id": "188d96b8c8704dd798bdbcbe4bd68fb2" } ], "m_StickyNoteDatas": [], "m_Edges": [ { "m_OutputSlot": { "m_Node": { "m_Id": "030f6068e73a4b1fb7bed431350a7b69" }, "m_SlotId": 2 }, "m_InputSlot": { "m_Node": { "m_Id": "907b7735a5c541118804031210cea361" }, "m_SlotId": 0 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "a291a0267e0c4b9eb4d39346309cff60" }, "m_SlotId": 4 }, "m_InputSlot": { "m_Node": { "m_Id": "b94aedf6fcc649fe80e59d8cb25c2178" }, "m_SlotId": 0 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "b94aedf6fcc649fe80e59d8cb25c2178" }, "m_SlotId": 1 }, "m_InputSlot": { "m_Node": { "m_Id": "030f6068e73a4b1fb7bed431350a7b69" }, "m_SlotId": 0 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "fc2ac658efda4f128053fffa725a6647" }, "m_SlotId": 0 }, "m_InputSlot": { "m_Node": { "m_Id": "a291a0267e0c4b9eb4d39346309cff60" }, "m_SlotId": 1 } } ], "m_VertexContext": { "m_Position": { "x": -239.19985961914063, "y": 1374.4000244140625 }, "m_Blocks": [] }, "m_FragmentContext": { "m_Position": { "x": -239.19985961914063, "y": 1473.5999755859375 }, "m_Blocks": [ { "m_Id": "907b7735a5c541118804031210cea361" }, { "m_Id": "3cb15ac8e8bb40e48dbcc35abb092a24" } ] }, "m_PreviewData": { "serializedMesh": { "m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}", "m_Guid": "" }, "preventRotation": false }, "m_Path": "Shader Graphs", "m_GraphPrecision": 1, "m_PreviewMode": 2, "m_OutputNode": { "m_Id": "" }, "m_SubDatas": [], "m_ActiveTargets": [ { "m_Id": "a567c0a774784431a77d796783001804" } ] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "01d691f4470a4b799391a420fcb63c96", "m_Id": 0, "m_DisplayName": "Alpha", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "Alpha", "m_StageCapability": 2, "m_Value": 1.0, "m_DefaultValue": 1.0, "m_Labels": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.MultiplyNode", "m_ObjectId": "030f6068e73a4b1fb7bed431350a7b69", "m_Group": { "m_Id": "" }, "m_Name": "Multiply", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -483.9999084472656, "y": 1486.400146484375, "width": 125.59988403320313, "height": 117.5999755859375 } }, "m_Slots": [ { "m_Id": "6cacd9c18b424250a281db888aa727da" }, { "m_Id": "5fbb1dcfdde24d16acc086e5db0ff13b" }, { "m_Id": "acb870b1953247e3ac1c8726a4d78048" } ], "synonyms": [ "multiplication", "times", "x" ], "m_Precision": 0, "m_PreviewExpanded": false, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.GroupData", "m_ObjectId": "188d96b8c8704dd798bdbcbe4bd68fb2", "m_Title": "Sample Depth", "m_Position": { "x": -1305.5999755859375, "y": 1364.8001708984375 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Texture2DInputMaterialSlot", "m_ObjectId": "29dc38e196c1434990b01e89d5f3e1d1", "m_Id": 1, "m_DisplayName": "Texture", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "Texture", "m_StageCapability": 3, "m_BareResource": false, "m_Texture": { "m_SerializedTexture": "{\"texture\":{\"instanceID\":0}}", "m_Guid": "" }, "m_DefaultType": 0 } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "376763eee3b2438ab9013058a307300f", "m_Id": 6, "m_DisplayName": "B", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "B", "m_StageCapability": 2, "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.BlockNode", "m_ObjectId": "3cb15ac8e8bb40e48dbcc35abb092a24", "m_Group": { "m_Id": "" }, "m_Name": "SurfaceDescription.Alpha", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": 0.0, "y": 0.0, "width": 0.0, "height": 0.0 } }, "m_Slots": [ { "m_Id": "01d691f4470a4b799391a420fcb63c96" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_SerializedDescriptor": "SurfaceDescription.Alpha" } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "43b61072b83f4d208426d9f3e609a290", "m_Id": 4, "m_DisplayName": "R", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "R", "m_StageCapability": 2, "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.CategoryData", "m_ObjectId": "4c1dcec92eb64ec8b62a463200bcf9b8", "m_Name": "", "m_ChildObjectList": [ { "m_Id": "7cd768208f2f4f4e8b110f80033cb811" } ] } { "m_SGVersion": 0, "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalFullscreenSubTarget", "m_ObjectId": "4e278f3970c041a0a1382cf4fcbf8f0b" } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot", "m_ObjectId": "5fbb1dcfdde24d16acc086e5db0ff13b", "m_Id": 1, "m_DisplayName": "B", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "B", "m_StageCapability": 3, "m_Value": { "e00": 5.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": "6cacd9c18b424250a281db888aa727da", "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.Internal.Texture2DShaderProperty", "m_ObjectId": "7cd768208f2f4f4e8b110f80033cb811", "m_Guid": { "m_GuidSerialized": "52fbefad-a2f0-461e-8e9d-3bdfe9db6ecf" }, "m_Name": "_BlitTexture", "m_DefaultRefNameVersion": 1, "m_RefNameGeneratedByDisplayName": "_BlitTexture", "m_DefaultReferenceName": "_BlitTexture", "m_OverrideReferenceName": "", "m_GeneratePropertyBlock": false, "m_UseCustomSlotLabel": false, "m_CustomSlotLabel": "", "m_DismissedVersion": 0, "m_Precision": 0, "overrideHLSLDeclaration": false, "hlslDeclarationOverride": 0, "m_Hidden": false, "m_Value": { "m_SerializedTexture": "{\"texture\":{\"instanceID\":0}}", "m_Guid": "" }, "isMainTexture": false, "useTilingAndOffset": false, "m_Modifiable": true, "m_DefaultType": 0 } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "7f8dbaa0fa084c55835253693a248d07", "m_Id": 0, "m_DisplayName": "depth", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "depth", "m_StageCapability": 3, "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.UVMaterialSlot", "m_ObjectId": "802f778889bf4310b779b9a351bf8bda", "m_Id": 2, "m_DisplayName": "UV", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "UV", "m_StageCapability": 3, "m_Value": { "x": 0.0, "y": 0.0 }, "m_DefaultValue": { "x": 0.0, "y": 0.0 }, "m_Labels": [], "m_Channel": 0 } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "8ed9ba8a98174fb4814e6e322c1e7905", "m_Id": 5, "m_DisplayName": "G", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "G", "m_StageCapability": 2, "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.BlockNode", "m_ObjectId": "907b7735a5c541118804031210cea361", "m_Group": { "m_Id": "" }, "m_Name": "SurfaceDescription.BaseColor", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": 0.0, "y": 0.0, "width": 0.0, "height": 0.0 } }, "m_Slots": [ { "m_Id": "e48c6aa24f4f40dd91de0cfbb118a503" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_SerializedDescriptor": "SurfaceDescription.BaseColor" } { "m_SGVersion": 0, "m_Type": "UnityEditor.Rendering.Fullscreen.ShaderGraph.FullscreenData", "m_ObjectId": "9a0243c3e6bd465387613c97b4bae4b7", "m_Version": 0, "m_fullscreenMode": 0, "m_BlendMode": 3, "m_SrcColorBlendMode": 0, "m_DstColorBlendMode": 1, "m_ColorBlendOperation": 0, "m_SrcAlphaBlendMode": 0, "m_DstAlphaBlendMode": 1, "m_AlphaBlendOperation": 0, "m_EnableStencil": false, "m_StencilReference": 0, "m_StencilReadMask": 255, "m_StencilWriteMask": 255, "m_StencilCompareFunction": 8, "m_StencilPassOperation": 0, "m_StencilFailOperation": 0, "m_StencilDepthFailOperation": 0, "m_DepthWrite": false, "m_depthWriteMode": 0, "m_AllowMaterialOverride": false, "m_DepthTestMode": 0 } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "9bc713b68c564f89bacc8fc3ea3da756", "m_Id": 1, "m_DisplayName": "result", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "result", "m_StageCapability": 3, "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.SampleTexture2DNode", "m_ObjectId": "a291a0267e0c4b9eb4d39346309cff60", "m_Group": { "m_Id": "188d96b8c8704dd798bdbcbe4bd68fb2" }, "m_Name": "Sample Texture 2D", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -1063.199951171875, "y": 1424.8001708984375, "width": 183.20001220703126, "height": 248.0 } }, "m_Slots": [ { "m_Id": "aed60a7732d94416853aa809ba2ec675" }, { "m_Id": "43b61072b83f4d208426d9f3e609a290" }, { "m_Id": "8ed9ba8a98174fb4814e6e322c1e7905" }, { "m_Id": "376763eee3b2438ab9013058a307300f" }, { "m_Id": "cab7aadda60a425588b57164b9024f59" }, { "m_Id": "29dc38e196c1434990b01e89d5f3e1d1" }, { "m_Id": "802f778889bf4310b779b9a351bf8bda" }, { "m_Id": "e8dbdf40a715499d83a423133f1e21f9" } ], "synonyms": [ "tex2d" ], "m_Precision": 0, "m_PreviewExpanded": false, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_TextureType": 0, "m_NormalMapSpace": 0, "m_EnableGlobalMipBias": true, "m_MipSamplingMode": 0 } { "m_SGVersion": 1, "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget", "m_ObjectId": "a567c0a774784431a77d796783001804", "m_Datas": [ { "m_Id": "9a0243c3e6bd465387613c97b4bae4b7" } ], "m_ActiveSubTarget": { "m_Id": "4e278f3970c041a0a1382cf4fcbf8f0b" }, "m_AllowMaterialOverride": false, "m_SurfaceType": 0, "m_ZTestMode": 4, "m_ZWriteControl": 0, "m_AlphaMode": 0, "m_RenderFace": 2, "m_AlphaClip": false, "m_CastShadows": true, "m_ReceiveShadows": true, "m_SupportsLODCrossFade": false, "m_CustomEditorGUI": "", "m_SupportVFX": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot", "m_ObjectId": "acb870b1953247e3ac1c8726a4d78048", "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.Vector4MaterialSlot", "m_ObjectId": "aed60a7732d94416853aa809ba2ec675", "m_Id": 0, "m_DisplayName": "RGBA", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "RGBA", "m_StageCapability": 2, "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.CustomFunctionNode", "m_ObjectId": "b94aedf6fcc649fe80e59d8cb25c2178", "m_Group": { "m_Id": "188d96b8c8704dd798bdbcbe4bd68fb2" }, "m_Name": "ReverseZ (Custom Function)", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -838.3999633789063, "y": 1469.60009765625, "width": 209.5999755859375, "height": 93.599853515625 } }, "m_Slots": [ { "m_Id": "7f8dbaa0fa084c55835253693a248d07" }, { "m_Id": "9bc713b68c564f89bacc8fc3ea3da756" } ], "synonyms": [ "code", "HLSL" ], "m_Precision": 0, "m_PreviewExpanded": false, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_SourceType": 1, "m_FunctionName": "ReverseZ", "m_FunctionSource": "", "m_FunctionBody": "#ifdef UNITY_REVERSED_Z\n\nresult = depth;\n\n#else\n\nresult = 1.0 - depth;\n\n#endif" } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Texture2DMaterialSlot", "m_ObjectId": "bbf77e60d8a74a80bb69c2ed84984268", "m_Id": 0, "m_DisplayName": "_BlitTexture", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "Out", "m_StageCapability": 3, "m_BareResource": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "cab7aadda60a425588b57164b9024f59", "m_Id": 7, "m_DisplayName": "A", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "A", "m_StageCapability": 2, "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot", "m_ObjectId": "e48c6aa24f4f40dd91de0cfbb118a503", "m_Id": 0, "m_DisplayName": "Base Color", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "BaseColor", "m_StageCapability": 2, "m_Value": { "x": 0.5547170042991638, "y": 0.3935456871986389, "z": 0.08687072992324829 }, "m_DefaultValue": { "x": 0.0, "y": 0.0, "z": 0.0 }, "m_Labels": [], "m_ColorMode": 0, "m_DefaultColor": { "r": 0.5, "g": 0.5, "b": 0.5, "a": 1.0 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.SamplerStateMaterialSlot", "m_ObjectId": "e8dbdf40a715499d83a423133f1e21f9", "m_Id": 3, "m_DisplayName": "Sampler", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "Sampler", "m_StageCapability": 3, "m_BareResource": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.PropertyNode", "m_ObjectId": "fc2ac658efda4f128053fffa725a6647", "m_Group": { "m_Id": "188d96b8c8704dd798bdbcbe4bd68fb2" }, "m_Name": "Property", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -1280.0, "y": 1448.0001220703125, "width": 136.0, "height": 33.5999755859375 } }, "m_Slots": [ { "m_Id": "bbf77e60d8a74a80bb69c2ed84984268" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_Property": { "m_Id": "7cd768208f2f4f4e8b110f80033cb811" } }