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

1362 lines
30 KiB
Plaintext

{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "797ba26eab474f1aa66c9474b175fee2",
"m_Properties": [
{
"m_Id": "b7bf82abdc4243049bebd429cd08ab3e"
},
{
"m_Id": "7a8671d8efd740eb86c782656d3d9fbb"
},
{
"m_Id": "bae90c698304498c87ee42ebf61ea5b0"
}
],
"m_Keywords": [],
"m_Dropdowns": [],
"m_CategoryData": [
{
"m_Id": "6a22004dd7bd4621ba0da6d143cd3c05"
}
],
"m_Nodes": [
{
"m_Id": "d682889694d04ab6b4f87e68eb93dffc"
},
{
"m_Id": "807a36d4fedf4bb4ada2396f6c52841e"
},
{
"m_Id": "7b4b2b7ec61a4b788160178df3d79684"
},
{
"m_Id": "4471b22035db45d6a80af0f2c1fb4cb9"
},
{
"m_Id": "923193a95d564ad4bceadb87d5266ea7"
},
{
"m_Id": "2230769b7ffd47ac86e59568933fa946"
},
{
"m_Id": "28c414b3b84441d1a211c2d780c48bec"
},
{
"m_Id": "a37b4136b0f046e7bc6997bde59dc280"
},
{
"m_Id": "3bd7ab2d87464f18916c688ced7b5b2f"
},
{
"m_Id": "1c84b125115c422383bfa40f416343ef"
},
{
"m_Id": "f067a1a24e454c7893547a83b0847656"
}
],
"m_GroupDatas": [],
"m_StickyNoteDatas": [],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "1c84b125115c422383bfa40f416343ef"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "d682889694d04ab6b4f87e68eb93dffc"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "2230769b7ffd47ac86e59568933fa946"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "28c414b3b84441d1a211c2d780c48bec"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "28c414b3b84441d1a211c2d780c48bec"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "1c84b125115c422383bfa40f416343ef"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "3bd7ab2d87464f18916c688ced7b5b2f"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "28c414b3b84441d1a211c2d780c48bec"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "4471b22035db45d6a80af0f2c1fb4cb9"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "807a36d4fedf4bb4ada2396f6c52841e"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "7b4b2b7ec61a4b788160178df3d79684"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "807a36d4fedf4bb4ada2396f6c52841e"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "807a36d4fedf4bb4ada2396f6c52841e"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "f067a1a24e454c7893547a83b0847656"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "923193a95d564ad4bceadb87d5266ea7"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "2230769b7ffd47ac86e59568933fa946"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "a37b4136b0f046e7bc6997bde59dc280"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "1c84b125115c422383bfa40f416343ef"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "a37b4136b0f046e7bc6997bde59dc280"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "3bd7ab2d87464f18916c688ced7b5b2f"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "f067a1a24e454c7893547a83b0847656"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "923193a95d564ad4bceadb87d5266ea7"
},
"m_SlotId": 0
}
}
],
"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": "d682889694d04ab6b4f87e68eb93dffc"
},
"m_SubDatas": [],
"m_ActiveTargets": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "085c30d5ffca4f2e810d0adf9a6c9945",
"m_Id": 1,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "17c14616852b4ab4b7c983596fdd28f9",
"m_Id": 1,
"m_DisplayName": "B",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"m_StageCapability": 3,
"m_Value": {
"x": 5.0,
"y": 2.0,
"z": 2.0,
"w": 2.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.AddNode",
"m_ObjectId": "1c84b125115c422383bfa40f416343ef",
"m_Group": {
"m_Id": ""
},
"m_Name": "Add",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 93.5,
"y": 268.50006103515627,
"width": 129.49993896484376,
"height": 118.0
}
},
"m_Slots": [
{
"m_Id": "7f92f0dd46e94b3ab1cb6d4ae083c9fb"
},
{
"m_Id": "426ae109eaad4de983e714c0552dcb69"
},
{
"m_Id": "43d9e13f31654eea8290c9b37ed92b9a"
}
],
"synonyms": [
"addition",
"sum",
"plus"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PowerNode",
"m_ObjectId": "2230769b7ffd47ac86e59568933fa946",
"m_Group": {
"m_Id": ""
},
"m_Name": "Power",
"m_DrawState": {
"m_Expanded": false,
"m_Position": {
"serializedVersion": "2",
"x": -211.0,
"y": 164.50001525878907,
"width": 126.0,
"height": 94.00004577636719
}
},
"m_Slots": [
{
"m_Id": "95f4df9c927b424b8cd24f4728fd2637"
},
{
"m_Id": "17c14616852b4ab4b7c983596fdd28f9"
},
{
"m_Id": "f3a17207685e47f080754e3de613d655"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.MultiplyNode",
"m_ObjectId": "28c414b3b84441d1a211c2d780c48bec",
"m_Group": {
"m_Id": ""
},
"m_Name": "Multiply",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -61.5,
"y": 164.50001525878907,
"width": 129.5,
"height": 118.00004577636719
}
},
"m_Slots": [
{
"m_Id": "2b0be79ef20342a9ad11a118dbcac5e4"
},
{
"m_Id": "ec7faf67f1b845e193ef2ebe4fdfe772"
},
{
"m_Id": "d8856d0417c8404a91f2a4e00181cb42"
}
],
"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.DynamicValueMaterialSlot",
"m_ObjectId": "2b0be79ef20342a9ad11a118dbcac5e4",
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "2e304992d20a47be912098110978c9b9",
"m_Id": 1,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "30e62105b18b4a9d90cdca593b7326f3",
"m_Id": 2,
"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.OneMinusNode",
"m_ObjectId": "3bd7ab2d87464f18916c688ced7b5b2f",
"m_Group": {
"m_Id": ""
},
"m_Name": "One Minus",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -216.50001525878907,
"y": 258.5000305175781,
"width": 131.49996948242188,
"height": 94.0
}
},
"m_Slots": [
{
"m_Id": "ec8fecdc300f4065b88b1f2936afa33d"
},
{
"m_Id": "2e304992d20a47be912098110978c9b9"
}
],
"synonyms": [
"complement",
"invert",
"opposite"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "426ae109eaad4de983e714c0552dcb69",
"m_Id": 1,
"m_DisplayName": "B",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"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": "43d9e13f31654eea8290c9b37ed92b9a",
"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.PropertyNode",
"m_ObjectId": "4471b22035db45d6a80af0f2c1fb4cb9",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -732.5000610351563,
"y": 200.50001525878907,
"width": 126.0,
"height": 34.000030517578128
}
},
"m_Slots": [
{
"m_Id": "9f466c5c95c24ea381f1820cb72a2792"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "7a8671d8efd740eb86c782656d3d9fbb"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "5705176f5b734df3990a5508510b15eb",
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "688346a3592b4ba29060995b7d4580a9",
"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.CategoryData",
"m_ObjectId": "6a22004dd7bd4621ba0da6d143cd3c05",
"m_Name": "",
"m_ChildObjectList": [
{
"m_Id": "b7bf82abdc4243049bebd429cd08ab3e"
},
{
"m_Id": "7a8671d8efd740eb86c782656d3d9fbb"
},
{
"m_Id": "bae90c698304498c87ee42ebf61ea5b0"
}
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "6abb00c2eb124438b596535c2ce5c1f8",
"m_Id": 0,
"m_DisplayName": "In",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "In",
"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": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector3ShaderProperty",
"m_ObjectId": "7a8671d8efd740eb86c782656d3d9fbb",
"m_Guid": {
"m_GuidSerialized": "a14fec6c-31b7-4d0e-b198-d257f072b7b0"
},
"m_Name": "halfAngle",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "halfAngle",
"m_DefaultReferenceName": "_halfAngle",
"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": "7b4b2b7ec61a4b788160178df3d79684",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -722.5000610351563,
"y": 234.5000457763672,
"width": 116.0,
"height": 34.00001525878906
}
},
"m_Slots": [
{
"m_Id": "7ed260b08b014345a850a42b4371b95a"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "b7bf82abdc4243049bebd429cd08ab3e"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "7ed260b08b014345a850a42b4371b95a",
"m_Id": 0,
"m_DisplayName": "viewDir",
"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": "7f92f0dd46e94b3ab1cb6d4ae083c9fb",
"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.DotProductNode",
"m_ObjectId": "807a36d4fedf4bb4ada2396f6c52841e",
"m_Group": {
"m_Id": ""
},
"m_Name": "Dot Product",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -593.5000610351563,
"y": 164.50001525878907,
"width": 127.50003051757813,
"height": 118.00004577636719
}
},
"m_Slots": [
{
"m_Id": "688346a3592b4ba29060995b7d4580a9"
},
{
"m_Id": "e8a6d28be5d1445f82b9a7e0bd47b861"
},
{
"m_Id": "30e62105b18b4a9d90cdca593b7326f3"
}
],
"synonyms": [
"scalar product"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.OneMinusNode",
"m_ObjectId": "923193a95d564ad4bceadb87d5266ea7",
"m_Group": {
"m_Id": ""
},
"m_Name": "One Minus",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -338.5000305175781,
"y": 164.50001525878907,
"width": 127.50003051757813,
"height": 94.00004577636719
}
},
"m_Slots": [
{
"m_Id": "6abb00c2eb124438b596535c2ce5c1f8"
},
{
"m_Id": "085c30d5ffca4f2e810d0adf9a6c9945"
}
],
"synonyms": [
"complement",
"invert",
"opposite"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "95f4df9c927b424b8cd24f4728fd2637",
"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.Vector3MaterialSlot",
"m_ObjectId": "9f466c5c95c24ea381f1820cb72a2792",
"m_Id": 0,
"m_DisplayName": "halfAngle",
"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": "a37b4136b0f046e7bc6997bde59dc280",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -350.5000305175781,
"y": 335.50006103515627,
"width": 121.50003051757813,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "fee275137d09460cb459c9b688a4ef00"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "bae90c698304498c87ee42ebf61ea5b0"
}
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector3ShaderProperty",
"m_ObjectId": "b7bf82abdc4243049bebd429cd08ab3e",
"m_Guid": {
"m_GuidSerialized": "fd1ed4ad-4c3f-43c3-94fb-589e7b7ea8b7"
},
"m_Name": "viewDir",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "viewDir",
"m_DefaultReferenceName": "_viewDir",
"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.Vector3ShaderProperty",
"m_ObjectId": "bae90c698304498c87ee42ebf61ea5b0",
"m_Guid": {
"m_GuidSerialized": "55a2531e-4df5-4979-82ae-2f830b2c6efc"
},
"m_Name": "specular",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "specular",
"m_DefaultReferenceName": "_specular",
"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.03999999910593033,
"y": 0.03999999910593033,
"z": 0.03999999910593033,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "cfa8cc618c6b45f5a5d87f225775ddc1",
"m_Id": 1,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode",
"m_ObjectId": "d682889694d04ab6b4f87e68eb93dffc",
"m_Group": {
"m_Id": ""
},
"m_Name": "Output",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 223.0,
"y": 268.50006103515627,
"width": 85.5,
"height": 77.0
}
},
"m_Slots": [
{
"m_Id": "5705176f5b734df3990a5508510b15eb"
}
],
"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": "d8856d0417c8404a91f2a4e00181cb42",
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "e8a6d28be5d1445f82b9a7e0bd47b861",
"m_Id": 1,
"m_DisplayName": "B",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 1.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.DynamicValueMaterialSlot",
"m_ObjectId": "ec7faf67f1b845e193ef2ebe4fdfe772",
"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": "ec8fecdc300f4065b88b1f2936afa33d",
"m_Id": 0,
"m_DisplayName": "In",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "In",
"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.SaturateNode",
"m_ObjectId": "f067a1a24e454c7893547a83b0847656",
"m_Group": {
"m_Id": ""
},
"m_Name": "Saturate",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -466.0000305175781,
"y": 164.50001525878907,
"width": 127.5,
"height": 94.00004577636719
}
},
"m_Slots": [
{
"m_Id": "f780e0a73b8842a69d4e0794661da820"
},
{
"m_Id": "cfa8cc618c6b45f5a5d87f225775ddc1"
}
],
"synonyms": [
"clamp"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "f3a17207685e47f080754e3de613d655",
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "f780e0a73b8842a69d4e0794661da820",
"m_Id": 0,
"m_DisplayName": "In",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "In",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "fee275137d09460cb459c9b688a4ef00",
"m_Id": 0,
"m_DisplayName": "specular",
"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": []
}