UnityGame/Library/PackageCache/com.unity.shadergraph/Samples~/FeatureExamples/Custom Lighting/CustomLighting.shadersubgraph

2272 lines
56 KiB
Plaintext
Raw Normal View History

2024-10-27 10:53:47 +03:00
{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "56f47714ba484da996c37333973e9e5c",
"m_Properties": [
{
"m_Id": "3179f67c3ab3407486b934e2f4de7b88"
},
{
"m_Id": "432273490daf445e92517b158a2f4281"
},
{
"m_Id": "c0196d4bd0a4449ea7ddf006c517e3e9"
},
{
"m_Id": "0b2a2a5c02d44dfeae80aa8e2a3a82d0"
},
{
"m_Id": "87719de541c34c9eb14623d63bc02306"
},
{
"m_Id": "b2355082ef484cd9996962a1b6dcb746"
},
{
"m_Id": "b4207ee9d3584969a07178ae04e7b070"
},
{
"m_Id": "5593c45049174e73916b4d2ba88a2bb9"
}
],
"m_Keywords": [
{
"m_Id": "f80358c81d964c3e9ab7d80a4570386d"
}
],
"m_Dropdowns": [
{
"m_Id": "0344e6505c2248c7838ea65e83145f8c"
}
],
"m_CategoryData": [
{
"m_Id": "e709e223496843fda9ab030b8ee725ed"
},
{
"m_Id": "62eab04d86674ffe90d46232ee8b9230"
}
],
"m_Nodes": [
{
"m_Id": "bb8f7a98164c47f5a0847583c811746b"
},
{
"m_Id": "42d6b255e62043fbb8b5392a9b4623f6"
},
{
"m_Id": "80b199919cee4218a00682b856b4cb6f"
},
{
"m_Id": "7cba0a5bde914ee983530607095263c7"
},
{
"m_Id": "5040c2bf7fcc492e9374927acfcfdfd1"
},
{
"m_Id": "370eca491712448ebc1cdc9b4b48d946"
},
{
"m_Id": "f444792b39424cb1b85d479fa4339f24"
},
{
"m_Id": "669337bb56d64b5692f899f2fd279d5b"
},
{
"m_Id": "2eb2236a158a4953a7d7233c17112b9e"
},
{
"m_Id": "594047aaba344af79473df89430f099c"
},
{
"m_Id": "987c56ad4fbf478dbf266bfa90fee89b"
},
{
"m_Id": "804b747c0abd44a79943fef14591f956"
},
{
"m_Id": "92fd5e010e6d43a0b7ec8f83f36bc868"
}
],
"m_GroupDatas": [],
"m_StickyNoteDatas": [
{
"m_Id": "75e4fb6f42f04ab48a6c07ac4d5343c0"
},
{
"m_Id": "41d1665c99aa49e0bc5c18b8c612bb73"
}
],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "2eb2236a158a4953a7d7233c17112b9e"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "594047aaba344af79473df89430f099c"
},
"m_SlotId": 3
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "370eca491712448ebc1cdc9b4b48d946"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "2eb2236a158a4953a7d7233c17112b9e"
},
"m_SlotId": -1055096999
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "370eca491712448ebc1cdc9b4b48d946"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "804b747c0abd44a79943fef14591f956"
},
"m_SlotId": -11593847
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "370eca491712448ebc1cdc9b4b48d946"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "92fd5e010e6d43a0b7ec8f83f36bc868"
},
"m_SlotId": -11593847
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "42d6b255e62043fbb8b5392a9b4623f6"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "2eb2236a158a4953a7d7233c17112b9e"
},
"m_SlotId": -645578642
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "42d6b255e62043fbb8b5392a9b4623f6"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "804b747c0abd44a79943fef14591f956"
},
"m_SlotId": -1269731849
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "42d6b255e62043fbb8b5392a9b4623f6"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "92fd5e010e6d43a0b7ec8f83f36bc868"
},
"m_SlotId": -1269731849
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "5040c2bf7fcc492e9374927acfcfdfd1"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "2eb2236a158a4953a7d7233c17112b9e"
},
"m_SlotId": -1679652504
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "5040c2bf7fcc492e9374927acfcfdfd1"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "804b747c0abd44a79943fef14591f956"
},
"m_SlotId": 542436400
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "5040c2bf7fcc492e9374927acfcfdfd1"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "92fd5e010e6d43a0b7ec8f83f36bc868"
},
"m_SlotId": 542436400
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "594047aaba344af79473df89430f099c"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "bb8f7a98164c47f5a0847583c811746b"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "669337bb56d64b5692f899f2fd279d5b"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "2eb2236a158a4953a7d7233c17112b9e"
},
"m_SlotId": 814618256
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "669337bb56d64b5692f899f2fd279d5b"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "804b747c0abd44a79943fef14591f956"
},
"m_SlotId": -143598040
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "669337bb56d64b5692f899f2fd279d5b"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "92fd5e010e6d43a0b7ec8f83f36bc868"
},
"m_SlotId": -143598040
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "7cba0a5bde914ee983530607095263c7"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "2eb2236a158a4953a7d7233c17112b9e"
},
"m_SlotId": -844273229
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "7cba0a5bde914ee983530607095263c7"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "804b747c0abd44a79943fef14591f956"
},
"m_SlotId": -741556139
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "7cba0a5bde914ee983530607095263c7"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "92fd5e010e6d43a0b7ec8f83f36bc868"
},
"m_SlotId": -741556139
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "804b747c0abd44a79943fef14591f956"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "594047aaba344af79473df89430f099c"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "80b199919cee4218a00682b856b4cb6f"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "2eb2236a158a4953a7d7233c17112b9e"
},
"m_SlotId": -428999002
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "80b199919cee4218a00682b856b4cb6f"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "804b747c0abd44a79943fef14591f956"
},
"m_SlotId": 776768476
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "80b199919cee4218a00682b856b4cb6f"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "92fd5e010e6d43a0b7ec8f83f36bc868"
},
"m_SlotId": 776768476
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "92fd5e010e6d43a0b7ec8f83f36bc868"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "594047aaba344af79473df89430f099c"
},
"m_SlotId": 4
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "987c56ad4fbf478dbf266bfa90fee89b"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "2eb2236a158a4953a7d7233c17112b9e"
},
"m_SlotId": -1045450119
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "987c56ad4fbf478dbf266bfa90fee89b"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "804b747c0abd44a79943fef14591f956"
},
"m_SlotId": -1112149985
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "987c56ad4fbf478dbf266bfa90fee89b"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "92fd5e010e6d43a0b7ec8f83f36bc868"
},
"m_SlotId": -1112149985
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "f444792b39424cb1b85d479fa4339f24"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "2eb2236a158a4953a7d7233c17112b9e"
},
"m_SlotId": 2068196862
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "f444792b39424cb1b85d479fa4339f24"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "804b747c0abd44a79943fef14591f956"
},
"m_SlotId": -174412181
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "f444792b39424cb1b85d479fa4339f24"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "92fd5e010e6d43a0b7ec8f83f36bc868"
},
"m_SlotId": -174412181
}
}
],
"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": "bb8f7a98164c47f5a0847583c811746b"
},
"m_SubDatas": [],
"m_ActiveTargets": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.ShaderDropdown",
"m_ObjectId": "0344e6505c2248c7838ea65e83145f8c",
"m_Guid": {
"m_GuidSerialized": "2e4d6204-a543-463c-a172-705c9e54a7c4"
},
"m_Name": "Lighting Model",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "Lighting Model",
"m_DefaultReferenceName": "_Lighting_Model",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
"m_DismissedVersion": 0,
"m_Entries": [
{
"id": 3,
"displayName": "PBR"
},
{
"id": 1,
"displayName": "Simple"
},
{
"id": 4,
"displayName": "Cel Shading"
}
],
"m_Value": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "03bd695103a0419c896b33b4caa3ce3e",
"m_Id": 3,
"m_DisplayName": "PBR",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "PBR",
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "062f8ecbe6274b3ba21e370a10635144",
"m_Id": 1,
"m_DisplayName": "Simple",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Simple",
"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": "095ff6b4586f43a9b3de8a2c8e15148c",
"m_Id": 1,
"m_DisplayName": "BaseColor",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "BaseColor",
"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": "0986d96fb4ce4d4f86541bf42cccdf6e",
"m_Id": 542436400,
"m_DisplayName": "Metallic",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "_Metallic",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
"m_ObjectId": "0b2a2a5c02d44dfeae80aa8e2a3a82d0",
"m_Guid": {
"m_GuidSerialized": "355551af-a32d-40f2-b35d-cd11592688ff"
},
"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.Vector3MaterialSlot",
"m_ObjectId": "19f3266252814882943f24d4d2f2c4c3",
"m_Id": -1112149985,
"m_DisplayName": "Base Color",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "_Base_Color",
"m_StageCapability": 3,
"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_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "1b6db0bc926145d3a4ea38b016429a32",
"m_Id": 1,
"m_DisplayName": "Base_Color",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Base_Color",
"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": "1d2a4e431d6e4a79beb01fa60049ab37",
"m_Id": -1055096999,
"m_DisplayName": "Reflectance",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "_Reflectance",
"m_StageCapability": 3,
"m_Value": 0.5,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BooleanMaterialSlot",
"m_ObjectId": "2280c2302e30440ba56a575b351ee2ae",
"m_Id": -143598040,
"m_DisplayName": "EnableAdditionalLights",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "_EnableAdditionalLights",
"m_StageCapability": 3,
"m_Value": true,
"m_DefaultValue": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "2c7d6fd4f3b949c6896bc06e2afd1664",
"m_Id": -174412181,
"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.Vector1MaterialSlot",
"m_ObjectId": "2d7c7433d0a14610809f3ae4ac8931ab",
"m_Id": 776768476,
"m_DisplayName": "Smoothness",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "_Smoothness",
"m_StageCapability": 3,
"m_Value": 0.5,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SubGraphNode",
"m_ObjectId": "2eb2236a158a4953a7d7233c17112b9e",
"m_Group": {
"m_Id": ""
},
"m_Name": "CustomLightingPBR",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 866.0,
"y": -928.0,
"width": 280.0,
"height": 263.0
}
},
"m_Slots": [
{
"m_Id": "65ffca3ae2b84f08ba90652c16a75c6a"
},
{
"m_Id": "957e338fc48c40fba50ed60879869d49"
},
{
"m_Id": "5e781ab95b6e4cf0901e6d72a41a43f8"
},
{
"m_Id": "662479ae9db040d0a7cef8da1cd48bc9"
},
{
"m_Id": "8d1ebd293bb54d449ba64506a0cc34df"
},
{
"m_Id": "1d2a4e431d6e4a79beb01fa60049ab37"
},
{
"m_Id": "c35822b66c7d48379f13fdafc19025c7"
},
{
"m_Id": "81c317c0bf594160b06487fe6195a325"
},
{
"m_Id": "1b6db0bc926145d3a4ea38b016429a32"
}
],
"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\": \"282c17812a8523d408fd9c3591a91fa2\",\n \"type\": 3\n }\n}",
"m_PropertyGuids": [
"a047bf0f-4632-4c68-acfc-3d7201139cae",
"0af28ba3-2cf1-4ae2-bb44-046a9051bbeb",
"4edea0f0-cee6-437d-96b4-fca1ee9ada75",
"355551af-a32d-40f2-b35d-cd11592688ff",
"3428862c-a6e6-4095-8bc8-85f1e7165563",
"d71376d3-06f1-4630-9547-1cc1ee482391",
"00e3c58d-f619-4f86-9c60-35bcf67e1688",
"1f2957d3-6c04-4724-a609-56fbc25bf66e"
],
"m_PropertyIds": [
814618256,
-1045450119,
-645578642,
-1679652504,
-428999002,
-1055096999,
2068196862,
-844273229
],
"m_Dropdowns": [],
"m_DropdownSelectedEntries": []
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector3ShaderProperty",
"m_ObjectId": "3179f67c3ab3407486b934e2f4de7b88",
"m_Guid": {
"m_GuidSerialized": "4edea0f0-cee6-437d-96b4-fca1ee9ada75"
},
"m_Name": "Normal",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "Normal",
"m_DefaultReferenceName": "_Normal",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": true,
"m_CustomSlotLabel": "NormalVector",
"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": 0,
"m_Type": "UnityEditor.ShaderGraph.BooleanMaterialSlot",
"m_ObjectId": "32d58f7805e444dc8ac782e72c944355",
"m_Id": 0,
"m_DisplayName": "EnableAdditionalLights",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": false,
"m_DefaultValue": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "370eca491712448ebc1cdc9b4b48d946",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 47.0,
"y": -526.0,
"width": 137.0,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "7e6d3e2391da4f8e83fb5428c1688397"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "87719de541c34c9eb14623d63bc02306"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "3e1e2d1afe494d858b6c4b20a2308ed0",
"m_Id": -1269731849,
"m_DisplayName": "Normal",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "_Normal",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 1.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
"m_ObjectId": "41d1665c99aa49e0bc5c18b8c612bb73",
"m_Title": "",
"m_Content": "We're using this branch node in this demo so you can easily switch between lighting models to compare them. But you won't need to do this in your project, so you should choose one lighting model subgraph and just use that.",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": 1173.0,
"y": -823.0,
"width": 200.0,
"height": 114.0
},
"m_Group": {
"m_Id": ""
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "42d6b255e62043fbb8b5392a9b4623f6",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 520.0,
"y": -611.0,
"width": 115.0,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "df4ab05b7ef44b6bba4604400630af4d"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "3179f67c3ab3407486b934e2f4de7b88"
}
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
"m_ObjectId": "432273490daf445e92517b158a2f4281",
"m_Guid": {
"m_GuidSerialized": "3428862c-a6e6-4095-8bc8-85f1e7165563"
},
"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
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "5040c2bf7fcc492e9374927acfcfdfd1",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 520.0,
"y": -577.0,
"width": 116.0,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "aa5a8c0e28e942c596ae116b507f73c6"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "0b2a2a5c02d44dfeae80aa8e2a3a82d0"
}
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector3ShaderProperty",
"m_ObjectId": "5593c45049174e73916b4d2ba88a2bb9",
"m_Guid": {
"m_GuidSerialized": "c6f9eb55-a594-4dae-9cf9-660ea900ad3f"
},
"m_Name": "BaseColor",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "BaseColor",
"m_DefaultReferenceName": "_BaseColor",
"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.5,
"y": 0.5,
"z": 0.5,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "57d7dcfd27af43d48bc4a822b1e74967",
"m_Id": 4,
"m_DisplayName": "Cel Shading",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Cel Shading",
"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": "583227d5bdc84145bcafd71bcd832d48",
"m_Id": -741556139,
"m_DisplayName": "AmbientOcclusion",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "_AmbientOcclusion",
"m_StageCapability": 3,
"m_Value": 1.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DropdownNode",
"m_ObjectId": "594047aaba344af79473df89430f099c",
"m_Group": {
"m_Id": ""
},
"m_Name": "Lighting Model",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 1179.0,
"y": -689.0,
"width": 185.0,
"height": 141.99993896484376
}
},
"m_Slots": [
{
"m_Id": "df6537d6fc6b4761af3b291a8621a723"
},
{
"m_Id": "03bd695103a0419c896b33b4caa3ce3e"
},
{
"m_Id": "062f8ecbe6274b3ba21e370a10635144"
},
{
"m_Id": "57d7dcfd27af43d48bc4a822b1e74967"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Dropdown": {
"m_Id": "0344e6505c2248c7838ea65e83145f8c"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "5bfb531090274bd38c3c0d9519454ce8",
"m_Id": -1112149985,
"m_DisplayName": "Base Color",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "_Base_Color",
"m_StageCapability": 3,
"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_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "5e781ab95b6e4cf0901e6d72a41a43f8",
"m_Id": -645578642,
"m_DisplayName": "Normal",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "_Normal",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 1.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "5ff3d065c57a4aa290babdbd6e2536f2",
"m_Id": -174412181,
"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.Vector3MaterialSlot",
"m_ObjectId": "6136f8ecd42149a1a3cac35eedb87107",
"m_Id": -1269731849,
"m_DisplayName": "Normal",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "_Normal",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 1.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.CategoryData",
"m_ObjectId": "62eab04d86674ffe90d46232ee8b9230",
"m_Name": "Material Parameters",
"m_ChildObjectList": [
{
"m_Id": "5593c45049174e73916b4d2ba88a2bb9"
},
{
"m_Id": "3179f67c3ab3407486b934e2f4de7b88"
},
{
"m_Id": "0b2a2a5c02d44dfeae80aa8e2a3a82d0"
},
{
"m_Id": "432273490daf445e92517b158a2f4281"
},
{
"m_Id": "87719de541c34c9eb14623d63bc02306"
},
{
"m_Id": "b2355082ef484cd9996962a1b6dcb746"
},
{
"m_Id": "c0196d4bd0a4449ea7ddf006c517e3e9"
}
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BooleanMaterialSlot",
"m_ObjectId": "65ffca3ae2b84f08ba90652c16a75c6a",
"m_Id": 814618256,
"m_DisplayName": "EnableAdditionalLights",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "_EnableAdditionalLights",
"m_StageCapability": 3,
"m_Value": true,
"m_DefaultValue": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "662479ae9db040d0a7cef8da1cd48bc9",
"m_Id": -1679652504,
"m_DisplayName": "Metallic",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "_Metallic",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "669337bb56d64b5692f899f2fd279d5b",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 414.0,
"y": -1104.0,
"width": 196.0,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "32d58f7805e444dc8ac782e72c944355"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "b4207ee9d3584969a07178ae04e7b070"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "6805722741864dd5a969aa341d966abf",
"m_Id": 776768476,
"m_DisplayName": "Smoothness",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "_Smoothness",
"m_StageCapability": 3,
"m_Value": 0.5,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
"m_ObjectId": "75e4fb6f42f04ab48a6c07ac4d5343c0",
"m_Title": "",
"m_Content": "Most non-metallic objects have a Reflectance value of 4%. This Reflectance input of 0.5 gets converted to 4% inside each of the lighting subgraphs. So reflectance should mainly stay at 0.5. But for a more realistic look, you can reduce reflectance in cracks and crevices using a crevice map to reduce specular reflections in areas that are occluded.",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": 17.0,
"y": -486.0,
"width": 200.0,
"height": 169.81832885742188
},
"m_Group": {
"m_Id": ""
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "7cba0a5bde914ee983530607095263c7",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 465.0,
"y": -441.0,
"width": 170.0,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "fc8878cf75124c7e858b38215a9c359e"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "c0196d4bd0a4449ea7ddf006c517e3e9"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "7e6d3e2391da4f8e83fb5428c1688397",
"m_Id": 0,
"m_DisplayName": "Reflectance",
"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.SubGraphNode",
"m_ObjectId": "804b747c0abd44a79943fef14591f956",
"m_Group": {
"m_Id": ""
},
"m_Name": "CustomLightingSimple",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 866.0,
"y": -665.0,
"width": 276.0,
"height": 263.0
}
},
"m_Slots": [
{
"m_Id": "2280c2302e30440ba56a575b351ee2ae"
},
{
"m_Id": "19f3266252814882943f24d4d2f2c4c3"
},
{
"m_Id": "3e1e2d1afe494d858b6c4b20a2308ed0"
},
{
"m_Id": "f70b469cef72484590ee6cfd2cbc5d39"
},
{
"m_Id": "6805722741864dd5a969aa341d966abf"
},
{
"m_Id": "d65744ba5b084735b38f007da536dd46"
},
{
"m_Id": "2c7d6fd4f3b949c6896bc06e2afd1664"
},
{
"m_Id": "583227d5bdc84145bcafd71bcd832d48"
},
{
"m_Id": "095ff6b4586f43a9b3de8a2c8e15148c"
}
],
"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\": \"e96dedd2827ba934ba9a7ddb15461e90\",\n \"type\": 3\n }\n}",
"m_PropertyGuids": [
"8348f57a-f128-4f2e-9779-c811eda3de2a",
"93bf1d36-8d6d-4aae-9321-a000d7410464",
"c46686b6-adce-4256-86af-538909e932bb",
"752d077f-8547-45af-8b60-d2e4830e04f4",
"6e430c26-2d69-4f93-ab32-c0cc38985cc3",
"6962875b-c99f-41bf-8851-0fb019df1e4b",
"1da0b1f6-61e8-4ec1-8d66-4d4b1aa163e7",
"78c651e1-bdcc-4f8e-a557-640fe315b6cd"
],
"m_PropertyIds": [
-143598040,
-1112149985,
-1269731849,
542436400,
776768476,
-741556139,
-11593847,
-174412181
],
"m_Dropdowns": [],
"m_DropdownSelectedEntries": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "80b199919cee4218a00682b856b4cb6f",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 496.0,
"y": -543.0,
"width": 140.0,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "8fd0e4273f1e4504b6696e5907d845b9"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "432273490daf445e92517b158a2f4281"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "80fda87c70974e5bbabebd23d3116068",
"m_Id": 0,
"m_DisplayName": "BaseColor",
"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": "81c317c0bf594160b06487fe6195a325",
"m_Id": -844273229,
"m_DisplayName": "AmbientOcclusion",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "_AmbientOcclusion",
"m_StageCapability": 3,
"m_Value": 1.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
"m_ObjectId": "87719de541c34c9eb14623d63bc02306",
"m_Guid": {
"m_GuidSerialized": "d71376d3-06f1-4630-9547-1cc1ee482391"
},
"m_Name": "Reflectance",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "Reflectance",
"m_DefaultReferenceName": "_Reflectance",
"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
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "8d1ebd293bb54d449ba64506a0cc34df",
"m_Id": -428999002,
"m_DisplayName": "Smoothness",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "_Smoothness",
"m_StageCapability": 3,
"m_Value": 0.5,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "8fd0e4273f1e4504b6696e5907d845b9",
"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": 0,
"m_Type": "UnityEditor.ShaderGraph.SubGraphNode",
"m_ObjectId": "92fd5e010e6d43a0b7ec8f83f36bc868",
"m_Group": {
"m_Id": ""
},
"m_Name": "CustomLightingCelShader",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 870.0,
"y": -402.0,
"width": 276.0,
"height": 263.0
}
},
"m_Slots": [
{
"m_Id": "ba4fe48546e949cbad22396207db190b"
},
{
"m_Id": "5bfb531090274bd38c3c0d9519454ce8"
},
{
"m_Id": "6136f8ecd42149a1a3cac35eedb87107"
},
{
"m_Id": "0986d96fb4ce4d4f86541bf42cccdf6e"
},
{
"m_Id": "2d7c7433d0a14610809f3ae4ac8931ab"
},
{
"m_Id": "d27bfdeb0ebc4e599c9e950a4da7999f"
},
{
"m_Id": "5ff3d065c57a4aa290babdbd6e2536f2"
},
{
"m_Id": "d7c4e6bfaff94b5ab12e64009f27457f"
},
{
"m_Id": "9b809326e057486b943e8de7d10863ea"
}
],
"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\": \"2f141aa4053f2384abece81714ec67c7\",\n \"type\": 3\n }\n}",
"m_PropertyGuids": [
"8348f57a-f128-4f2e-9779-c811eda3de2a",
"93bf1d36-8d6d-4aae-9321-a000d7410464",
"c46686b6-adce-4256-86af-538909e932bb",
"752d077f-8547-45af-8b60-d2e4830e04f4",
"6e430c26-2d69-4f93-ab32-c0cc38985cc3",
"1da0b1f6-61e8-4ec1-8d66-4d4b1aa163e7",
"78c651e1-bdcc-4f8e-a557-640fe315b6cd",
"6962875b-c99f-41bf-8851-0fb019df1e4b"
],
"m_PropertyIds": [
-143598040,
-1112149985,
-1269731849,
542436400,
776768476,
-11593847,
-174412181,
-741556139
],
"m_Dropdowns": [],
"m_DropdownSelectedEntries": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "957e338fc48c40fba50ed60879869d49",
"m_Id": -1045450119,
"m_DisplayName": "Base Color",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "_Base_Color",
"m_StageCapability": 3,
"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_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "987c56ad4fbf478dbf266bfa90fee89b",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 504.0,
"y": -645.0,
"width": 131.0,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "80fda87c70974e5bbabebd23d3116068"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "5593c45049174e73916b4d2ba88a2bb9"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "9b809326e057486b943e8de7d10863ea",
"m_Id": 1,
"m_DisplayName": "BaseColor",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "BaseColor",
"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": "aa5a8c0e28e942c596ae116b507f73c6",
"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.Vector3MaterialSlot",
"m_ObjectId": "b118df34efdc4bd2ba4a91a1e7918cc0",
"m_Id": 1,
"m_DisplayName": "Base_Color",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Base_Color",
"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": "b1b7e9c468e24029aabd7a5cdbfa14bb",
"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": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector3ShaderProperty",
"m_ObjectId": "b2355082ef484cd9996962a1b6dcb746",
"m_Guid": {
"m_GuidSerialized": "00e3c58d-f619-4f86-9c60-35bcf67e1688"
},
"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.Internal.BooleanShaderProperty",
"m_ObjectId": "b4207ee9d3584969a07178ae04e7b070",
"m_Guid": {
"m_GuidSerialized": "a047bf0f-4632-4c68-acfc-3d7201139cae"
},
"m_Name": "EnableAdditionalLights",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "EnableAdditionalLights",
"m_DefaultReferenceName": "_EnableAdditionalLights",
"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": true
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BooleanMaterialSlot",
"m_ObjectId": "ba4fe48546e949cbad22396207db190b",
"m_Id": -143598040,
"m_DisplayName": "EnableAdditionalLights",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "_EnableAdditionalLights",
"m_StageCapability": 3,
"m_Value": true,
"m_DefaultValue": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode",
"m_ObjectId": "bb8f7a98164c47f5a0847583c811746b",
"m_Group": {
"m_Id": ""
},
"m_Name": "Output",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 1364.0,
"y": -689.0,
"width": 113.0,
"height": 77.0
}
},
"m_Slots": [
{
"m_Id": "b118df34efdc4bd2ba4a91a1e7918cc0"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"IsFirstSlotValid": true
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
"m_ObjectId": "c0196d4bd0a4449ea7ddf006c517e3e9",
"m_Guid": {
"m_GuidSerialized": "1f2957d3-6c04-4724-a609-56fbc25bf66e"
},
"m_Name": "AmbientOcclusion",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "AmbientOcclusion",
"m_DefaultReferenceName": "_AmbientOcclusion",
"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.Vector3MaterialSlot",
"m_ObjectId": "c35822b66c7d48379f13fdafc19025c7",
"m_Id": 2068196862,
"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.Vector1MaterialSlot",
"m_ObjectId": "d27bfdeb0ebc4e599c9e950a4da7999f",
"m_Id": -11593847,
"m_DisplayName": "Reflectance",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "_Reflectance",
"m_StageCapability": 3,
"m_Value": 0.5,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "d65744ba5b084735b38f007da536dd46",
"m_Id": -11593847,
"m_DisplayName": "Reflectance",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "_Reflectance",
"m_StageCapability": 3,
"m_Value": 0.5,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "d7c4e6bfaff94b5ab12e64009f27457f",
"m_Id": -741556139,
"m_DisplayName": "AmbientOcclusion",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "_AmbientOcclusion",
"m_StageCapability": 3,
"m_Value": 1.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "df4ab05b7ef44b6bba4604400630af4d",
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "df6537d6fc6b4761af3b291a8621a723",
"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_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.CategoryData",
"m_ObjectId": "e709e223496843fda9ab030b8ee725ed",
"m_Name": "",
"m_ChildObjectList": [
{
"m_Id": "f80358c81d964c3e9ab7d80a4570386d"
},
{
"m_Id": "b4207ee9d3584969a07178ae04e7b070"
},
{
"m_Id": "0344e6505c2248c7838ea65e83145f8c"
}
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "f444792b39424cb1b85d479fa4339f24",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 513.0,
"y": -475.0,
"width": 123.0,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "b1b7e9c468e24029aabd7a5cdbfa14bb"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "b2355082ef484cd9996962a1b6dcb746"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "f70b469cef72484590ee6cfd2cbc5d39",
"m_Id": 542436400,
"m_DisplayName": "Metallic",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "_Metallic",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.ShaderKeyword",
"m_ObjectId": "f80358c81d964c3e9ab7d80a4570386d",
"m_Guid": {
"m_GuidSerialized": "40091167-41cc-4df9-a849-b03d16a1c3a5"
},
"m_Name": "Material Quality",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "Material Quality",
"m_DefaultReferenceName": "MATERIAL_QUALITY",
"m_OverrideReferenceName": "MATERIAL_QUALITY",
"m_GeneratePropertyBlock": false,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
"m_DismissedVersion": 0,
"m_KeywordType": 1,
"m_KeywordDefinition": 1,
"m_KeywordScope": 1,
"m_KeywordStages": 63,
"m_Entries": [
{
"id": 1,
"displayName": "High",
"referenceName": "HIGH"
},
{
"id": 2,
"displayName": "Medium",
"referenceName": "MEDIUM"
},
{
"id": 3,
"displayName": "Low",
"referenceName": "LOW"
}
],
"m_Value": 2,
"m_IsEditable": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "fc8878cf75124c7e858b38215a9c359e",
"m_Id": 0,
"m_DisplayName": "AmbientOcclusion",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}