{ "m_SGVersion": 3, "m_Type": "UnityEditor.ShaderGraph.GraphData", "m_ObjectId": "6ccc676f731a493fafa9835286dfc528", "m_Properties": [ { "m_Id": "7ea1bbbacf460c879f6d8c85fd91750d" } ], "m_Keywords": [ { "m_Id": "345af8eac8db418a8d795b8f37f55ee8" } ], "m_Dropdowns": [], "m_CategoryData": [ { "m_Id": "1a0133ec0b7148738854ac5fbfdb06c6" } ], "m_Nodes": [ { "m_Id": "0f043bb7e9b9d1849a740f31c19b79a8" }, { "m_Id": "3be2118d2270ff818ec5f0f1353e249f" }, { "m_Id": "65e443cb15a9fb859a50ebae06e81569" } ], "m_GroupDatas": [], "m_StickyNoteDatas": [], "m_Edges": [ { "m_OutputSlot": { "m_Node": { "m_Id": "3be2118d2270ff818ec5f0f1353e249f" }, "m_SlotId": 4 }, "m_InputSlot": { "m_Node": { "m_Id": "0f043bb7e9b9d1849a740f31c19b79a8" }, "m_SlotId": 4 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "65e443cb15a9fb859a50ebae06e81569" }, "m_SlotId": 0 }, "m_InputSlot": { "m_Node": { "m_Id": "3be2118d2270ff818ec5f0f1353e249f" }, "m_SlotId": 0 } } ], "m_VertexContext": { "m_Position": { "x": 259.0, "y": -74.0 }, "m_Blocks": [] }, "m_FragmentContext": { "m_Position": { "x": 259.0, "y": 126.0 }, "m_Blocks": [] }, "m_PreviewData": { "serializedMesh": { "m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}", "m_Guid": "" }, "preventRotation": false }, "m_Path": "Custom Lighting", "m_GraphPrecision": 0, "m_PreviewMode": 2, "m_OutputNode": { "m_Id": "0f043bb7e9b9d1849a740f31c19b79a8" }, "m_ActiveTargets": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode", "m_ObjectId": "0f043bb7e9b9d1849a740f31c19b79a8", "m_Group": { "m_Id": "" }, "m_Name": "Out_Vector1", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": 234.0, "y": -74.0, "width": 116.0, "height": 77.0 } }, "m_Slots": [ { "m_Id": "d501eb20b0d34223b201b9fba93096bb" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "IsFirstSlotValid": true } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.CategoryData", "m_ObjectId": "1a0133ec0b7148738854ac5fbfdb06c6", "m_Name": "", "m_ChildObjectList": [ { "m_Id": "7ea1bbbacf460c879f6d8c85fd91750d" }, { "m_Id": "345af8eac8db418a8d795b8f37f55ee8" } ] } { "m_SGVersion": 1, "m_Type": "UnityEditor.ShaderGraph.ShaderKeyword", "m_ObjectId": "345af8eac8db418a8d795b8f37f55ee8", "m_Guid": { "m_GuidSerialized": "1feaf4d7-0891-4969-9957-9a8a8b3de535" }, "m_Name": "LightLayers", "m_DefaultRefNameVersion": 0, "m_RefNameGeneratedByDisplayName": "", "m_DefaultReferenceName": "BOOLEAN_DC7B8ACB_ON", "m_OverrideReferenceName": "_LIGHT_LAYERS", "m_GeneratePropertyBlock": false, "m_UseCustomSlotLabel": false, "m_CustomSlotLabel": "", "m_KeywordType": 0, "m_KeywordDefinition": 1, "m_KeywordScope": 1, "m_KeywordStages": 2, "m_Entries": [], "m_Value": 0, "m_IsEditable": true } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", "m_ObjectId": "3a9dcae1e3494abb910c213b91690c8f", "m_Id": 0, "m_DisplayName": "Shading", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "Shading", "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.CustomFunctionNode", "m_ObjectId": "3be2118d2270ff818ec5f0f1353e249f", "m_Group": { "m_Id": "" }, "m_Name": "MainLightLayer (Custom Function)", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -8.0, "y": -74.0, "width": 250.0, "height": 278.0 } }, "m_Slots": [ { "m_Id": "3a9dcae1e3494abb910c213b91690c8f" }, { "m_Id": "bdc7fa0ee135493e90e3abe6aab5baa3" } ], "synonyms": [ "code", "HLSL" ], "m_Precision": 0, "m_PreviewExpanded": false, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_SourceType": 0, "m_FunctionName": "MainLightLayer", "m_FunctionSource": "5c09ec492074d214fbe1a19781ad15e8", "m_FunctionBody": "Enter function body here..." } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.PropertyNode", "m_ObjectId": "65e443cb15a9fb859a50ebae06e81569", "m_Group": { "m_Id": "" }, "m_Name": "Property", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -135.0, "y": -34.0, "width": 120.0, "height": 34.0 } }, "m_Slots": [ { "m_Id": "7d190f51c889ce8198ca0ecfe494d421" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_Property": { "m_Id": "7ea1bbbacf460c879f6d8c85fd91750d" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", "m_ObjectId": "7d190f51c889ce8198ca0ecfe494d421", "m_Id": 0, "m_DisplayName": "Shading", "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": [ "X", "Y", "Z" ] } { "m_SGVersion": 1, "m_Type": "UnityEditor.ShaderGraph.Internal.Vector3ShaderProperty", "m_ObjectId": "7ea1bbbacf460c879f6d8c85fd91750d", "m_Guid": { "m_GuidSerialized": "c7b957cd-dd93-4549-bd10-7676ba0773f3" }, "m_Name": "Shading", "m_DefaultRefNameVersion": 0, "m_RefNameGeneratedByDisplayName": "", "m_DefaultReferenceName": "Vector3_B87D7B6B", "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.Vector3MaterialSlot", "m_ObjectId": "bdc7fa0ee135493e90e3abe6aab5baa3", "m_Id": 4, "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": 0, "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", "m_ObjectId": "d501eb20b0d34223b201b9fba93096bb", "m_Id": 4, "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 }, "m_DefaultValue": { "x": 0.0, "y": 0.0, "z": 0.0 }, "m_Labels": [] }