UnityGame/Library/PackageCache/com.unity.shadergraph/Samples~/FeatureExamples/Custom Lighting/PBR/CustomLightingMainLight.shadersubgraph
2024-10-27 10:53:47 +03:00

1685 lines
40 KiB
Plaintext

{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "7ff8ad29e113411cb2d72e8757e11957",
"m_Properties": [
{
"m_Id": "ff66132fc2ad419b8611fa4499dd5249"
},
{
"m_Id": "92eb8a0920c3446598f01f85ee4125aa"
},
{
"m_Id": "8e57c2e6e8f34fb8a2b797728d5f37f1"
},
{
"m_Id": "9a3d53dde03b44cd839038d8fa99a133"
},
{
"m_Id": "08feca84aa054dd59258dc9a827409b2"
}
],
"m_Keywords": [],
"m_Dropdowns": [],
"m_CategoryData": [
{
"m_Id": "fcdd40256bca4bb5a303df82187591ae"
}
],
"m_Nodes": [
{
"m_Id": "21e76f639a9b4d129a073a6d3711fb74"
},
{
"m_Id": "1e42df3094a948cf9171f581cdb46361"
},
{
"m_Id": "031d8ebde896438d8801ce45e34a5295"
},
{
"m_Id": "f751f85cc0d343f48923dbeb4fa3db95"
},
{
"m_Id": "a8e5d4d351e4407c953bd535c8655c4d"
},
{
"m_Id": "1aee6e3ce0194db6bd9a4c27fa5531e5"
},
{
"m_Id": "035b0d60cf5943a9bd15383eb7f41cd3"
},
{
"m_Id": "e0bd185b8df34ebb834fb61330c14e1e"
},
{
"m_Id": "fedc32680cd24db7ba97d651d8ff2009"
},
{
"m_Id": "1c76088659c745769887334a6c7d44cb"
},
{
"m_Id": "3d4292465b304864825c75a83ab3928b"
},
{
"m_Id": "79091511122544d5b491f57616f0e1a7"
}
],
"m_GroupDatas": [],
"m_StickyNoteDatas": [
{
"m_Id": "c24059175ffd41caab7253b56ea7e5e3"
}
],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "031d8ebde896438d8801ce45e34a5295"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "f751f85cc0d343f48923dbeb4fa3db95"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "031d8ebde896438d8801ce45e34a5295"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "f751f85cc0d343f48923dbeb4fa3db95"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "035b0d60cf5943a9bd15383eb7f41cd3"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "a8e5d4d351e4407c953bd535c8655c4d"
},
"m_SlotId": -1381671355
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "1aee6e3ce0194db6bd9a4c27fa5531e5"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "a8e5d4d351e4407c953bd535c8655c4d"
},
"m_SlotId": -743231809
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "1c76088659c745769887334a6c7d44cb"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "21e76f639a9b4d129a073a6d3711fb74"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "1e42df3094a948cf9171f581cdb46361"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "f751f85cc0d343f48923dbeb4fa3db95"
},
"m_SlotId": 2
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "3d4292465b304864825c75a83ab3928b"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "a8e5d4d351e4407c953bd535c8655c4d"
},
"m_SlotId": -1306687442
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "79091511122544d5b491f57616f0e1a7"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "a8e5d4d351e4407c953bd535c8655c4d"
},
"m_SlotId": 812571099
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "79091511122544d5b491f57616f0e1a7"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "e0bd185b8df34ebb834fb61330c14e1e"
},
"m_SlotId": 1314366604
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "79091511122544d5b491f57616f0e1a7"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "1c76088659c745769887334a6c7d44cb"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "79091511122544d5b491f57616f0e1a7"
},
"m_SlotId": 3
},
"m_InputSlot": {
"m_Node": {
"m_Id": "1c76088659c745769887334a6c7d44cb"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "a8e5d4d351e4407c953bd535c8655c4d"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "21e76f639a9b4d129a073a6d3711fb74"
},
"m_SlotId": 3
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "e0bd185b8df34ebb834fb61330c14e1e"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "21e76f639a9b4d129a073a6d3711fb74"
},
"m_SlotId": 2
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "f751f85cc0d343f48923dbeb4fa3db95"
},
"m_SlotId": 3
},
"m_InputSlot": {
"m_Node": {
"m_Id": "a8e5d4d351e4407c953bd535c8655c4d"
},
"m_SlotId": 1800447459
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "f751f85cc0d343f48923dbeb4fa3db95"
},
"m_SlotId": 3
},
"m_InputSlot": {
"m_Node": {
"m_Id": "e0bd185b8df34ebb834fb61330c14e1e"
},
"m_SlotId": -1909435687
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "fedc32680cd24db7ba97d651d8ff2009"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "a8e5d4d351e4407c953bd535c8655c4d"
},
"m_SlotId": -758561847
}
}
],
"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": "21e76f639a9b4d129a073a6d3711fb74"
},
"m_SubDatas": [],
"m_ActiveTargets": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "031d8ebde896438d8801ce45e34a5295",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1287.0001220703125,
"y": -224.99996948242188,
"width": 132.0,
"height": 33.999969482421878
}
},
"m_Slots": [
{
"m_Id": "9a9166700cee49039cedee7a6b2c3b1a"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "ff66132fc2ad419b8611fa4499dd5249"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "035b0d60cf5943a9bd15383eb7f41cd3",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1066.0001220703125,
"y": -30.999998092651368,
"width": 116.00006103515625,
"height": 34.00000762939453
}
},
"m_Slots": [
{
"m_Id": "79785515a6c8470983795e12f1453b92"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "9a3d53dde03b44cd839038d8fa99a133"
}
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
"m_ObjectId": "08feca84aa054dd59258dc9a827409b2",
"m_Guid": {
"m_GuidSerialized": "93404937-2e35-4c2e-85f2-ff75f82d5f74"
},
"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.03999999910593033,
"m_FloatType": 0,
"m_RangeValues": {
"x": 0.0,
"y": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "0b55d16a5eca4a65b37a705bdb2b80de",
"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.PropertyNode",
"m_ObjectId": "1aee6e3ce0194db6bd9a4c27fa5531e5",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1081.0001220703125,
"y": -98.00000762939453,
"width": 131.00006103515626,
"height": 34.0000114440918
}
},
"m_Slots": [
{
"m_Id": "2a0bb48b83ae4c589f1dca683829bca4"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "8e57c2e6e8f34fb8a2b797728d5f37f1"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.MultiplyNode",
"m_ObjectId": "1c76088659c745769887334a6c7d44cb",
"m_Group": {
"m_Id": ""
},
"m_Name": "Multiply",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -773.5001220703125,
"y": 72.99999237060547,
"width": 129.50006103515626,
"height": 117.99999237060547
}
},
"m_Slots": [
{
"m_Id": "e2f429dc3ac84711b016baf6a2742312"
},
{
"m_Id": "93d3c8be0d55489eade6aba6cd3946eb"
},
{
"m_Id": "2688005a06d7461d8c9a39990b3af2d7"
}
],
"synonyms": [
"multiplication",
"times",
"x"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.NormalVectorNode",
"m_ObjectId": "1e42df3094a948cf9171f581cdb46361",
"m_Group": {
"m_Id": ""
},
"m_Name": "Normal Vector",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1364.0001220703125,
"y": -186.99998474121095,
"width": 206.0,
"height": 131.00003051757813
}
},
"m_Slots": [
{
"m_Id": "4679bcca256a4dedb0c4739e88b30cf0"
}
],
"synonyms": [
"surface direction"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 2,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Space": 2
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode",
"m_ObjectId": "21e76f639a9b4d129a073a6d3711fb74",
"m_Group": {
"m_Id": ""
},
"m_Name": "Output",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -375.9999694824219,
"y": -166.99998474121095,
"width": 101.00003051757813,
"height": 125.00001525878906
}
},
"m_Slots": [
{
"m_Id": "4669cc2c686c4588b2f646d00bfab7a8"
},
{
"m_Id": "586db73252404454aaf1347dac569d54"
},
{
"m_Id": "2cbff69a22fc45308424c8aea6b57a05"
}
],
"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.DynamicValueMaterialSlot",
"m_ObjectId": "2688005a06d7461d8c9a39990b3af2d7",
"m_Id": 2,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": {
"e00": 0.0,
"e01": 0.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
"e11": 0.0,
"e12": 0.0,
"e13": 0.0,
"e20": 0.0,
"e21": 0.0,
"e22": 0.0,
"e23": 0.0,
"e30": 0.0,
"e31": 0.0,
"e32": 0.0,
"e33": 0.0
},
"m_DefaultValue": {
"e00": 1.0,
"e01": 0.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
"e11": 1.0,
"e12": 0.0,
"e13": 0.0,
"e20": 0.0,
"e21": 0.0,
"e22": 1.0,
"e23": 0.0,
"e30": 0.0,
"e31": 0.0,
"e32": 0.0,
"e33": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "2a0bb48b83ae4c589f1dca683829bca4",
"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.Vector3MaterialSlot",
"m_ObjectId": "2cbff69a22fc45308424c8aea6b57a05",
"m_Id": 1,
"m_DisplayName": "Color",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "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.DynamicVectorMaterialSlot",
"m_ObjectId": "305fd240c3064da49aad88eaea1e65af",
"m_Id": 1,
"m_DisplayName": "Connected",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Connected",
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "3124c058d2ff4a23a0e427e800a19351",
"m_Id": 2,
"m_DisplayName": "NotConnected",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "NotConnected",
"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": "39ae706731f3432d848c49a533cede7c",
"m_Id": 1,
"m_DisplayName": "Direction",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Direction",
"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": "3d4292465b304864825c75a83ab3928b",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1087.0001220703125,
"y": 3.0000100135803224,
"width": 137.00006103515626,
"height": 33.99998474121094
}
},
"m_Slots": [
{
"m_Id": "f7aa21a630ad4f8fb8570af1a17819be"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "08feca84aa054dd59258dc9a827409b2"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "4669cc2c686c4588b2f646d00bfab7a8",
"m_Id": 2,
"m_DisplayName": "Diffuse",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Diffuse",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "4679bcca256a4dedb0c4739e88b30cf0",
"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": 1.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 1.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "4805fedf31824ba6bbce1bf9055293a5",
"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": "586db73252404454aaf1347dac569d54",
"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.Vector3MaterialSlot",
"m_ObjectId": "6e9eadeb787c49e8aba11f11b303f0d7",
"m_Id": -743231809,
"m_DisplayName": "BaseColor",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "_BaseColor",
"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.SubGraphNode",
"m_ObjectId": "79091511122544d5b491f57616f0e1a7",
"m_Group": {
"m_Id": ""
},
"m_Name": "MainLight",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1081.0,
"y": 48.00001525878906,
"width": 122.99993896484375,
"height": 143.00001525878907
}
},
"m_Slots": [
{
"m_Id": "39ae706731f3432d848c49a533cede7c"
},
{
"m_Id": "9c3bd22dc0744a2db16d0911f165bf60"
},
{
"m_Id": "a52583fc3893452aa706aeccfa309b68"
}
],
"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\": \"62ad4455d271ca24aac0b75094d0ccff\",\n \"type\": 3\n }\n}",
"m_PropertyGuids": [],
"m_PropertyIds": [],
"m_Dropdowns": [],
"m_DropdownSelectedEntries": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "79785515a6c8470983795e12f1453b92",
"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": "7f65573c65cd499785ee897ac6ce9ac9",
"m_Id": 1314366604,
"m_DisplayName": "LightVector",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "_LightVector",
"m_StageCapability": 3,
"m_Value": {
"x": -0.699999988079071,
"y": 0.699999988079071,
"z": 0.699999988079071
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "8a7d3a85241e4814b8e36a7d37b2692f",
"m_Id": -758561847,
"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": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector3ShaderProperty",
"m_ObjectId": "8e57c2e6e8f34fb8a2b797728d5f37f1",
"m_Guid": {
"m_GuidSerialized": "d3e68c58-f05f-45a8-b42b-7f29429d1669"
},
"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.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
"m_ObjectId": "92eb8a0920c3446598f01f85ee4125aa",
"m_Guid": {
"m_GuidSerialized": "a6361311-77b9-4c9a-b5ae-434cc58b4cfb"
},
"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.DynamicValueMaterialSlot",
"m_ObjectId": "93d3c8be0d55489eade6aba6cd3946eb",
"m_Id": 1,
"m_DisplayName": "B",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"m_StageCapability": 3,
"m_Value": {
"e00": 2.0,
"e01": 2.0,
"e02": 2.0,
"e03": 2.0,
"e10": 2.0,
"e11": 2.0,
"e12": 2.0,
"e13": 2.0,
"e20": 2.0,
"e21": 2.0,
"e22": 2.0,
"e23": 2.0,
"e30": 2.0,
"e31": 2.0,
"e32": 2.0,
"e33": 2.0
},
"m_DefaultValue": {
"e00": 1.0,
"e01": 0.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
"e11": 1.0,
"e12": 0.0,
"e13": 0.0,
"e20": 0.0,
"e21": 0.0,
"e22": 1.0,
"e23": 0.0,
"e30": 0.0,
"e31": 0.0,
"e32": 0.0,
"e33": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "9890fbd43a3e41a794daebfd0521f267",
"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,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
"m_ObjectId": "9a3d53dde03b44cd839038d8fa99a133",
"m_Guid": {
"m_GuidSerialized": "68f0d377-a882-48b3-b86c-5b5bf531f02e"
},
"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": "9a9166700cee49039cedee7a6b2c3b1a",
"m_Id": 0,
"m_DisplayName": "NormalWS",
"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": "9c3bd22dc0744a2db16d0911f165bf60",
"m_Id": 2,
"m_DisplayName": "Color",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "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": "a52583fc3893452aa706aeccfa309b68",
"m_Id": 3,
"m_DisplayName": "ShadowAtten",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "ShadowAtten",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SubGraphNode",
"m_ObjectId": "a8e5d4d351e4407c953bd535c8655c4d",
"m_Group": {
"m_Id": ""
},
"m_Name": "PBRSpecular",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -828.7500610351563,
"y": -140.24998474121095,
"width": 180.7501220703125,
"height": 213.0
}
},
"m_Slots": [
{
"m_Id": "6e9eadeb787c49e8aba11f11b303f0d7"
},
{
"m_Id": "d898b8726d9441988347bf713eb4d533"
},
{
"m_Id": "8a7d3a85241e4814b8e36a7d37b2692f"
},
{
"m_Id": "aedbb7f5d41943378ff4b83f65bd6f14"
},
{
"m_Id": "aff3eda2c3eb43428aee020613b4a07b"
},
{
"m_Id": "fc3003951f4c47429d790d3f9b02118b"
},
{
"m_Id": "4805fedf31824ba6bbce1bf9055293a5"
}
],
"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\": \"a736ca896328e6a4db25418ca361f571\",\n \"type\": 3\n }\n}",
"m_PropertyGuids": [
"d697fc20-dddc-43a5-8313-1ea1c01c9fe7",
"73e940b8-49cc-4442-a83b-1dbb3f97e6e7",
"c1a7fcac-dc27-479f-a9b5-4470ebd6b524",
"1121d660-83ba-477d-8d9f-9c911294656a",
"e78105c6-1693-4183-b4de-20923a144c04",
"15efd3fd-aa33-4e54-8c6f-31a26c9e974b"
],
"m_PropertyIds": [
-743231809,
1800447459,
-758561847,
-1381671355,
812571099,
-1306687442
],
"m_Dropdowns": [],
"m_DropdownSelectedEntries": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "aedbb7f5d41943378ff4b83f65bd6f14",
"m_Id": -1381671355,
"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.Vector1MaterialSlot",
"m_ObjectId": "aff3eda2c3eb43428aee020613b4a07b",
"m_Id": -1306687442,
"m_DisplayName": "Reflectance",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "_Reflectance",
"m_StageCapability": 3,
"m_Value": 0.03999999910593033,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "b16b771324ba403ea5279c6e8b9f3198",
"m_Id": -1909435687,
"m_DisplayName": "NormalWS",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "_NormalWS",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 1.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": "bc163ffa6a924cc296b83336eebed77b",
"m_Id": 1,
"m_DisplayName": "Out",
"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.StickyNoteData",
"m_ObjectId": "c24059175ffd41caab7253b56ea7e5e3",
"m_Title": "",
"m_Content": "For the main light source, we're able to compute both diffuse and specular entirely using Shader Graph nodes. This allows you to customize the results however you want! Here, we're using physically accurate PBR math.",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -832.0,
"y": -388.0,
"width": 200.0,
"height": 116.0
},
"m_Group": {
"m_Id": ""
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "d898b8726d9441988347bf713eb4d533",
"m_Id": 1800447459,
"m_DisplayName": "NormalWS",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "_NormalWS",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 1.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": "e0bd185b8df34ebb834fb61330c14e1e",
"m_Group": {
"m_Id": ""
},
"m_Name": "DiffusePBR",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -828.7500610351563,
"y": -257.25,
"width": 177.00006103515626,
"height": 116.99995422363281
}
},
"m_Slots": [
{
"m_Id": "b16b771324ba403ea5279c6e8b9f3198"
},
{
"m_Id": "7f65573c65cd499785ee897ac6ce9ac9"
},
{
"m_Id": "bc163ffa6a924cc296b83336eebed77b"
}
],
"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\": \"70778d50ab4f02044b7d881d93948973\",\n \"type\": 3\n }\n}",
"m_PropertyGuids": [
"bbcb7da3-6bbe-4753-8e85-86cf8d414307",
"14a27ec0-1328-485d-8e92-4b76bfad84a4",
"87638f0a-d94d-4c23-855f-706d2afcfc4e",
"bc0dafd1-46fd-428e-a980-4ff409cd9b44"
],
"m_PropertyIds": [
878563870,
-1909435687,
-389220888,
1314366604
],
"m_Dropdowns": [],
"m_DropdownSelectedEntries": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
"m_ObjectId": "e2f429dc3ac84711b016baf6a2742312",
"m_Id": 0,
"m_DisplayName": "A",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "A",
"m_StageCapability": 3,
"m_Value": {
"e00": 0.0,
"e01": 0.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
"e11": 0.0,
"e12": 0.0,
"e13": 0.0,
"e20": 0.0,
"e21": 0.0,
"e22": 0.0,
"e23": 0.0,
"e30": 0.0,
"e31": 0.0,
"e32": 0.0,
"e33": 0.0
},
"m_DefaultValue": {
"e00": 1.0,
"e01": 0.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
"e11": 1.0,
"e12": 0.0,
"e13": 0.0,
"e20": 0.0,
"e21": 0.0,
"e22": 1.0,
"e23": 0.0,
"e30": 0.0,
"e31": 0.0,
"e32": 0.0,
"e33": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyConnectionStateMaterialSlot",
"m_ObjectId": "e43ecf5c490f4342b4489285649a1a21",
"m_Id": 0,
"m_DisplayName": "Input",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Input",
"m_StageCapability": 3
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BranchOnInputConnectionNode",
"m_ObjectId": "f751f85cc0d343f48923dbeb4fa3db95",
"m_Group": {
"m_Id": ""
},
"m_Name": "Branch On Input Connection",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1135.0001220703125,
"y": -257.0,
"width": 206.0,
"height": 142.00003051757813
}
},
"m_Slots": [
{
"m_Id": "e43ecf5c490f4342b4489285649a1a21"
},
{
"m_Id": "305fd240c3064da49aad88eaea1e65af"
},
{
"m_Id": "3124c058d2ff4a23a0e427e800a19351"
},
{
"m_Id": "9890fbd43a3e41a794daebfd0521f267"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "f7aa21a630ad4f8fb8570af1a17819be",
"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.Vector3MaterialSlot",
"m_ObjectId": "fc3003951f4c47429d790d3f9b02118b",
"m_Id": 812571099,
"m_DisplayName": "LightVector",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "_LightVector",
"m_StageCapability": 3,
"m_Value": {
"x": -0.699999988079071,
"y": 0.699999988079071,
"z": 0.699999988079071
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.CategoryData",
"m_ObjectId": "fcdd40256bca4bb5a303df82187591ae",
"m_Name": "",
"m_ChildObjectList": [
{
"m_Id": "8e57c2e6e8f34fb8a2b797728d5f37f1"
},
{
"m_Id": "ff66132fc2ad419b8611fa4499dd5249"
},
{
"m_Id": "9a3d53dde03b44cd839038d8fa99a133"
},
{
"m_Id": "92eb8a0920c3446598f01f85ee4125aa"
},
{
"m_Id": "08feca84aa054dd59258dc9a827409b2"
}
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "fedc32680cd24db7ba97d651d8ff2009",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1090.5001220703125,
"y": -64.50001525878906,
"width": 138.00006103515626,
"height": 33.0
}
},
"m_Slots": [
{
"m_Id": "0b55d16a5eca4a65b37a705bdb2b80de"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "92eb8a0920c3446598f01f85ee4125aa"
}
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector3ShaderProperty",
"m_ObjectId": "ff66132fc2ad419b8611fa4499dd5249",
"m_Guid": {
"m_GuidSerialized": "94e8a061-f726-4263-afcb-02a4190baeb3"
},
"m_Name": "NormalWS",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "NormalWS",
"m_DefaultReferenceName": "_NormalWS",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": true,
"m_CustomSlotLabel": "WorldNormalVector",
"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
}
}