{ "m_SGVersion": 3, "m_Type": "UnityEditor.ShaderGraph.GraphData", "m_ObjectId": "ed63c6b375e749ffa7267e5d1c22d817", "m_Properties": [], "m_Keywords": [], "m_Dropdowns": [], "m_CategoryData": [ { "m_Id": "4338b199642f45b588686f75a322b8d1" } ], "m_Nodes": [ { "m_Id": "7efba297d0b74c8093d51218c6f395ff" }, { "m_Id": "a1d3bed2f71e4821a066eb16fb345c3f" }, { "m_Id": "cf9f37c16f3c4b809a112290771e909b" }, { "m_Id": "fadf2392448a4c6d9ba3d4f0c3686b9c" }, { "m_Id": "56729bfb24fb4e2ca951b1ddeb07c3f2" }, { "m_Id": "99b4dba4390b4069b70670fafb064690" }, { "m_Id": "acee2fabfe6146e9a2d3fdc348ff3c56" }, { "m_Id": "91cc7052d79a4ab2be1ade76e4a5dce1" }, { "m_Id": "f15775cdc4104f7aa5f3557417344d44" }, { "m_Id": "334cac89a1a1416d906a58e7e7e3edc7" }, { "m_Id": "dd567d54bd034347a473820fc6d86736" }, { "m_Id": "eb4eb88d62ad4999be29d2e49ae8c0f8" }, { "m_Id": "96bb2fb4f91942bb9606c4f2d40cb78a" } ], "m_GroupDatas": [], "m_StickyNoteDatas": [ { "m_Id": "198c71c014be406aaf84152cf667c598" } ], "m_Edges": [ { "m_OutputSlot": { "m_Node": { "m_Id": "96bb2fb4f91942bb9606c4f2d40cb78a" }, "m_SlotId": 0 }, "m_InputSlot": { "m_Node": { "m_Id": "eb4eb88d62ad4999be29d2e49ae8c0f8" }, "m_SlotId": 0 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "eb4eb88d62ad4999be29d2e49ae8c0f8" }, "m_SlotId": 1 }, "m_InputSlot": { "m_Node": { "m_Id": "fadf2392448a4c6d9ba3d4f0c3686b9c" }, "m_SlotId": 0 } } ], "m_VertexContext": { "m_Position": { "x": 0.0, "y": 0.0 }, "m_Blocks": [ { "m_Id": "7efba297d0b74c8093d51218c6f395ff" }, { "m_Id": "a1d3bed2f71e4821a066eb16fb345c3f" }, { "m_Id": "cf9f37c16f3c4b809a112290771e909b" } ] }, "m_FragmentContext": { "m_Position": { "x": 0.0, "y": 200.0 }, "m_Blocks": [ { "m_Id": "fadf2392448a4c6d9ba3d4f0c3686b9c" }, { "m_Id": "56729bfb24fb4e2ca951b1ddeb07c3f2" }, { "m_Id": "99b4dba4390b4069b70670fafb064690" }, { "m_Id": "acee2fabfe6146e9a2d3fdc348ff3c56" }, { "m_Id": "91cc7052d79a4ab2be1ade76e4a5dce1" }, { "m_Id": "f15775cdc4104f7aa5f3557417344d44" }, { "m_Id": "334cac89a1a1416d906a58e7e7e3edc7" }, { "m_Id": "dd567d54bd034347a473820fc6d86736" } ] }, "m_PreviewData": { "serializedMesh": { "m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}", "m_Guid": "" }, "preventRotation": false }, "m_Path": "Shader Graphs", "m_GraphPrecision": 0, "m_PreviewMode": 2, "m_OutputNode": { "m_Id": "" }, "m_SubDatas": [], "m_ActiveTargets": [ { "m_Id": "41bfb34880a24490aa9f630f92947111" } ] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.StickyNoteData", "m_ObjectId": "198c71c014be406aaf84152cf667c598", "m_Title": "Custom Lighting", "m_Content": "Input your own color in the custom function node.", "m_TextSize": 0, "m_Theme": 0, "m_Position": { "serializedVersion": "2", "x": -606.0, "y": 85.0, "width": 200.0, "height": 100.0 }, "m_Group": { "m_Id": "" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot", "m_ObjectId": "32073861999f411d875ed672cf22d495", "m_Id": 0, "m_DisplayName": "Normal", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "Normal", "m_StageCapability": 1, "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_Space": 0 } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.BlockNode", "m_ObjectId": "334cac89a1a1416d906a58e7e7e3edc7", "m_Group": { "m_Id": "" }, "m_Name": "SurfaceDescription.CustomLightingData1", "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": "44d74a125bc04035ababff9dfef7aa9b" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_SerializedDescriptor": "SurfaceDescription.CustomLightingData1" } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot", "m_ObjectId": "37e6fe3777ab46b39febcb17b4cf8cee", "m_Id": 0, "m_DisplayName": "Base Color", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "BaseColor", "m_StageCapability": 2, "m_Value": { "x": 0.5, "y": 0.5, "z": 0.5 }, "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": 1, "m_Type": "ShaderGraphEssentials.SGEUniversalTarget", "m_ObjectId": "41bfb34880a24490aa9f630f92947111", "m_ActiveSubTarget": { "m_Id": "f4544c958fd04f12890669c1c6416df8" }, "m_RenderType": 0, "m_RenderQueue": 1, "m_BlendMode": 0, "m_AlphaClip": false, "m_CastShadows": true, "m_ReceiveShadows": true, "m_SupportsLODCrossFade": false, "m_CullMode": 2, "m_ZWrite": 0, "m_ZTest": 0, "m_CustomEditorGUI": "", "m_SupportVFX": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot", "m_ObjectId": "41d4ebdb0347493295537c91fadca239", "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.CategoryData", "m_ObjectId": "4338b199642f45b588686f75a322b8d1", "m_Name": "", "m_ChildObjectList": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.ColorRGBAMaterialSlot", "m_ObjectId": "44d74a125bc04035ababff9dfef7aa9b", "m_Id": 0, "m_DisplayName": "Custom Lighting Data 1", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "CustomLightingData1", "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": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "4f090433c2c0473ea7f82f52dd28f272", "m_Id": 0, "m_DisplayName": "Shininess", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "Shininess", "m_StageCapability": 2, "m_Value": 0.5, "m_DefaultValue": 0.5, "m_Labels": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.BlockNode", "m_ObjectId": "56729bfb24fb4e2ca951b1ddeb07c3f2", "m_Group": { "m_Id": "" }, "m_Name": "SurfaceDescription.NormalTS", "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": "74c8581c218e42f39a7b136a5909a73a" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_SerializedDescriptor": "SurfaceDescription.NormalTS" } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.ColorRGBAMaterialSlot", "m_ObjectId": "5e43231d43cf43c8b11726d431c9599f", "m_Id": 0, "m_DisplayName": "Custom Lighting Data 2", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "CustomLightingData2", "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": 0, "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot", "m_ObjectId": "6067176e41b94c17bc90dcec5989cc90", "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.ColorRGBMaterialSlot", "m_ObjectId": "661dd35371b440999c429205ad2bc785", "m_Id": 0, "m_DisplayName": "Emission", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "Emission", "m_StageCapability": 2, "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_ColorMode": 1, "m_DefaultColor": { "r": 0.0, "g": 0.0, "b": 0.0, "a": 1.0 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.PositionMaterialSlot", "m_ObjectId": "67c05795a65d45948a77418a30bec828", "m_Id": 0, "m_DisplayName": "Position", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "Position", "m_StageCapability": 1, "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_Space": 0 } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot", "m_ObjectId": "72b1d677aa644b8db16037e65b02c0ba", "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.NormalMaterialSlot", "m_ObjectId": "74c8581c218e42f39a7b136a5909a73a", "m_Id": 0, "m_DisplayName": "Normal (Tangent Space)", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "NormalTS", "m_StageCapability": 2, "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_Space": 3 } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.BlockNode", "m_ObjectId": "7efba297d0b74c8093d51218c6f395ff", "m_Group": { "m_Id": "" }, "m_Name": "VertexDescription.Position", "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": "67c05795a65d45948a77418a30bec828" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_SerializedDescriptor": "VertexDescription.Position" } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.TangentMaterialSlot", "m_ObjectId": "84ee1b81a59c46808dc179d24ac2c8ef", "m_Id": 0, "m_DisplayName": "Tangent", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "Tangent", "m_StageCapability": 1, "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_Space": 0 } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.BlockNode", "m_ObjectId": "91cc7052d79a4ab2be1ade76e4a5dce1", "m_Group": { "m_Id": "" }, "m_Name": "SurfaceDescription.Glossiness", "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": "c27c68ef6f594ce7896102b6980775f3" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_SerializedDescriptor": "SurfaceDescription.Glossiness" } { "m_SGVersion": 1, "m_Type": "UnityEditor.ShaderGraph.ColorNode", "m_ObjectId": "96bb2fb4f91942bb9606c4f2d40cb78a", "m_Group": { "m_Id": "" }, "m_Name": "Color", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -609.0, "y": 191.0, "width": 208.0, "height": 127.0 } }, "m_Slots": [ { "m_Id": "72b1d677aa644b8db16037e65b02c0ba" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_Color": { "color": { "r": 0.5660377740859985, "g": 0.07742971181869507, "b": 0.07742971181869507, "a": 0.0 }, "mode": 0 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.BlockNode", "m_ObjectId": "99b4dba4390b4069b70670fafb064690", "m_Group": { "m_Id": "" }, "m_Name": "SurfaceDescription.Emission", "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": "661dd35371b440999c429205ad2bc785" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_SerializedDescriptor": "SurfaceDescription.Emission" } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.BlockNode", "m_ObjectId": "a1d3bed2f71e4821a066eb16fb345c3f", "m_Group": { "m_Id": "" }, "m_Name": "VertexDescription.Normal", "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": "32073861999f411d875ed672cf22d495" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_SerializedDescriptor": "VertexDescription.Normal" } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.BlockNode", "m_ObjectId": "acee2fabfe6146e9a2d3fdc348ff3c56", "m_Group": { "m_Id": "" }, "m_Name": "SurfaceDescription.Specular", "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": "f87e65b98538435aaa6ddda4c9232e61" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_SerializedDescriptor": "SurfaceDescription.Specular" } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "c27c68ef6f594ce7896102b6980775f3", "m_Id": 0, "m_DisplayName": "Glossiness", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "Glossiness", "m_StageCapability": 2, "m_Value": 0.5, "m_DefaultValue": 0.5, "m_Labels": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.BlockNode", "m_ObjectId": "cf9f37c16f3c4b809a112290771e909b", "m_Group": { "m_Id": "" }, "m_Name": "VertexDescription.Tangent", "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": "84ee1b81a59c46808dc179d24ac2c8ef" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_SerializedDescriptor": "VertexDescription.Tangent" } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.BlockNode", "m_ObjectId": "dd567d54bd034347a473820fc6d86736", "m_Group": { "m_Id": "" }, "m_Name": "SurfaceDescription.CustomLightingData2", "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": "5e43231d43cf43c8b11726d431c9599f" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_SerializedDescriptor": "SurfaceDescription.CustomLightingData2" } { "m_SGVersion": 1, "m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode", "m_ObjectId": "eb4eb88d62ad4999be29d2e49ae8c0f8", "m_Group": { "m_Id": "" }, "m_Name": "Passthrough (Custom Function)", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -314.0, "y": 194.0, "width": 142.0, "height": 94.0 } }, "m_Slots": [ { "m_Id": "41d4ebdb0347493295537c91fadca239" }, { "m_Id": "6067176e41b94c17bc90dcec5989cc90" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": false, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_SourceType": 0, "m_FunctionName": "Passthrough", "m_FunctionSource": "ff58d7bda841877438d1453d66f77790", "m_FunctionBody": "Enter function body here..." } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.BlockNode", "m_ObjectId": "f15775cdc4104f7aa5f3557417344d44", "m_Group": { "m_Id": "" }, "m_Name": "SurfaceDescription.Shininess", "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": "4f090433c2c0473ea7f82f52dd28f272" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_SerializedDescriptor": "SurfaceDescription.Shininess" } { "m_SGVersion": 2, "m_Type": "ShaderGraphEssentials.SGEUniversalCustomLitSubTarget", "m_ObjectId": "f4544c958fd04f12890669c1c6416df8", "m_NormalDropOffSpace": 0, "m_BlendModePreserveSpecular": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot", "m_ObjectId": "f87e65b98538435aaa6ddda4c9232e61", "m_Id": 0, "m_DisplayName": "Specular Color", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "Specular", "m_StageCapability": 2, "m_Value": { "x": 0.5, "y": 0.5, "z": 0.5 }, "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.BlockNode", "m_ObjectId": "fadf2392448a4c6d9ba3d4f0c3686b9c", "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": "37e6fe3777ab46b39febcb17b4cf8cee" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_SerializedDescriptor": "SurfaceDescription.BaseColor" }