{ "m_SGVersion": 3, "m_Type": "UnityEditor.ShaderGraph.GraphData", "m_ObjectId": "3c9f3a92432249aa96a90dce45336128", "m_Properties": [ { "m_Id": "88943fcfadaf4ea58cb24d6148902cd7" }, { "m_Id": "061eec76723d415abeeb6efaaf6003ff" }, { "m_Id": "ff272ba52965427aa0199d31dfd00992" }, { "m_Id": "22e30cc3ec1c4f66b62b4ee32b0f5c94" }, { "m_Id": "8307c2ba8952492fb96fa49bec61758b" }, { "m_Id": "ad0d2ae4ab9144cf810c95bccd7a4c5f" }, { "m_Id": "4a94fe8809ab4832b3cc897a7c800a0b" }, { "m_Id": "8f633688ab644bf7860a636b340574fe" } ], "m_Keywords": [], "m_Dropdowns": [], "m_CategoryData": [ { "m_Id": "27505ac8c5814921bee474ae6d4af1fe" } ], "m_Nodes": [ { "m_Id": "f1b6bd3434d4498b85acd0f133d2d277" }, { "m_Id": "dd011cc96ae64d1181317986b1fa1742" }, { "m_Id": "5653941ce5a641f18f7ce7012652025d" }, { "m_Id": "b6c8b448c5324bd3bc59540f628e43a3" }, { "m_Id": "441143660ff642349088dd1bcab6bc78" }, { "m_Id": "b171431b5a3b4b0a9fc9fdede4a532a7" }, { "m_Id": "4eaab22b2b784aeda3752622f7abaf85" }, { "m_Id": "db9eb36ed51d4aad95e383920b55e3d7" }, { "m_Id": "9e831bda1f4d4495b24f1f6e3075f2fb" }, { "m_Id": "dcd3ca7796af45c6857884fa7979898b" }, { "m_Id": "45f5c13ff5544581bd61c2442cecd0a1" }, { "m_Id": "40f694c4c3ca4e89acb75242921983f5" }, { "m_Id": "8ee95b9bf7ac4776b6ee4edf1214b3c1" }, { "m_Id": "cbe0c0f96f9046a584e17ead8c001a55" }, { "m_Id": "121436dfdd464829910775b2326b046b" }, { "m_Id": "235850db9f9b4a589132d8acf6bc25e2" }, { "m_Id": "1b1e0a48277e4883afeb1289a075c5d8" }, { "m_Id": "e1fabc2a3bcd4bc183f0e93c379657d4" } ], "m_GroupDatas": [], "m_StickyNoteDatas": [], "m_Edges": [ { "m_OutputSlot": { "m_Node": { "m_Id": "121436dfdd464829910775b2326b046b" }, "m_SlotId": 0 }, "m_InputSlot": { "m_Node": { "m_Id": "cbe0c0f96f9046a584e17ead8c001a55" }, "m_SlotId": 0 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "1b1e0a48277e4883afeb1289a075c5d8" }, "m_SlotId": 0 }, "m_InputSlot": { "m_Node": { "m_Id": "cbe0c0f96f9046a584e17ead8c001a55" }, "m_SlotId": 2 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "235850db9f9b4a589132d8acf6bc25e2" }, "m_SlotId": 0 }, "m_InputSlot": { "m_Node": { "m_Id": "cbe0c0f96f9046a584e17ead8c001a55" }, "m_SlotId": 1 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "40f694c4c3ca4e89acb75242921983f5" }, "m_SlotId": 1 }, "m_InputSlot": { "m_Node": { "m_Id": "8ee95b9bf7ac4776b6ee4edf1214b3c1" }, "m_SlotId": 0 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "441143660ff642349088dd1bcab6bc78" }, "m_SlotId": 0 }, "m_InputSlot": { "m_Node": { "m_Id": "8ee95b9bf7ac4776b6ee4edf1214b3c1" }, "m_SlotId": 1 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "45f5c13ff5544581bd61c2442cecd0a1" }, "m_SlotId": 0 }, "m_InputSlot": { "m_Node": { "m_Id": "e1fabc2a3bcd4bc183f0e93c379657d4" }, "m_SlotId": 4 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "4eaab22b2b784aeda3752622f7abaf85" }, "m_SlotId": 0 }, "m_InputSlot": { "m_Node": { "m_Id": "e1fabc2a3bcd4bc183f0e93c379657d4" }, "m_SlotId": 10 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "5653941ce5a641f18f7ce7012652025d" }, "m_SlotId": 0 }, "m_InputSlot": { "m_Node": { "m_Id": "e1fabc2a3bcd4bc183f0e93c379657d4" }, "m_SlotId": 2 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "8ee95b9bf7ac4776b6ee4edf1214b3c1" }, "m_SlotId": 2 }, "m_InputSlot": { "m_Node": { "m_Id": "e1fabc2a3bcd4bc183f0e93c379657d4" }, "m_SlotId": 7 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "9e831bda1f4d4495b24f1f6e3075f2fb" }, "m_SlotId": 1 }, "m_InputSlot": { "m_Node": { "m_Id": "e1fabc2a3bcd4bc183f0e93c379657d4" }, "m_SlotId": 9 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "b171431b5a3b4b0a9fc9fdede4a532a7" }, "m_SlotId": 0 }, "m_InputSlot": { "m_Node": { "m_Id": "e1fabc2a3bcd4bc183f0e93c379657d4" }, "m_SlotId": 8 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "b6c8b448c5324bd3bc59540f628e43a3" }, "m_SlotId": 0 }, "m_InputSlot": { "m_Node": { "m_Id": "e1fabc2a3bcd4bc183f0e93c379657d4" }, "m_SlotId": 6 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "cbe0c0f96f9046a584e17ead8c001a55" }, "m_SlotId": 3 }, "m_InputSlot": { "m_Node": { "m_Id": "e1fabc2a3bcd4bc183f0e93c379657d4" }, "m_SlotId": 11 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "db9eb36ed51d4aad95e383920b55e3d7" }, "m_SlotId": 0 }, "m_InputSlot": { "m_Node": { "m_Id": "9e831bda1f4d4495b24f1f6e3075f2fb" }, "m_SlotId": 0 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "dcd3ca7796af45c6857884fa7979898b" }, "m_SlotId": 0 }, "m_InputSlot": { "m_Node": { "m_Id": "e1fabc2a3bcd4bc183f0e93c379657d4" }, "m_SlotId": 12 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "dd011cc96ae64d1181317986b1fa1742" }, "m_SlotId": 0 }, "m_InputSlot": { "m_Node": { "m_Id": "e1fabc2a3bcd4bc183f0e93c379657d4" }, "m_SlotId": 1 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "e1fabc2a3bcd4bc183f0e93c379657d4" }, "m_SlotId": 5 }, "m_InputSlot": { "m_Node": { "m_Id": "f1b6bd3434d4498b85acd0f133d2d277" }, "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": "Lighting/Components/Debug", "m_GraphPrecision": 1, "m_PreviewMode": 2, "m_OutputNode": { "m_Id": "f1b6bd3434d4498b85acd0f133d2d277" }, "m_SubDatas": [], "m_ActiveTargets": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot", "m_ObjectId": "011642e52fc64673ab14f9f3ecf7ce9b", "m_Id": 0, "m_DisplayName": "normalizedScreenSpaceUV", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "normalizedScreenSpaceUV", "m_StageCapability": 3, "m_Value": { "x": 0.0, "y": 0.0 }, "m_DefaultValue": { "x": 0.0, "y": 0.0 }, "m_Labels": [] } { "m_SGVersion": 1, "m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty", "m_ObjectId": "061eec76723d415abeeb6efaaf6003ff", "m_Guid": { "m_GuidSerialized": "95c15c29-d656-49c8-8503-955705cc63cd" }, "m_Name": "Metallic", "m_DefaultRefNameVersion": 1, "m_RefNameGeneratedByDisplayName": "Metallic", "m_DefaultReferenceName": "_Metallic", "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": 0.0, "m_FloatType": 0, "m_RangeValues": { "x": 0.0, "y": 1.0 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.ScreenPositionNode", "m_ObjectId": "121436dfdd464829910775b2326b046b", "m_Group": { "m_Id": "" }, "m_Name": "Screen Position", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -1650.6669921875, "y": 178.6667022705078, "width": 147.3333740234375, "height": 131.99998474121095 } }, "m_Slots": [ { "m_Id": "b7cb47bb90484b828df0202ad35c8f41" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": false, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_ScreenSpaceType": 0 } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", "m_ObjectId": "1ac88f04fde74138b44fefe03d0cbc5d", "m_Id": 14, "m_DisplayName": "RenderingLayerMasks", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "RenderingLayerMasks", "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.PropertyNode", "m_ObjectId": "1b1e0a48277e4883afeb1289a075c5d8", "m_Group": { "m_Id": "" }, "m_Name": "Property", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -1638.6669921875, "y": 445.3333435058594, "width": 135.3333740234375, "height": 36.000091552734378 } }, "m_Slots": [ { "m_Id": "eddaad84704d40d391c5284959fd0cb0" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_Property": { "m_Id": "ad0d2ae4ab9144cf810c95bccd7a4c5f" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", "m_ObjectId": "20db6b6e07d841f2b9951ec93e5a1030", "m_Id": 4, "m_DisplayName": "Alpha", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "Alpha", "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": "216675f897904a11935e3c48fc6782b8", "m_Id": 1, "m_DisplayName": "positionWS", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "positionWS", "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": "21b87dd8d9a240f1b08f5702f53c378f", "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.Internal.Vector3ShaderProperty", "m_ObjectId": "22e30cc3ec1c4f66b62b4ee32b0f5c94", "m_Guid": { "m_GuidSerialized": "18964816-1c04-4fa0-9b8c-f4652666415c" }, "m_Name": "Normal", "m_DefaultRefNameVersion": 1, "m_RefNameGeneratedByDisplayName": "Normal", "m_DefaultReferenceName": "_Normal", "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": { "x": 0.0, "y": 0.0, "z": 1.0, "w": 0.0 } } { "m_SGVersion": 1, "m_Type": "UnityEditor.ShaderGraph.PositionNode", "m_ObjectId": "235850db9f9b4a589132d8acf6bc25e2", "m_Group": { "m_Id": "" }, "m_Name": "Position", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -1710.6669921875, "y": 310.66668701171877, "width": 207.3333740234375, "height": 134.66665649414063 } }, "m_Slots": [ { "m_Id": "21b87dd8d9a240f1b08f5702f53c378f" } ], "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.Vector3MaterialSlot", "m_ObjectId": "26e98d6f2d2848d8b5d08aedc4d3b443", "m_Id": 0, "m_DisplayName": "Base Color", "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.CategoryData", "m_ObjectId": "27505ac8c5814921bee474ae6d4af1fe", "m_Name": "", "m_ChildObjectList": [ { "m_Id": "8307c2ba8952492fb96fa49bec61758b" }, { "m_Id": "ad0d2ae4ab9144cf810c95bccd7a4c5f" }, { "m_Id": "22e30cc3ec1c4f66b62b4ee32b0f5c94" }, { "m_Id": "061eec76723d415abeeb6efaaf6003ff" }, { "m_Id": "ff272ba52965427aa0199d31dfd00992" }, { "m_Id": "4a94fe8809ab4832b3cc897a7c800a0b" }, { "m_Id": "88943fcfadaf4ea58cb24d6148902cd7" }, { "m_Id": "8f633688ab644bf7860a636b340574fe" } ] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", "m_ObjectId": "2b142268f0af45f4b7ed382ee9bd9391", "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 }, "m_DefaultValue": { "x": 0.0, "y": 0.0, "z": 0.0 }, "m_Labels": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", "m_ObjectId": "34f7d9411fad4fd2a2bc09a3a836b8da", "m_Id": 7, "m_DisplayName": "AmbientOcclusion", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "AmbientOcclusion", "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": "3758cd1e919442c6a0dcb03a48e58ecf", "m_Id": 13, "m_DisplayName": "SpriteMask", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "SpriteMask", "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": "3c763fba9bd440cdaefe891f0ae8e027", "m_Id": 0, "m_DisplayName": "Normal", "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.SubGraphNode", "m_ObjectId": "40f694c4c3ca4e89acb75242921983f5", "m_Group": { "m_Id": "" }, "m_Name": "Screen Space Ambient Occlusion", "m_DrawState": { "m_Expanded": false, "m_Position": { "serializedVersion": "2", "x": -1218.666748046875, "y": 184.0, "width": 236.00006103515626, "height": 97.33328247070313 } }, "m_Slots": [ { "m_Id": "c6cbd534c8684fbab5aff386bbac2d32" }, { "m_Id": "9133020da8d343faa19a93f53c573b6f" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": false, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_SerializedSubGraph": "{\n \"subGraph\": {\n \"fileID\": -5475051401550479605,\n \"guid\": \"616a08cdf385c2d4997a5ed9d01e16a8\",\n \"type\": 3\n }\n}", "m_PropertyGuids": [], "m_PropertyIds": [], "m_Dropdowns": [], "m_DropdownSelectedEntries": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.PropertyNode", "m_ObjectId": "441143660ff642349088dd1bcab6bc78", "m_Group": { "m_Id": "" }, "m_Name": "Property", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -1156.666748046875, "y": 284.0, "width": 174.00006103515626, "height": 36.0 } }, "m_Slots": [ { "m_Id": "bd32c7cdefd042beb5993a11fdbf255e" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_Property": { "m_Id": "88943fcfadaf4ea58cb24d6148902cd7" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.PropertyNode", "m_ObjectId": "45f5c13ff5544581bd61c2442cecd0a1", "m_Group": { "m_Id": "" }, "m_Name": "Property", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -456.6666564941406, "y": 188.66665649414063, "width": 107.33334350585938, "height": 36.0 } }, "m_Slots": [ { "m_Id": "a09b56d869364d8ab5c33f403c6463fc" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_Property": { "m_Id": "8f633688ab644bf7860a636b340574fe" } } { "m_SGVersion": 1, "m_Type": "UnityEditor.ShaderGraph.Internal.Vector3ShaderProperty", "m_ObjectId": "4a94fe8809ab4832b3cc897a7c800a0b", "m_Guid": { "m_GuidSerialized": "c2f9c8dd-eb78-4ad8-9076-bcf010981413" }, "m_Name": "Emission", "m_DefaultRefNameVersion": 1, "m_RefNameGeneratedByDisplayName": "Emission", "m_DefaultReferenceName": "_Emission", "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": { "x": 0.0, "y": 0.0, "z": 0.0, "w": 0.0 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", "m_ObjectId": "4e4aa79a42504fcda2e2fb28b857a8ea", "m_Id": 0, "m_DisplayName": "In", "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.PropertyNode", "m_ObjectId": "4eaab22b2b784aeda3752622f7abaf85", "m_Group": { "m_Id": "" }, "m_Name": "Property", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -466.6666564941406, "y": 308.6666564941406, "width": 117.33334350585938, "height": 36.0 } }, "m_Slots": [ { "m_Id": "3c763fba9bd440cdaefe891f0ae8e027" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_Property": { "m_Id": "22e30cc3ec1c4f66b62b4ee32b0f5c94" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", "m_ObjectId": "5099547ad8694787b0a7388153b1dfa2", "m_Id": 12, "m_DisplayName": "Metallic", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "Metallic", "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": "5448a0318255483fa822549884619bbd", "m_Id": 3, "m_DisplayName": "Specular", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "Specular", "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.PropertyNode", "m_ObjectId": "5653941ce5a641f18f7ce7012652025d", "m_Group": { "m_Id": "" }, "m_Name": "Property", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -484.6666259765625, "y": 140.6666717529297, "width": 135.33328247070313, "height": 36.0 } }, "m_Slots": [ { "m_Id": "26e98d6f2d2848d8b5d08aedc4d3b443" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_Property": { "m_Id": "ad0d2ae4ab9144cf810c95bccd7a4c5f" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", "m_ObjectId": "57292de14e114bd3a97425c89b06dc51", "m_Id": 10, "m_DisplayName": "NormalTS", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "NormalTS", "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": "57c85605ecc44f208e84b6afcd538d3c", "m_Id": 2, "m_DisplayName": "Albedo", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "Albedo", "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.DynamicVectorMaterialSlot", "m_ObjectId": "5ad827c445b749b597fe548f92657c83", "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_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", "m_ObjectId": "5c4ffb7ea7e04022aa7818ac28c06092", "m_Id": 9, "m_DisplayName": "NormalWS", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "NormalWS", "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": "5f7afdfb6291488a9783c4175d2e552a", "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 }, "m_DefaultValue": { "x": 0.0, "y": 0.0, "z": 0.0 }, "m_Labels": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", "m_ObjectId": "65f53c60e47844da9fddb2bff077b6a4", "m_Id": 3, "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.Internal.Vector3ShaderProperty", "m_ObjectId": "8307c2ba8952492fb96fa49bec61758b", "m_Guid": { "m_GuidSerialized": "87e485c7-c9ba-4d9d-b2a6-c9b0fefb2691" }, "m_Name": "In", "m_DefaultRefNameVersion": 1, "m_RefNameGeneratedByDisplayName": "In", "m_DefaultReferenceName": "_In", "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": { "x": 0.0, "y": 0.0, "z": 0.0, "w": 0.0 } } { "m_SGVersion": 1, "m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty", "m_ObjectId": "88943fcfadaf4ea58cb24d6148902cd7", "m_Guid": { "m_GuidSerialized": "d7ccddb1-4359-4881-b319-e2626d15e1c0" }, "m_Name": "Ambient Occlusion", "m_DefaultRefNameVersion": 1, "m_RefNameGeneratedByDisplayName": "Ambient Occlusion", "m_DefaultReferenceName": "_Ambient_Occlusion", "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": 1.0, "m_FloatType": 0, "m_RangeValues": { "x": 0.0, "y": 1.0 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.MinimumNode", "m_ObjectId": "8ee95b9bf7ac4776b6ee4edf1214b3c1", "m_Group": { "m_Id": "" }, "m_Name": "Minimum", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -957.333251953125, "y": 200.0, "width": 127.333251953125, "height": 120.0 } }, "m_Slots": [ { "m_Id": "baadacc890c14c78b390dbbb7aa13409" }, { "m_Id": "be4486a334e84354bf4b61962d64b36f" }, { "m_Id": "5ad827c445b749b597fe548f92657c83" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": false, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] } } { "m_SGVersion": 1, "m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty", "m_ObjectId": "8f633688ab644bf7860a636b340574fe", "m_Guid": { "m_GuidSerialized": "2d3794ce-1404-446b-9e9c-b446455e95d3" }, "m_Name": "Alpha", "m_DefaultRefNameVersion": 1, "m_RefNameGeneratedByDisplayName": "Alpha", "m_DefaultReferenceName": "_Alpha", "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": 1.0, "m_FloatType": 0, "m_RangeValues": { "x": 0.0, "y": 1.0 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "9133020da8d343faa19a93f53c573b6f", "m_Id": 2, "m_DisplayName": "directAO", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "directAO", "m_StageCapability": 3, "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", "m_ObjectId": "99a1a840f5b64e908fa631818f8c2891", "m_Id": 11, "m_DisplayName": "LightComplexity", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "LightComplexity", "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": 2, "m_Type": "UnityEditor.ShaderGraph.TransformNode", "m_ObjectId": "9e831bda1f4d4495b24f1f6e3075f2fb", "m_Group": { "m_Id": "" }, "m_Name": "Transform", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -720.6666259765625, "y": 245.33334350585938, "width": 216.66665649414063, "height": 159.99996948242188 } }, "m_Slots": [ { "m_Id": "a34f199b602e40939065b6285810217c" }, { "m_Id": "2b142268f0af45f4b7ed382ee9bd9391" } ], "synonyms": [ "world", "tangent", "object", "view", "screen", "convert" ], "m_Precision": 0, "m_PreviewExpanded": false, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_Conversion": { "from": 3, "to": 2 }, "m_ConversionType": 2, "m_Normalize": true } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", "m_ObjectId": "a050c94656e3477f9b1fe36f07ed4115", "m_Id": 2, "m_DisplayName": "albedo", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "albedo", "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.Vector1MaterialSlot", "m_ObjectId": "a09b56d869364d8ab5c33f403c6463fc", "m_Id": 0, "m_DisplayName": "Alpha", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "Out", "m_StageCapability": 3, "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", "m_ObjectId": "a34f199b602e40939065b6285810217c", "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 }, "m_DefaultValue": { "x": 0.0, "y": 0.0, "z": 0.0 }, "m_Labels": [] } { "m_SGVersion": 1, "m_Type": "UnityEditor.ShaderGraph.Internal.Vector3ShaderProperty", "m_ObjectId": "ad0d2ae4ab9144cf810c95bccd7a4c5f", "m_Guid": { "m_GuidSerialized": "50603cae-637d-49e4-8acb-a3fc76e13fd1" }, "m_Name": "Base Color", "m_DefaultRefNameVersion": 1, "m_RefNameGeneratedByDisplayName": "Base Color", "m_DefaultReferenceName": "_Base_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": { "x": 0.0, "y": 0.0, "z": 0.0, "w": 0.0 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.PropertyNode", "m_ObjectId": "b171431b5a3b4b0a9fc9fdede4a532a7", "m_Group": { "m_Id": "" }, "m_Name": "Property", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -475.3333435058594, "y": 260.6666564941406, "width": 126.66665649414063, "height": 36.0 } }, "m_Slots": [ { "m_Id": "f31010c4737343319dd5614ebd572e44" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_Property": { "m_Id": "4a94fe8809ab4832b3cc897a7c800a0b" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.PropertyNode", "m_ObjectId": "b6c8b448c5324bd3bc59540f628e43a3", "m_Group": { "m_Id": "" }, "m_Name": "Property", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -490.6666564941406, "y": 212.66665649414063, "width": 143.33334350585938, "height": 36.0 } }, "m_Slots": [ { "m_Id": "f99b9ae6833849679e0dabbc09c65d43" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_Property": { "m_Id": "ff272ba52965427aa0199d31dfd00992" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot", "m_ObjectId": "b7cb47bb90484b828df0202ad35c8f41", "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.Vector3MaterialSlot", "m_ObjectId": "b9454bc5643e4d24a773688d02e7545a", "m_Id": 1, "m_DisplayName": "None", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "None", "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.DynamicVectorMaterialSlot", "m_ObjectId": "baadacc890c14c78b390dbbb7aa13409", "m_Id": 0, "m_DisplayName": "A", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "A", "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_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "bc900eb220324633b7ce817bc57b5902", "m_Id": 0, "m_DisplayName": "Metallic", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "Out", "m_StageCapability": 3, "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "bd32c7cdefd042beb5993a11fdbf255e", "m_Id": 0, "m_DisplayName": "Ambient Occlusion", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "Out", "m_StageCapability": 3, "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", "m_ObjectId": "be4486a334e84354bf4b61962d64b36f", "m_Id": 1, "m_DisplayName": "B", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "B", "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_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", "m_ObjectId": "c310bda291cf428f8403927ec7f9eba8", "m_Id": 5, "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": "c3328010fed14c539da770e38d3ce0bb", "m_Id": 6, "m_DisplayName": "Smoothness", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "Smoothness", "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.Vector1MaterialSlot", "m_ObjectId": "c6cbd534c8684fbab5aff386bbac2d32", "m_Id": 1, "m_DisplayName": "indirectAO", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "indirectAO", "m_StageCapability": 3, "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [] } { "m_SGVersion": 1, "m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode", "m_ObjectId": "cbe0c0f96f9046a584e17ead8c001a55", "m_Group": { "m_Id": "" }, "m_Name": "LightingComplexity (Custom Function)", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -1460.6669921875, "y": 288.0, "width": 265.3333740234375, "height": 144.00006103515626 } }, "m_Slots": [ { "m_Id": "011642e52fc64673ab14f9f3ecf7ce9b" }, { "m_Id": "216675f897904a11935e3c48fc6782b8" }, { "m_Id": "a050c94656e3477f9b1fe36f07ed4115" }, { "m_Id": "65f53c60e47844da9fddb2bff077b6a4" } ], "synonyms": [ "code", "HLSL" ], "m_Precision": 0, "m_PreviewExpanded": false, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_SourceType": 0, "m_FunctionName": "LightingComplexity", "m_FunctionSource": "6083dc6c91ad6bf4c8a9eaae1ade27ee", "m_FunctionSourceUsePragmas": true, "m_FunctionBody": "#if defined(SHADERGRAPH_PREVIEW)\r\n Out = float3(0,0,0);\r\n#else\r\n#if USE_CLUSTER_LIGHT_LOOP\r\n int numLights = URP_FP_DIRECTIONAL_LIGHTS_COUNT;\r\n uint entityIndex;\r\n ClusterIterator it = ClusterInit(normalizedScreenSpaceUV, positionWS, 0);\r\n [loop] while (ClusterNext(it, entityIndex))\r\n {\r\n numLights++;\r\n }\r\n it = ClusterInit(normalizedScreenSpaceUV, positionWS, 1);\r\n [loop] while (ClusterNext(it, entityIndex))\r\n {\r\n numLights++;\r\n }\r\n#else\r\n // Assume a main light and add 1 to the additional lights.\r\n int numLights = GetAdditionalLightsCount() + 1;\r\n#endif\r\n\r\n const uint2 tileSize = uint2(32,32);\r\n const uint maxLights = 9;\r\n const float opacity = 0.8f;\r\n\r\n uint2 pixelCoord = uint2(normalizedScreenSpaceUV * _ScreenParams.xy);\r\n half3 base = albedo;\r\n half4 overlay = half4(OverlayHeatMap(pixelCoord, tileSize, numLights, maxLights, opacity));\r\n\r\n uint2 tileCoord = (float2)pixelCoord / tileSize;\r\n uint2 offsetInTile = pixelCoord - tileCoord * tileSize;\r\n bool border = any(offsetInTile == 0 || offsetInTile == tileSize.x - 1);\r\n if (border)\r\n overlay = half4(1, 1, 1, 0.4f);\r\n\r\n Out = half3(lerp(base.rgb, overlay.rgb, overlay.a));\r\n#endif" } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", "m_ObjectId": "d3989a0ad2df465da9c69af9b11ad130", "m_Id": 8, "m_DisplayName": "Emission", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "Emission", "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.PropertyNode", "m_ObjectId": "db9eb36ed51d4aad95e383920b55e3d7", "m_Group": { "m_Id": "" }, "m_Name": "Property", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -834.6666259765625, "y": 284.6666564941406, "width": 117.33331298828125, "height": 36.0 } }, "m_Slots": [ { "m_Id": "dd53d9d836164033a7b914047b535433" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_Property": { "m_Id": "22e30cc3ec1c4f66b62b4ee32b0f5c94" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.PropertyNode", "m_ObjectId": "dcd3ca7796af45c6857884fa7979898b", "m_Group": { "m_Id": "" }, "m_Name": "Property", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -468.0000305175781, "y": 356.6666564941406, "width": 118.66665649414063, "height": 36.000030517578128 } }, "m_Slots": [ { "m_Id": "bc900eb220324633b7ce817bc57b5902" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_Property": { "m_Id": "061eec76723d415abeeb6efaaf6003ff" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.PropertyNode", "m_ObjectId": "dd011cc96ae64d1181317986b1fa1742", "m_Group": { "m_Id": "" }, "m_Name": "Property", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -435.9999694824219, "y": 116.66666412353516, "width": 88.66665649414063, "height": 36.00000762939453 } }, "m_Slots": [ { "m_Id": "4e4aa79a42504fcda2e2fb28b857a8ea" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_Property": { "m_Id": "8307c2ba8952492fb96fa49bec61758b" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", "m_ObjectId": "dd53d9d836164033a7b914047b535433", "m_Id": 0, "m_DisplayName": "Normal", "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.CustomFunctionNode", "m_ObjectId": "e1fabc2a3bcd4bc183f0e93c379657d4", "m_Group": { "m_Id": "" }, "m_Name": "DebugMaterialSwitch (Custom Function)", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -334.0, "y": 76.66667938232422, "width": 277.33331298828127, "height": 384.0000305175781 } }, "m_Slots": [ { "m_Id": "b9454bc5643e4d24a773688d02e7545a" }, { "m_Id": "57c85605ecc44f208e84b6afcd538d3c" }, { "m_Id": "5448a0318255483fa822549884619bbd" }, { "m_Id": "20db6b6e07d841f2b9951ec93e5a1030" }, { "m_Id": "c3328010fed14c539da770e38d3ce0bb" }, { "m_Id": "34f7d9411fad4fd2a2bc09a3a836b8da" }, { "m_Id": "d3989a0ad2df465da9c69af9b11ad130" }, { "m_Id": "5c4ffb7ea7e04022aa7818ac28c06092" }, { "m_Id": "57292de14e114bd3a97425c89b06dc51" }, { "m_Id": "99a1a840f5b64e908fa631818f8c2891" }, { "m_Id": "5099547ad8694787b0a7388153b1dfa2" }, { "m_Id": "3758cd1e919442c6a0dcb03a48e58ecf" }, { "m_Id": "1ac88f04fde74138b44fefe03d0cbc5d" }, { "m_Id": "c310bda291cf428f8403927ec7f9eba8" } ], "synonyms": [ "code", "HLSL" ], "m_Precision": 0, "m_PreviewExpanded": false, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_SourceType": 1, "m_FunctionName": "DebugMaterialSwitch", "m_FunctionSource": "", "m_FunctionSourceUsePragmas": true, "m_FunctionBody": "Out = None;\n#if !defined(SHADERGRAPH_PREVIEW) && defined(DEBUG_DISPLAY)\n[branch] switch(int(_DebugMaterialMode))\r\n{\r\n case 0:\r\n Out = None; break;\r\n case 1:\r\n Out = Albedo; break;\r\n case 2:\r\n Out = Specular; break;\n case 3:\r\n Out = Alpha; break;\n case 4:\r\n Out = Smoothness; break;\n case 5:\r\n Out = AmbientOcclusion; break;\n case 6:\r\n Out = Emission; break;\n case 7:\r\n Out = NormalWS * 0.5 + 0.5; break;\n case 8:\r\n Out = NormalTS * 0.5 + 0.5; break;\n case 9:\r\n Out = LightComplexity; break;\n case 10:\r\n Out = Metallic; break;\n case 11:\r\n Out = SpriteMask; break;\n case 12:\r\n Out = RenderingLayerMasks; break;\r\n default:\r\n Out = None; break;\r\n}\n#endif" } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", "m_ObjectId": "eddaad84704d40d391c5284959fd0cb0", "m_Id": 0, "m_DisplayName": "Base Color", "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.SubGraphOutputNode", "m_ObjectId": "f1b6bd3434d4498b85acd0f133d2d277", "m_Group": { "m_Id": "" }, "m_Name": "Output", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -34.00000762939453, "y": 76.66667938232422, "width": 86.6666488647461, "height": 78.66666412353516 } }, "m_Slots": [ { "m_Id": "5f7afdfb6291488a9783c4175d2e552a" } ], "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.Vector3MaterialSlot", "m_ObjectId": "f31010c4737343319dd5614ebd572e44", "m_Id": 0, "m_DisplayName": "Emission", "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.Vector1MaterialSlot", "m_ObjectId": "f99b9ae6833849679e0dabbc09c65d43", "m_Id": 0, "m_DisplayName": "Smoothness", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "Out", "m_StageCapability": 3, "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [] } { "m_SGVersion": 1, "m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty", "m_ObjectId": "ff272ba52965427aa0199d31dfd00992", "m_Guid": { "m_GuidSerialized": "345a0415-ce35-4c71-b1a8-593c7a9482c7" }, "m_Name": "Smoothness", "m_DefaultRefNameVersion": 1, "m_RefNameGeneratedByDisplayName": "Smoothness", "m_DefaultReferenceName": "_Smoothness", "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": 0.5, "m_FloatType": 0, "m_RangeValues": { "x": 0.0, "y": 1.0 } }