mirror of
https://github.com/maxartz15/VertexAnimation.git
synced 2024-11-09 22:32:55 +01:00
max
f2b6a61d1e
Custom vector3 encoding/decoding test. removed normal decoding from VA functions, this should now be done outside this function to allow easy switching of decoders. Co-Authored-By: Neeto-rzo <68438932+Neeto-rzo@users.noreply.github.com>
1955 lines
44 KiB
Plaintext
1955 lines
44 KiB
Plaintext
{
|
|
"m_SGVersion": 2,
|
|
"m_Type": "UnityEditor.ShaderGraph.GraphData",
|
|
"m_ObjectId": "c7ab02b3d2bd47c79f4034474e52d707",
|
|
"m_Properties": [
|
|
{
|
|
"m_Id": "396ac41a621a4617b55c24f56d4cc880"
|
|
}
|
|
],
|
|
"m_Keywords": [],
|
|
"m_Nodes": [
|
|
{
|
|
"m_Id": "67757f45d3e44d1f98ebdbd53edd7219"
|
|
},
|
|
{
|
|
"m_Id": "0fadfce750cc482ba5fe4abce54dad06"
|
|
},
|
|
{
|
|
"m_Id": "6797787494754ac48f86f02dfd105684"
|
|
},
|
|
{
|
|
"m_Id": "c58e84db49664e198f1b2ac966d65162"
|
|
},
|
|
{
|
|
"m_Id": "351d95815c754e89accb488c5b9f2cb5"
|
|
},
|
|
{
|
|
"m_Id": "ad9c4c6ee6c24d55ab114393754ae56e"
|
|
},
|
|
{
|
|
"m_Id": "6b05dc772602465596b34a30e3c410b7"
|
|
},
|
|
{
|
|
"m_Id": "4a384bc7f8a8428394149ad69dd762f4"
|
|
},
|
|
{
|
|
"m_Id": "a1deb288e0a344d7b563b19d56f04cbc"
|
|
},
|
|
{
|
|
"m_Id": "81f45f8234b24f43b3196a3a98dd228e"
|
|
},
|
|
{
|
|
"m_Id": "70f3a186fc4540f29060cf4448c38be2"
|
|
},
|
|
{
|
|
"m_Id": "75d890275e834b3b9d2980ea4cd125a6"
|
|
},
|
|
{
|
|
"m_Id": "2143788c16a14946a554b2af5563b9a3"
|
|
},
|
|
{
|
|
"m_Id": "fd611f90178045f19ad19234ae974114"
|
|
},
|
|
{
|
|
"m_Id": "7af706ee64c6428981cb7049666be2ec"
|
|
},
|
|
{
|
|
"m_Id": "0397ad4c8b224e07898dae6e222f8d2f"
|
|
},
|
|
{
|
|
"m_Id": "303c709bf4ce437a8cc094391e8c1986"
|
|
},
|
|
{
|
|
"m_Id": "fd97305d5e394641bcdb75698382639a"
|
|
},
|
|
{
|
|
"m_Id": "162fa960f3894c9fb70367b3991edf5a"
|
|
},
|
|
{
|
|
"m_Id": "6b6867732354471b902be3554bba5b09"
|
|
},
|
|
{
|
|
"m_Id": "be7a8a9d9878441eaec283da2aaf8933"
|
|
}
|
|
],
|
|
"m_GroupDatas": [],
|
|
"m_StickyNoteDatas": [],
|
|
"m_Edges": [
|
|
{
|
|
"m_OutputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "0397ad4c8b224e07898dae6e222f8d2f"
|
|
},
|
|
"m_SlotId": 1
|
|
},
|
|
"m_InputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "fd97305d5e394641bcdb75698382639a"
|
|
},
|
|
"m_SlotId": 0
|
|
}
|
|
},
|
|
{
|
|
"m_OutputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "162fa960f3894c9fb70367b3991edf5a"
|
|
},
|
|
"m_SlotId": 3
|
|
},
|
|
"m_InputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "303c709bf4ce437a8cc094391e8c1986"
|
|
},
|
|
"m_SlotId": 1192378022
|
|
}
|
|
},
|
|
{
|
|
"m_OutputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "2143788c16a14946a554b2af5563b9a3"
|
|
},
|
|
"m_SlotId": 0
|
|
},
|
|
"m_InputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "0397ad4c8b224e07898dae6e222f8d2f"
|
|
},
|
|
"m_SlotId": -1980518314
|
|
}
|
|
},
|
|
{
|
|
"m_OutputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "2143788c16a14946a554b2af5563b9a3"
|
|
},
|
|
"m_SlotId": 0
|
|
},
|
|
"m_InputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "75d890275e834b3b9d2980ea4cd125a6"
|
|
},
|
|
"m_SlotId": 0
|
|
}
|
|
},
|
|
{
|
|
"m_OutputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "2143788c16a14946a554b2af5563b9a3"
|
|
},
|
|
"m_SlotId": 0
|
|
},
|
|
"m_InputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "81f45f8234b24f43b3196a3a98dd228e"
|
|
},
|
|
"m_SlotId": -1980518314
|
|
}
|
|
},
|
|
{
|
|
"m_OutputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "2143788c16a14946a554b2af5563b9a3"
|
|
},
|
|
"m_SlotId": 0
|
|
},
|
|
"m_InputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "fd611f90178045f19ad19234ae974114"
|
|
},
|
|
"m_SlotId": -1980518314
|
|
}
|
|
},
|
|
{
|
|
"m_OutputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "6b6867732354471b902be3554bba5b09"
|
|
},
|
|
"m_SlotId": 1
|
|
},
|
|
"m_InputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "be7a8a9d9878441eaec283da2aaf8933"
|
|
},
|
|
"m_SlotId": 0
|
|
}
|
|
},
|
|
{
|
|
"m_OutputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "7af706ee64c6428981cb7049666be2ec"
|
|
},
|
|
"m_SlotId": 1
|
|
},
|
|
"m_InputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "c58e84db49664e198f1b2ac966d65162"
|
|
},
|
|
"m_SlotId": 0
|
|
}
|
|
},
|
|
{
|
|
"m_OutputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "81f45f8234b24f43b3196a3a98dd228e"
|
|
},
|
|
"m_SlotId": 1
|
|
},
|
|
"m_InputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "70f3a186fc4540f29060cf4448c38be2"
|
|
},
|
|
"m_SlotId": 1192378022
|
|
}
|
|
},
|
|
{
|
|
"m_OutputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "fd611f90178045f19ad19234ae974114"
|
|
},
|
|
"m_SlotId": 1
|
|
},
|
|
"m_InputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "7af706ee64c6428981cb7049666be2ec"
|
|
},
|
|
"m_SlotId": 1192378022
|
|
}
|
|
},
|
|
{
|
|
"m_OutputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "fd97305d5e394641bcdb75698382639a"
|
|
},
|
|
"m_SlotId": 3
|
|
},
|
|
"m_InputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "162fa960f3894c9fb70367b3991edf5a"
|
|
},
|
|
"m_SlotId": 0
|
|
}
|
|
}
|
|
],
|
|
"m_VertexContext": {
|
|
"m_Position": {
|
|
"x": 0.0,
|
|
"y": 0.0
|
|
},
|
|
"m_Blocks": [
|
|
{
|
|
"m_Id": "67757f45d3e44d1f98ebdbd53edd7219"
|
|
},
|
|
{
|
|
"m_Id": "0fadfce750cc482ba5fe4abce54dad06"
|
|
},
|
|
{
|
|
"m_Id": "6797787494754ac48f86f02dfd105684"
|
|
}
|
|
]
|
|
},
|
|
"m_FragmentContext": {
|
|
"m_Position": {
|
|
"x": 0.0,
|
|
"y": 200.0
|
|
},
|
|
"m_Blocks": [
|
|
{
|
|
"m_Id": "c58e84db49664e198f1b2ac966d65162"
|
|
},
|
|
{
|
|
"m_Id": "351d95815c754e89accb488c5b9f2cb5"
|
|
},
|
|
{
|
|
"m_Id": "ad9c4c6ee6c24d55ab114393754ae56e"
|
|
},
|
|
{
|
|
"m_Id": "6b05dc772602465596b34a30e3c410b7"
|
|
},
|
|
{
|
|
"m_Id": "4a384bc7f8a8428394149ad69dd762f4"
|
|
},
|
|
{
|
|
"m_Id": "a1deb288e0a344d7b563b19d56f04cbc"
|
|
}
|
|
]
|
|
},
|
|
"m_PreviewData": {
|
|
"serializedMesh": {
|
|
"m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}",
|
|
"m_Guid": ""
|
|
}
|
|
},
|
|
"m_Path": "Shader Graphs",
|
|
"m_ConcretePrecision": 0,
|
|
"m_OutputNode": {
|
|
"m_Id": ""
|
|
},
|
|
"m_ActiveTargets": [
|
|
{
|
|
"m_Id": "6befb3dfcd134302855545ed69f81cdf"
|
|
}
|
|
]
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
|
|
"m_ObjectId": "00d93c3076254bf0aba807d340c92be8",
|
|
"m_Id": -1980518314,
|
|
"m_DisplayName": "Vector3",
|
|
"m_SlotType": 0,
|
|
"m_Priority": 2147483647,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "Vector3_f4f17c3262704090a48f16ca7b479fe2",
|
|
"m_StageCapability": 3,
|
|
"m_Value": {
|
|
"x": 1.0,
|
|
"y": 1.0,
|
|
"z": 1.0
|
|
},
|
|
"m_DefaultValue": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.0
|
|
},
|
|
"m_Labels": [
|
|
"X",
|
|
"Y",
|
|
"Z"
|
|
]
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
|
|
"m_ObjectId": "02ec6df6939249539bbbadf532d79b26",
|
|
"m_Id": 1,
|
|
"m_DisplayName": "In Min Max",
|
|
"m_SlotType": 0,
|
|
"m_Priority": 2147483647,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "InMinMax",
|
|
"m_StageCapability": 3,
|
|
"m_Value": {
|
|
"x": 0.0,
|
|
"y": 1.0
|
|
},
|
|
"m_DefaultValue": {
|
|
"x": 0.0,
|
|
"y": 0.0
|
|
},
|
|
"m_Labels": [
|
|
"X",
|
|
"Y"
|
|
]
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.SubGraphNode",
|
|
"m_ObjectId": "0397ad4c8b224e07898dae6e222f8d2f",
|
|
"m_Group": {
|
|
"m_Id": ""
|
|
},
|
|
"m_Name": "Encode2Vector3ToVector1",
|
|
"m_DrawState": {
|
|
"m_Expanded": true,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": -1336.9998779296875,
|
|
"y": 1053.0,
|
|
"width": 208.0,
|
|
"height": 278.0
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "00d93c3076254bf0aba807d340c92be8"
|
|
},
|
|
{
|
|
"m_Id": "0884a90f50dc44ddb78d7e1c4ad776d0"
|
|
}
|
|
],
|
|
"m_Precision": 0,
|
|
"m_PreviewExpanded": true,
|
|
"m_CustomColors": {
|
|
"m_SerializableColors": []
|
|
},
|
|
"m_SerializedSubGraph": "{\n \"subGraph\": {\n \"fileID\": -5475051401550479605,\n \"guid\": \"4e060d9f63bdc144c9b64d247cb2006e\",\n \"type\": 3\n }\n}",
|
|
"m_PropertyGuids": [
|
|
"7b9cf9eb-5e6f-4909-bd26-ac9788a9c2b4"
|
|
],
|
|
"m_PropertyIds": [
|
|
-1980518314
|
|
]
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
|
|
"m_ObjectId": "06c7350a14b644d6b3168613402c5734",
|
|
"m_Id": 1,
|
|
"m_DisplayName": "Out",
|
|
"m_SlotType": 1,
|
|
"m_Priority": 2147483647,
|
|
"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": "0884a90f50dc44ddb78d7e1c4ad776d0",
|
|
"m_Id": 1,
|
|
"m_DisplayName": "Vector1",
|
|
"m_SlotType": 1,
|
|
"m_Priority": 2147483647,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "Vector1",
|
|
"m_StageCapability": 3,
|
|
"m_Value": 0.0,
|
|
"m_DefaultValue": 0.0,
|
|
"m_Labels": [
|
|
"X"
|
|
]
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
|
|
"m_ObjectId": "0fadfce750cc482ba5fe4abce54dad06",
|
|
"m_Group": {
|
|
"m_Id": ""
|
|
},
|
|
"m_Name": "VertexDescription.Normal",
|
|
"m_DrawState": {
|
|
"m_Expanded": true,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"width": 0.0,
|
|
"height": 0.0
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "7a874a28519b4c10a408a499f4c55ce1"
|
|
}
|
|
],
|
|
"m_Precision": 0,
|
|
"m_PreviewExpanded": true,
|
|
"m_CustomColors": {
|
|
"m_SerializableColors": []
|
|
},
|
|
"m_SerializedDescriptor": "VertexDescription.Normal"
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.RemapNode",
|
|
"m_ObjectId": "162fa960f3894c9fb70367b3991edf5a",
|
|
"m_Group": {
|
|
"m_Id": ""
|
|
},
|
|
"m_Name": "Remap",
|
|
"m_DrawState": {
|
|
"m_Expanded": true,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": -659.9998779296875,
|
|
"y": 1053.0,
|
|
"width": 208.0,
|
|
"height": 326.0
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "d896060057184e3185ceabfb0aff7c43"
|
|
},
|
|
{
|
|
"m_Id": "02ec6df6939249539bbbadf532d79b26"
|
|
},
|
|
{
|
|
"m_Id": "b740385dae7542a7a87afed1de7726eb"
|
|
},
|
|
{
|
|
"m_Id": "ee2a3740b1bf4d35b2e211865315edf2"
|
|
}
|
|
],
|
|
"m_Precision": 0,
|
|
"m_PreviewExpanded": true,
|
|
"m_CustomColors": {
|
|
"m_SerializableColors": []
|
|
}
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
|
|
"m_ObjectId": "2143788c16a14946a554b2af5563b9a3",
|
|
"m_Group": {
|
|
"m_Id": ""
|
|
},
|
|
"m_Name": "Property",
|
|
"m_DrawState": {
|
|
"m_Expanded": true,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": -1699.9998779296875,
|
|
"y": 239.0,
|
|
"width": 107.0,
|
|
"height": 34.0
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "ee6964bff24a49dc98ef6a44d0e4b309"
|
|
}
|
|
],
|
|
"m_Precision": 0,
|
|
"m_PreviewExpanded": true,
|
|
"m_CustomColors": {
|
|
"m_SerializableColors": []
|
|
},
|
|
"m_Property": {
|
|
"m_Id": "396ac41a621a4617b55c24f56d4cc880"
|
|
}
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
|
|
"m_ObjectId": "2b1fdb71be734d8e8c0c1e27b03ac371",
|
|
"m_Id": 3,
|
|
"m_DisplayName": "Out",
|
|
"m_SlotType": 1,
|
|
"m_Priority": 2147483647,
|
|
"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.SubGraphNode",
|
|
"m_ObjectId": "303c709bf4ce437a8cc094391e8c1986",
|
|
"m_Group": {
|
|
"m_Id": ""
|
|
},
|
|
"m_Name": "Decode2Vector1ToVector3",
|
|
"m_DrawState": {
|
|
"m_Expanded": true,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": -422.99993896484377,
|
|
"y": 1053.0,
|
|
"width": 208.0,
|
|
"height": 278.0
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "ced49f6336594dc29a15074cc38e02a0"
|
|
},
|
|
{
|
|
"m_Id": "b04e81093dfc4331a8aa10d07adfc87d"
|
|
}
|
|
],
|
|
"m_Precision": 0,
|
|
"m_PreviewExpanded": true,
|
|
"m_CustomColors": {
|
|
"m_SerializableColors": []
|
|
},
|
|
"m_SerializedSubGraph": "{\n \"subGraph\": {\n \"fileID\": -5475051401550479605,\n \"guid\": \"64cf0bab3459e65479c62da5bc7e8a33\",\n \"type\": 3\n }\n}",
|
|
"m_PropertyGuids": [
|
|
"9bf172a7-cce3-4c15-b3c5-10db50121814"
|
|
],
|
|
"m_PropertyIds": [
|
|
1192378022
|
|
]
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
|
"m_ObjectId": "30b3823d11e048fc9e746a4614c81573",
|
|
"m_Id": 0,
|
|
"m_DisplayName": "Ambient Occlusion",
|
|
"m_SlotType": 0,
|
|
"m_Priority": 2147483647,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "Occlusion",
|
|
"m_StageCapability": 2,
|
|
"m_Value": 1.0,
|
|
"m_DefaultValue": 1.0,
|
|
"m_Labels": [
|
|
"X"
|
|
]
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
|
|
"m_ObjectId": "351d95815c754e89accb488c5b9f2cb5",
|
|
"m_Group": {
|
|
"m_Id": ""
|
|
},
|
|
"m_Name": "SurfaceDescription.NormalTS",
|
|
"m_DrawState": {
|
|
"m_Expanded": true,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"width": 0.0,
|
|
"height": 0.0
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "89b6132a033a4478adc2751322b88f9f"
|
|
}
|
|
],
|
|
"m_Precision": 0,
|
|
"m_PreviewExpanded": true,
|
|
"m_CustomColors": {
|
|
"m_SerializableColors": []
|
|
},
|
|
"m_SerializedDescriptor": "SurfaceDescription.NormalTS"
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 1,
|
|
"m_Type": "UnityEditor.ShaderGraph.Internal.ColorShaderProperty",
|
|
"m_ObjectId": "396ac41a621a4617b55c24f56d4cc880",
|
|
"m_Guid": {
|
|
"m_GuidSerialized": "a69ac364-4f4e-4b36-8d3f-a01644cd7f6e"
|
|
},
|
|
"m_Name": "Color",
|
|
"m_DefaultReferenceName": "Color_396ac41a621a4617b55c24f56d4cc880",
|
|
"m_OverrideReferenceName": "",
|
|
"m_GeneratePropertyBlock": true,
|
|
"m_Precision": 0,
|
|
"m_GPUInstanced": false,
|
|
"m_Hidden": false,
|
|
"m_Value": {
|
|
"r": 0.2350783497095108,
|
|
"g": 0.8584905862808228,
|
|
"b": 0.1579298973083496,
|
|
"a": 0.0
|
|
},
|
|
"m_ColorMode": 0
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
|
|
"m_ObjectId": "3ce0475c52854d139058a397c6157acd",
|
|
"m_Id": 1,
|
|
"m_DisplayName": "Vector3",
|
|
"m_SlotType": 1,
|
|
"m_Priority": 2147483647,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "Vector3",
|
|
"m_StageCapability": 3,
|
|
"m_Value": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.0
|
|
},
|
|
"m_DefaultValue": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.0
|
|
},
|
|
"m_Labels": [
|
|
"X",
|
|
"Y",
|
|
"Z"
|
|
]
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
|
"m_ObjectId": "4215a8d45e2045559385a4482ad19a43",
|
|
"m_Id": 1192378022,
|
|
"m_DisplayName": "Vector1",
|
|
"m_SlotType": 0,
|
|
"m_Priority": 2147483647,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "Vector1_c7aa86a194644e57b07408803b64ebd7",
|
|
"m_StageCapability": 3,
|
|
"m_Value": 0.0,
|
|
"m_DefaultValue": 0.0,
|
|
"m_Labels": [
|
|
"X"
|
|
]
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
|
"m_ObjectId": "48267c23c4ae420d86d97c14120cfe04",
|
|
"m_Id": 1,
|
|
"m_DisplayName": "Vector1",
|
|
"m_SlotType": 1,
|
|
"m_Priority": 2147483647,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "Vector1",
|
|
"m_StageCapability": 3,
|
|
"m_Value": 0.0,
|
|
"m_DefaultValue": 0.0,
|
|
"m_Labels": [
|
|
"X"
|
|
]
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
|
|
"m_ObjectId": "4a384bc7f8a8428394149ad69dd762f4",
|
|
"m_Group": {
|
|
"m_Id": ""
|
|
},
|
|
"m_Name": "SurfaceDescription.Emission",
|
|
"m_DrawState": {
|
|
"m_Expanded": true,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"width": 0.0,
|
|
"height": 0.0
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "de5ca7df3abe41faad1a2c21e0992e6f"
|
|
}
|
|
],
|
|
"m_Precision": 0,
|
|
"m_PreviewExpanded": true,
|
|
"m_CustomColors": {
|
|
"m_SerializableColors": []
|
|
},
|
|
"m_SerializedDescriptor": "SurfaceDescription.Emission"
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
|
|
"m_ObjectId": "4b442082a2b24b7eb2436fbeca81e3c3",
|
|
"m_Id": -1980518314,
|
|
"m_DisplayName": "Vector3",
|
|
"m_SlotType": 0,
|
|
"m_Priority": 2147483647,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "Vector3_f4f17c3262704090a48f16ca7b479fe2",
|
|
"m_StageCapability": 3,
|
|
"m_Value": {
|
|
"x": 1.0,
|
|
"y": 1.0,
|
|
"z": 1.0
|
|
},
|
|
"m_DefaultValue": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.0
|
|
},
|
|
"m_Labels": [
|
|
"X",
|
|
"Y",
|
|
"Z"
|
|
]
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
|
"m_ObjectId": "4f7d7070d69e474081d9c3ff6912697d",
|
|
"m_Id": 1192378022,
|
|
"m_DisplayName": "Vector1",
|
|
"m_SlotType": 0,
|
|
"m_Priority": 2147483647,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "Vector1_c7aa86a194644e57b07408803b64ebd7",
|
|
"m_StageCapability": 3,
|
|
"m_Value": 0.0,
|
|
"m_DefaultValue": 0.0,
|
|
"m_Labels": [
|
|
"X"
|
|
]
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
|
|
"m_ObjectId": "5529db94ce71493980a6bcdb26f8bbb1",
|
|
"m_Id": 1,
|
|
"m_DisplayName": "Out_Vector3",
|
|
"m_SlotType": 1,
|
|
"m_Priority": 2147483647,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "OutVector3",
|
|
"m_StageCapability": 3,
|
|
"m_Value": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.0
|
|
},
|
|
"m_DefaultValue": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.0
|
|
},
|
|
"m_Labels": [
|
|
"X",
|
|
"Y",
|
|
"Z"
|
|
]
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
|
|
"m_ObjectId": "59da5dfc4d8a4ed886a5acf40cb7a014",
|
|
"m_Id": 0,
|
|
"m_DisplayName": "Base Color",
|
|
"m_SlotType": 0,
|
|
"m_Priority": 2147483647,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "BaseColor",
|
|
"m_StageCapability": 2,
|
|
"m_Value": {
|
|
"x": 0.5,
|
|
"y": 0.5,
|
|
"z": 0.5
|
|
},
|
|
"m_DefaultValue": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.0
|
|
},
|
|
"m_Labels": [
|
|
"X",
|
|
"Y",
|
|
"Z"
|
|
],
|
|
"m_ColorMode": 0
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
|
|
"m_ObjectId": "67757f45d3e44d1f98ebdbd53edd7219",
|
|
"m_Group": {
|
|
"m_Id": ""
|
|
},
|
|
"m_Name": "VertexDescription.Position",
|
|
"m_DrawState": {
|
|
"m_Expanded": true,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"width": 0.0,
|
|
"height": 0.0
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "7ad3926f062d4a2197bda9b588beae38"
|
|
}
|
|
],
|
|
"m_Precision": 0,
|
|
"m_PreviewExpanded": true,
|
|
"m_CustomColors": {
|
|
"m_SerializableColors": []
|
|
},
|
|
"m_SerializedDescriptor": "VertexDescription.Position"
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
|
|
"m_ObjectId": "6797787494754ac48f86f02dfd105684",
|
|
"m_Group": {
|
|
"m_Id": ""
|
|
},
|
|
"m_Name": "VertexDescription.Tangent",
|
|
"m_DrawState": {
|
|
"m_Expanded": true,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"width": 0.0,
|
|
"height": 0.0
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "c8ed9e56fa144ad88e703a65cf1f1527"
|
|
}
|
|
],
|
|
"m_Precision": 0,
|
|
"m_PreviewExpanded": true,
|
|
"m_CustomColors": {
|
|
"m_SerializableColors": []
|
|
},
|
|
"m_SerializedDescriptor": "VertexDescription.Tangent"
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
|
|
"m_ObjectId": "67b17d414bdb428da1a4ec310dec7976",
|
|
"m_Id": -1980518314,
|
|
"m_DisplayName": "Vector3",
|
|
"m_SlotType": 0,
|
|
"m_Priority": 2147483647,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "Vector3_f4f17c3262704090a48f16ca7b479fe2",
|
|
"m_StageCapability": 3,
|
|
"m_Value": {
|
|
"x": 0.6000000238418579,
|
|
"y": 1.0,
|
|
"z": 0.41999998688697817
|
|
},
|
|
"m_DefaultValue": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.0
|
|
},
|
|
"m_Labels": [
|
|
"X",
|
|
"Y",
|
|
"Z"
|
|
]
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
|
|
"m_ObjectId": "6b05dc772602465596b34a30e3c410b7",
|
|
"m_Group": {
|
|
"m_Id": ""
|
|
},
|
|
"m_Name": "SurfaceDescription.Smoothness",
|
|
"m_DrawState": {
|
|
"m_Expanded": true,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"width": 0.0,
|
|
"height": 0.0
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "8af65b4b0110490597f6352b17b54c55"
|
|
}
|
|
],
|
|
"m_Precision": 0,
|
|
"m_PreviewExpanded": true,
|
|
"m_CustomColors": {
|
|
"m_SerializableColors": []
|
|
},
|
|
"m_SerializedDescriptor": "SurfaceDescription.Smoothness"
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.SubGraphNode",
|
|
"m_ObjectId": "6b6867732354471b902be3554bba5b09",
|
|
"m_Group": {
|
|
"m_Id": ""
|
|
},
|
|
"m_Name": "DecodeFloatToFloat3",
|
|
"m_DrawState": {
|
|
"m_Expanded": true,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": -944.0,
|
|
"y": 1389.0,
|
|
"width": 208.0,
|
|
"height": 278.0
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "7397f58292e54fc2beee337ecd54e939"
|
|
},
|
|
{
|
|
"m_Id": "5529db94ce71493980a6bcdb26f8bbb1"
|
|
}
|
|
],
|
|
"m_Precision": 0,
|
|
"m_PreviewExpanded": true,
|
|
"m_CustomColors": {
|
|
"m_SerializableColors": []
|
|
},
|
|
"m_SerializedSubGraph": "{\n \"subGraph\": {\n \"fileID\": -5475051401550479605,\n \"guid\": \"18ce5782075ebe745a6c31bffe3ff85e\",\n \"type\": 3\n }\n}",
|
|
"m_PropertyGuids": [
|
|
"000a9ca6-880e-4eee-a436-af6921fc25b8"
|
|
],
|
|
"m_PropertyIds": [
|
|
654627568
|
|
]
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget",
|
|
"m_ObjectId": "6befb3dfcd134302855545ed69f81cdf",
|
|
"m_ActiveSubTarget": {
|
|
"m_Id": "db2af5017d444c8c882d7b77c131f7c5"
|
|
},
|
|
"m_SurfaceType": 0,
|
|
"m_AlphaMode": 0,
|
|
"m_TwoSided": false,
|
|
"m_AlphaClip": false,
|
|
"m_CustomEditorGUI": ""
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.SubGraphNode",
|
|
"m_ObjectId": "70f3a186fc4540f29060cf4448c38be2",
|
|
"m_Group": {
|
|
"m_Id": ""
|
|
},
|
|
"m_Name": "DecodeVector1ToVector3",
|
|
"m_DrawState": {
|
|
"m_Expanded": true,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": -709.9999389648438,
|
|
"y": 479.0000305175781,
|
|
"width": 208.0,
|
|
"height": 278.0
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "4f7d7070d69e474081d9c3ff6912697d"
|
|
},
|
|
{
|
|
"m_Id": "3ce0475c52854d139058a397c6157acd"
|
|
}
|
|
],
|
|
"m_Precision": 0,
|
|
"m_PreviewExpanded": true,
|
|
"m_CustomColors": {
|
|
"m_SerializableColors": []
|
|
},
|
|
"m_SerializedSubGraph": "{\n \"subGraph\": {\n \"fileID\": -5475051401550479605,\n \"guid\": \"7f3356cfbf53f3741b12d5aa82ff460a\",\n \"type\": 3\n }\n}",
|
|
"m_PropertyGuids": [
|
|
"9bf172a7-cce3-4c15-b3c5-10db50121814"
|
|
],
|
|
"m_PropertyIds": [
|
|
1192378022
|
|
]
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
|
"m_ObjectId": "7397f58292e54fc2beee337ecd54e939",
|
|
"m_Id": 654627568,
|
|
"m_DisplayName": "Vector1",
|
|
"m_SlotType": 0,
|
|
"m_Priority": 2147483647,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "Vector1_771ac3b08a1144b086078a0d07c220da",
|
|
"m_StageCapability": 3,
|
|
"m_Value": 0.23919999599456788,
|
|
"m_DefaultValue": 0.0,
|
|
"m_Labels": [
|
|
"X"
|
|
]
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
|
|
"m_ObjectId": "7535446e710344fe97e53afa449980d3",
|
|
"m_Id": 1,
|
|
"m_DisplayName": "In Min Max",
|
|
"m_SlotType": 0,
|
|
"m_Priority": 2147483647,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "InMinMax",
|
|
"m_StageCapability": 3,
|
|
"m_Value": {
|
|
"x": -2000000000.0,
|
|
"y": 2000000000.0
|
|
},
|
|
"m_DefaultValue": {
|
|
"x": 0.0,
|
|
"y": 0.0
|
|
},
|
|
"m_Labels": [
|
|
"X",
|
|
"Y"
|
|
]
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.PreviewNode",
|
|
"m_ObjectId": "75d890275e834b3b9d2980ea4cd125a6",
|
|
"m_Group": {
|
|
"m_Id": ""
|
|
},
|
|
"m_Name": "Preview",
|
|
"m_DrawState": {
|
|
"m_Expanded": true,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": -713.0,
|
|
"y": 199.0,
|
|
"width": 208.0,
|
|
"height": 278.0
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "b76ea51c70964b738e381d32a9ba3894"
|
|
},
|
|
{
|
|
"m_Id": "06c7350a14b644d6b3168613402c5734"
|
|
}
|
|
],
|
|
"m_Precision": 0,
|
|
"m_PreviewExpanded": true,
|
|
"m_CustomColors": {
|
|
"m_SerializableColors": []
|
|
},
|
|
"m_Width": 208.0,
|
|
"m_Height": 208.0
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot",
|
|
"m_ObjectId": "7a874a28519b4c10a408a499f4c55ce1",
|
|
"m_Id": 0,
|
|
"m_DisplayName": "Normal",
|
|
"m_SlotType": 0,
|
|
"m_Priority": 2147483647,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "Normal",
|
|
"m_StageCapability": 1,
|
|
"m_Value": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.0
|
|
},
|
|
"m_DefaultValue": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.0
|
|
},
|
|
"m_Labels": [
|
|
"X",
|
|
"Y",
|
|
"Z"
|
|
],
|
|
"m_Space": 0
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.PositionMaterialSlot",
|
|
"m_ObjectId": "7ad3926f062d4a2197bda9b588beae38",
|
|
"m_Id": 0,
|
|
"m_DisplayName": "Position",
|
|
"m_SlotType": 0,
|
|
"m_Priority": 2147483647,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "Position",
|
|
"m_StageCapability": 1,
|
|
"m_Value": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.0
|
|
},
|
|
"m_DefaultValue": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.0
|
|
},
|
|
"m_Labels": [
|
|
"X",
|
|
"Y",
|
|
"Z"
|
|
],
|
|
"m_Space": 0
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.SubGraphNode",
|
|
"m_ObjectId": "7af706ee64c6428981cb7049666be2ec",
|
|
"m_Group": {
|
|
"m_Id": ""
|
|
},
|
|
"m_Name": "Decode2Vector1ToVector3",
|
|
"m_DrawState": {
|
|
"m_Expanded": true,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": -715.0,
|
|
"y": 765.0000610351563,
|
|
"width": 208.00001525878907,
|
|
"height": 278.0
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "4215a8d45e2045559385a4482ad19a43"
|
|
},
|
|
{
|
|
"m_Id": "f65b9abd9eee46daada7546fa4a60325"
|
|
}
|
|
],
|
|
"m_Precision": 0,
|
|
"m_PreviewExpanded": true,
|
|
"m_CustomColors": {
|
|
"m_SerializableColors": []
|
|
},
|
|
"m_SerializedSubGraph": "{\n \"subGraph\": {\n \"fileID\": -5475051401550479605,\n \"guid\": \"64cf0bab3459e65479c62da5bc7e8a33\",\n \"type\": 3\n }\n}",
|
|
"m_PropertyGuids": [
|
|
"9bf172a7-cce3-4c15-b3c5-10db50121814"
|
|
],
|
|
"m_PropertyIds": [
|
|
1192378022
|
|
]
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
|
|
"m_ObjectId": "80f2ad0f05d542e6a0d492d24c29115f",
|
|
"m_Id": 2,
|
|
"m_DisplayName": "Out Min Max",
|
|
"m_SlotType": 0,
|
|
"m_Priority": 2147483647,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "OutMinMax",
|
|
"m_StageCapability": 3,
|
|
"m_Value": {
|
|
"x": 0.0,
|
|
"y": 1.0
|
|
},
|
|
"m_DefaultValue": {
|
|
"x": 0.0,
|
|
"y": 0.0
|
|
},
|
|
"m_Labels": [
|
|
"X",
|
|
"Y"
|
|
]
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.SubGraphNode",
|
|
"m_ObjectId": "81f45f8234b24f43b3196a3a98dd228e",
|
|
"m_Group": {
|
|
"m_Id": ""
|
|
},
|
|
"m_Name": "EncodeVector3ToVector1",
|
|
"m_DrawState": {
|
|
"m_Expanded": true,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": -943.0,
|
|
"y": 479.0000305175781,
|
|
"width": 208.0,
|
|
"height": 278.0
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "67b17d414bdb428da1a4ec310dec7976"
|
|
},
|
|
{
|
|
"m_Id": "fe4b94f87fda4433967932204acca7b1"
|
|
}
|
|
],
|
|
"m_Precision": 0,
|
|
"m_PreviewExpanded": true,
|
|
"m_CustomColors": {
|
|
"m_SerializableColors": []
|
|
},
|
|
"m_SerializedSubGraph": "{\n \"subGraph\": {\n \"fileID\": -5475051401550479605,\n \"guid\": \"724cb4c5ff5f0d24ba62eed1ed67add2\",\n \"type\": 3\n }\n}",
|
|
"m_PropertyGuids": [
|
|
"7b9cf9eb-5e6f-4909-bd26-ac9788a9c2b4"
|
|
],
|
|
"m_PropertyIds": [
|
|
-1980518314
|
|
]
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot",
|
|
"m_ObjectId": "89b6132a033a4478adc2751322b88f9f",
|
|
"m_Id": 0,
|
|
"m_DisplayName": "Normal (Tangent Space)",
|
|
"m_SlotType": 0,
|
|
"m_Priority": 2147483647,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "NormalTS",
|
|
"m_StageCapability": 2,
|
|
"m_Value": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.0
|
|
},
|
|
"m_DefaultValue": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.0
|
|
},
|
|
"m_Labels": [
|
|
"X",
|
|
"Y",
|
|
"Z"
|
|
],
|
|
"m_Space": 3
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
|
"m_ObjectId": "8af65b4b0110490597f6352b17b54c55",
|
|
"m_Id": 0,
|
|
"m_DisplayName": "Smoothness",
|
|
"m_SlotType": 0,
|
|
"m_Priority": 2147483647,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "Smoothness",
|
|
"m_StageCapability": 2,
|
|
"m_Value": 0.5,
|
|
"m_DefaultValue": 0.5,
|
|
"m_Labels": [
|
|
"X"
|
|
]
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
|
|
"m_ObjectId": "8e33ac91fb334acf8e76176ed6615ae1",
|
|
"m_Id": 0,
|
|
"m_DisplayName": "In",
|
|
"m_SlotType": 0,
|
|
"m_Priority": 2147483647,
|
|
"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.BlockNode",
|
|
"m_ObjectId": "a1deb288e0a344d7b563b19d56f04cbc",
|
|
"m_Group": {
|
|
"m_Id": ""
|
|
},
|
|
"m_Name": "SurfaceDescription.Occlusion",
|
|
"m_DrawState": {
|
|
"m_Expanded": true,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"width": 0.0,
|
|
"height": 0.0
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "30b3823d11e048fc9e746a4614c81573"
|
|
}
|
|
],
|
|
"m_Precision": 0,
|
|
"m_PreviewExpanded": true,
|
|
"m_CustomColors": {
|
|
"m_SerializableColors": []
|
|
},
|
|
"m_SerializedDescriptor": "SurfaceDescription.Occlusion"
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
|
|
"m_ObjectId": "ad9c4c6ee6c24d55ab114393754ae56e",
|
|
"m_Group": {
|
|
"m_Id": ""
|
|
},
|
|
"m_Name": "SurfaceDescription.Metallic",
|
|
"m_DrawState": {
|
|
"m_Expanded": true,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"width": 0.0,
|
|
"height": 0.0
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "b85d9b83d37a469c86256fc439124cef"
|
|
}
|
|
],
|
|
"m_Precision": 0,
|
|
"m_PreviewExpanded": true,
|
|
"m_CustomColors": {
|
|
"m_SerializableColors": []
|
|
},
|
|
"m_SerializedDescriptor": "SurfaceDescription.Metallic"
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
|
|
"m_ObjectId": "b04e81093dfc4331a8aa10d07adfc87d",
|
|
"m_Id": 1,
|
|
"m_DisplayName": "Vector3",
|
|
"m_SlotType": 1,
|
|
"m_Priority": 2147483647,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "Vector3",
|
|
"m_StageCapability": 3,
|
|
"m_Value": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.0
|
|
},
|
|
"m_DefaultValue": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.0
|
|
},
|
|
"m_Labels": [
|
|
"X",
|
|
"Y",
|
|
"Z"
|
|
]
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
|
|
"m_ObjectId": "b740385dae7542a7a87afed1de7726eb",
|
|
"m_Id": 2,
|
|
"m_DisplayName": "Out Min Max",
|
|
"m_SlotType": 0,
|
|
"m_Priority": 2147483647,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "OutMinMax",
|
|
"m_StageCapability": 3,
|
|
"m_Value": {
|
|
"x": -2000000000.0,
|
|
"y": 2000000000.0
|
|
},
|
|
"m_DefaultValue": {
|
|
"x": 0.0,
|
|
"y": 0.0
|
|
},
|
|
"m_Labels": [
|
|
"X",
|
|
"Y"
|
|
]
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
|
|
"m_ObjectId": "b76ea51c70964b738e381d32a9ba3894",
|
|
"m_Id": 0,
|
|
"m_DisplayName": "In",
|
|
"m_SlotType": 0,
|
|
"m_Priority": 2147483647,
|
|
"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.Vector1MaterialSlot",
|
|
"m_ObjectId": "b85d9b83d37a469c86256fc439124cef",
|
|
"m_Id": 0,
|
|
"m_DisplayName": "Metallic",
|
|
"m_SlotType": 0,
|
|
"m_Priority": 2147483647,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "Metallic",
|
|
"m_StageCapability": 2,
|
|
"m_Value": 0.0,
|
|
"m_DefaultValue": 0.0,
|
|
"m_Labels": [
|
|
"X"
|
|
]
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.PreviewNode",
|
|
"m_ObjectId": "be7a8a9d9878441eaec283da2aaf8933",
|
|
"m_Group": {
|
|
"m_Id": ""
|
|
},
|
|
"m_Name": "Preview",
|
|
"m_DrawState": {
|
|
"m_Expanded": true,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": -682.0,
|
|
"y": 1389.0,
|
|
"width": 208.0,
|
|
"height": 278.0
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "e0d2d0e15cc14decbb4418c29b8503be"
|
|
},
|
|
{
|
|
"m_Id": "f3f4d3efc35c484887ea1c7630a567b7"
|
|
}
|
|
],
|
|
"m_Precision": 0,
|
|
"m_PreviewExpanded": true,
|
|
"m_CustomColors": {
|
|
"m_SerializableColors": []
|
|
},
|
|
"m_Width": 208.0,
|
|
"m_Height": 208.0
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
|
|
"m_ObjectId": "c58e84db49664e198f1b2ac966d65162",
|
|
"m_Group": {
|
|
"m_Id": ""
|
|
},
|
|
"m_Name": "SurfaceDescription.BaseColor",
|
|
"m_DrawState": {
|
|
"m_Expanded": true,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"width": 0.0,
|
|
"height": 0.0
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "59da5dfc4d8a4ed886a5acf40cb7a014"
|
|
}
|
|
],
|
|
"m_Precision": 0,
|
|
"m_PreviewExpanded": true,
|
|
"m_CustomColors": {
|
|
"m_SerializableColors": []
|
|
},
|
|
"m_SerializedDescriptor": "SurfaceDescription.BaseColor"
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.TangentMaterialSlot",
|
|
"m_ObjectId": "c8ed9e56fa144ad88e703a65cf1f1527",
|
|
"m_Id": 0,
|
|
"m_DisplayName": "Tangent",
|
|
"m_SlotType": 0,
|
|
"m_Priority": 2147483647,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "Tangent",
|
|
"m_StageCapability": 1,
|
|
"m_Value": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.0
|
|
},
|
|
"m_DefaultValue": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.0
|
|
},
|
|
"m_Labels": [
|
|
"X",
|
|
"Y",
|
|
"Z"
|
|
],
|
|
"m_Space": 0
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
|
"m_ObjectId": "ced49f6336594dc29a15074cc38e02a0",
|
|
"m_Id": 1192378022,
|
|
"m_DisplayName": "Vector1",
|
|
"m_SlotType": 0,
|
|
"m_Priority": 2147483647,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "Vector1_c7aa86a194644e57b07408803b64ebd7",
|
|
"m_StageCapability": 3,
|
|
"m_Value": 0.0,
|
|
"m_DefaultValue": 0.0,
|
|
"m_Labels": [
|
|
"X"
|
|
]
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
|
|
"m_ObjectId": "d896060057184e3185ceabfb0aff7c43",
|
|
"m_Id": 0,
|
|
"m_DisplayName": "In",
|
|
"m_SlotType": 0,
|
|
"m_Priority": 2147483647,
|
|
"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.Rendering.Universal.ShaderGraph.UniversalLitSubTarget",
|
|
"m_ObjectId": "db2af5017d444c8c882d7b77c131f7c5",
|
|
"m_WorkflowMode": 1,
|
|
"m_NormalDropOffSpace": 0
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
|
|
"m_ObjectId": "de5ca7df3abe41faad1a2c21e0992e6f",
|
|
"m_Id": 0,
|
|
"m_DisplayName": "Emission",
|
|
"m_SlotType": 0,
|
|
"m_Priority": 2147483647,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "Emission",
|
|
"m_StageCapability": 2,
|
|
"m_Value": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.0
|
|
},
|
|
"m_DefaultValue": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.0
|
|
},
|
|
"m_Labels": [
|
|
"X",
|
|
"Y",
|
|
"Z"
|
|
],
|
|
"m_ColorMode": 1
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
|
|
"m_ObjectId": "e0d2d0e15cc14decbb4418c29b8503be",
|
|
"m_Id": 0,
|
|
"m_DisplayName": "In",
|
|
"m_SlotType": 0,
|
|
"m_Priority": 2147483647,
|
|
"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.DynamicVectorMaterialSlot",
|
|
"m_ObjectId": "ee2a3740b1bf4d35b2e211865315edf2",
|
|
"m_Id": 3,
|
|
"m_DisplayName": "Out",
|
|
"m_SlotType": 1,
|
|
"m_Priority": 2147483647,
|
|
"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.Vector4MaterialSlot",
|
|
"m_ObjectId": "ee6964bff24a49dc98ef6a44d0e4b309",
|
|
"m_Id": 0,
|
|
"m_DisplayName": "Color",
|
|
"m_SlotType": 1,
|
|
"m_Priority": 2147483647,
|
|
"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": "f3f4d3efc35c484887ea1c7630a567b7",
|
|
"m_Id": 1,
|
|
"m_DisplayName": "Out",
|
|
"m_SlotType": 1,
|
|
"m_Priority": 2147483647,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "Out",
|
|
"m_StageCapability": 3,
|
|
"m_Value": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.0,
|
|
"w": 0.0
|
|
},
|
|
"m_DefaultValue": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.0,
|
|
"w": 0.0
|
|
}
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
|
|
"m_ObjectId": "f65b9abd9eee46daada7546fa4a60325",
|
|
"m_Id": 1,
|
|
"m_DisplayName": "Vector3",
|
|
"m_SlotType": 1,
|
|
"m_Priority": 2147483647,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "Vector3",
|
|
"m_StageCapability": 3,
|
|
"m_Value": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.0
|
|
},
|
|
"m_DefaultValue": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.0
|
|
},
|
|
"m_Labels": [
|
|
"X",
|
|
"Y",
|
|
"Z"
|
|
]
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.SubGraphNode",
|
|
"m_ObjectId": "fd611f90178045f19ad19234ae974114",
|
|
"m_Group": {
|
|
"m_Id": ""
|
|
},
|
|
"m_Name": "Encode2Vector3ToVector1",
|
|
"m_DrawState": {
|
|
"m_Expanded": true,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": -944.0000610351563,
|
|
"y": 765.0000610351563,
|
|
"width": 208.00001525878907,
|
|
"height": 278.0
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "4b442082a2b24b7eb2436fbeca81e3c3"
|
|
},
|
|
{
|
|
"m_Id": "48267c23c4ae420d86d97c14120cfe04"
|
|
}
|
|
],
|
|
"m_Precision": 0,
|
|
"m_PreviewExpanded": true,
|
|
"m_CustomColors": {
|
|
"m_SerializableColors": []
|
|
},
|
|
"m_SerializedSubGraph": "{\n \"subGraph\": {\n \"fileID\": -5475051401550479605,\n \"guid\": \"4e060d9f63bdc144c9b64d247cb2006e\",\n \"type\": 3\n }\n}",
|
|
"m_PropertyGuids": [
|
|
"7b9cf9eb-5e6f-4909-bd26-ac9788a9c2b4"
|
|
],
|
|
"m_PropertyIds": [
|
|
-1980518314
|
|
]
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.RemapNode",
|
|
"m_ObjectId": "fd97305d5e394641bcdb75698382639a",
|
|
"m_Group": {
|
|
"m_Id": ""
|
|
},
|
|
"m_Name": "Remap",
|
|
"m_DrawState": {
|
|
"m_Expanded": true,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": -997.9999389648438,
|
|
"y": 1053.0,
|
|
"width": 208.0,
|
|
"height": 326.0
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "8e33ac91fb334acf8e76176ed6615ae1"
|
|
},
|
|
{
|
|
"m_Id": "7535446e710344fe97e53afa449980d3"
|
|
},
|
|
{
|
|
"m_Id": "80f2ad0f05d542e6a0d492d24c29115f"
|
|
},
|
|
{
|
|
"m_Id": "2b1fdb71be734d8e8c0c1e27b03ac371"
|
|
}
|
|
],
|
|
"m_Precision": 0,
|
|
"m_PreviewExpanded": true,
|
|
"m_CustomColors": {
|
|
"m_SerializableColors": []
|
|
}
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
|
"m_ObjectId": "fe4b94f87fda4433967932204acca7b1",
|
|
"m_Id": 1,
|
|
"m_DisplayName": "Vector1",
|
|
"m_SlotType": 1,
|
|
"m_Priority": 2147483647,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "Vector1",
|
|
"m_StageCapability": 3,
|
|
"m_Value": 0.0,
|
|
"m_DefaultValue": 0.0,
|
|
"m_Labels": [
|
|
"X"
|
|
]
|
|
}
|
|
|