652 lines
14 KiB
Plaintext
652 lines
14 KiB
Plaintext
{
|
|
"m_SGVersion": 3,
|
|
"m_Type": "UnityEditor.ShaderGraph.GraphData",
|
|
"m_ObjectId": "d849dde5dadb4043ae95e3044cf6f6f2",
|
|
"m_Properties": [
|
|
{
|
|
"m_Id": "f5238825c9d84359ad3fa6be3ecc80d9"
|
|
}
|
|
],
|
|
"m_Keywords": [],
|
|
"m_Dropdowns": [],
|
|
"m_CategoryData": [
|
|
{
|
|
"m_Id": "30a208011ad145b9afc6abc6f3f03dc1"
|
|
}
|
|
],
|
|
"m_Nodes": [
|
|
{
|
|
"m_Id": "7b2d256e77e9499fa065a26301d0eedf"
|
|
},
|
|
{
|
|
"m_Id": "c7e9a2c01b804964a64dd7499f62a400"
|
|
},
|
|
{
|
|
"m_Id": "663b867a23b04deaa88c2ebd79bcdbc7"
|
|
},
|
|
{
|
|
"m_Id": "bd8d33b85b2e46508bef0c6cc36f9dae"
|
|
},
|
|
{
|
|
"m_Id": "80f639c6927445458cce37e8c24909a1"
|
|
}
|
|
],
|
|
"m_GroupDatas": [],
|
|
"m_StickyNoteDatas": [],
|
|
"m_Edges": [
|
|
{
|
|
"m_OutputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "663b867a23b04deaa88c2ebd79bcdbc7"
|
|
},
|
|
"m_SlotId": 2
|
|
},
|
|
"m_InputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "bd8d33b85b2e46508bef0c6cc36f9dae"
|
|
},
|
|
"m_SlotId": 0
|
|
}
|
|
},
|
|
{
|
|
"m_OutputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "80f639c6927445458cce37e8c24909a1"
|
|
},
|
|
"m_SlotId": 0
|
|
},
|
|
"m_InputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "c7e9a2c01b804964a64dd7499f62a400"
|
|
},
|
|
"m_SlotId": 0
|
|
}
|
|
},
|
|
{
|
|
"m_OutputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "bd8d33b85b2e46508bef0c6cc36f9dae"
|
|
},
|
|
"m_SlotId": 1
|
|
},
|
|
"m_InputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "7b2d256e77e9499fa065a26301d0eedf"
|
|
},
|
|
"m_SlotId": 1
|
|
}
|
|
},
|
|
{
|
|
"m_OutputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "c7e9a2c01b804964a64dd7499f62a400"
|
|
},
|
|
"m_SlotId": 2
|
|
},
|
|
"m_InputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "663b867a23b04deaa88c2ebd79bcdbc7"
|
|
},
|
|
"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": "7b2d256e77e9499fa065a26301d0eedf"
|
|
},
|
|
"m_SubDatas": [],
|
|
"m_ActiveTargets": []
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
|
|
"m_ObjectId": "15e990fffe9643ddb530bedd6ca2bc67",
|
|
"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.CategoryData",
|
|
"m_ObjectId": "30a208011ad145b9afc6abc6f3f03dc1",
|
|
"m_Name": "",
|
|
"m_ChildObjectList": [
|
|
{
|
|
"m_Id": "f5238825c9d84359ad3fa6be3ecc80d9"
|
|
}
|
|
]
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
|
"m_ObjectId": "3a98a8f52acf4f15a9a1151a8579465c",
|
|
"m_Id": 1,
|
|
"m_DisplayName": "Out",
|
|
"m_SlotType": 0,
|
|
"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.AddNode",
|
|
"m_ObjectId": "663b867a23b04deaa88c2ebd79bcdbc7",
|
|
"m_Group": {
|
|
"m_Id": ""
|
|
},
|
|
"m_Name": "Add",
|
|
"m_DrawState": {
|
|
"m_Expanded": false,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": -267.5,
|
|
"y": 0.0,
|
|
"width": 126.0,
|
|
"height": 94.00003051757813
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "f1679f38cc87497e83ba161977a94d91"
|
|
},
|
|
{
|
|
"m_Id": "e57b4aebb1fb4529a21b604e14d132d9"
|
|
},
|
|
{
|
|
"m_Id": "15e990fffe9643ddb530bedd6ca2bc67"
|
|
}
|
|
],
|
|
"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.DynamicValueMaterialSlot",
|
|
"m_ObjectId": "69533da906b947478e34ba82d736384f",
|
|
"m_Id": 1,
|
|
"m_DisplayName": "B",
|
|
"m_SlotType": 0,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "B",
|
|
"m_StageCapability": 3,
|
|
"m_Value": {
|
|
"e00": 10.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.SubGraphOutputNode",
|
|
"m_ObjectId": "7b2d256e77e9499fa065a26301d0eedf",
|
|
"m_Group": {
|
|
"m_Id": ""
|
|
},
|
|
"m_Name": "Output",
|
|
"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": "3a98a8f52acf4f15a9a1151a8579465c"
|
|
}
|
|
],
|
|
"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.PropertyNode",
|
|
"m_ObjectId": "80f639c6927445458cce37e8c24909a1",
|
|
"m_Group": {
|
|
"m_Id": ""
|
|
},
|
|
"m_Name": "Property",
|
|
"m_DrawState": {
|
|
"m_Expanded": true,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": -474.0,
|
|
"y": 40.00000762939453,
|
|
"width": 84.5,
|
|
"height": 33.99999237060547
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "b2c4270056bb431383abb5b321c363f5"
|
|
}
|
|
],
|
|
"synonyms": [],
|
|
"m_Precision": 0,
|
|
"m_PreviewExpanded": true,
|
|
"m_DismissedVersion": 0,
|
|
"m_PreviewMode": 0,
|
|
"m_CustomColors": {
|
|
"m_SerializableColors": []
|
|
},
|
|
"m_Property": {
|
|
"m_Id": "f5238825c9d84359ad3fa6be3ecc80d9"
|
|
}
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
|
|
"m_ObjectId": "9494827fd5d64f2c9154d1de9d85ab4a",
|
|
"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.Vector1MaterialSlot",
|
|
"m_ObjectId": "b2c4270056bb431383abb5b321c363f5",
|
|
"m_Id": 0,
|
|
"m_DisplayName": "In",
|
|
"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.ExponentialNode",
|
|
"m_ObjectId": "bd8d33b85b2e46508bef0c6cc36f9dae",
|
|
"m_Group": {
|
|
"m_Id": ""
|
|
},
|
|
"m_Name": "Exponential",
|
|
"m_DrawState": {
|
|
"m_Expanded": true,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": -145.0,
|
|
"y": 0.0,
|
|
"width": 145.0,
|
|
"height": 128.50003051757813
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "9494827fd5d64f2c9154d1de9d85ab4a"
|
|
},
|
|
{
|
|
"m_Id": "f36c6be8b8084035a129c13dfd7eabc5"
|
|
}
|
|
],
|
|
"synonyms": [],
|
|
"m_Precision": 0,
|
|
"m_PreviewExpanded": false,
|
|
"m_DismissedVersion": 0,
|
|
"m_PreviewMode": 0,
|
|
"m_CustomColors": {
|
|
"m_SerializableColors": []
|
|
},
|
|
"m_ExponentialBase": 1
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
|
|
"m_ObjectId": "c7877562cdf0453ca9511be499b6e5d6",
|
|
"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.MultiplyNode",
|
|
"m_ObjectId": "c7e9a2c01b804964a64dd7499f62a400",
|
|
"m_Group": {
|
|
"m_Id": ""
|
|
},
|
|
"m_Name": "Multiply",
|
|
"m_DrawState": {
|
|
"m_Expanded": false,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": -389.5,
|
|
"y": 0.0,
|
|
"width": 126.0,
|
|
"height": 118.00003051757813
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "d90ffed8b79f4a1cb78c46a3f27f16e9"
|
|
},
|
|
{
|
|
"m_Id": "69533da906b947478e34ba82d736384f"
|
|
},
|
|
{
|
|
"m_Id": "c7877562cdf0453ca9511be499b6e5d6"
|
|
}
|
|
],
|
|
"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": "d90ffed8b79f4a1cb78c46a3f27f16e9",
|
|
"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": "e57b4aebb1fb4529a21b604e14d132d9",
|
|
"m_Id": 1,
|
|
"m_DisplayName": "B",
|
|
"m_SlotType": 0,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "B",
|
|
"m_StageCapability": 3,
|
|
"m_Value": {
|
|
"x": 1.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": "f1679f38cc87497e83ba161977a94d91",
|
|
"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.DynamicVectorMaterialSlot",
|
|
"m_ObjectId": "f36c6be8b8084035a129c13dfd7eabc5",
|
|
"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": 1,
|
|
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
|
|
"m_ObjectId": "f5238825c9d84359ad3fa6be3ecc80d9",
|
|
"m_Guid": {
|
|
"m_GuidSerialized": "41d8efe8-5e04-4978-b23b-d8ee43cb06d8"
|
|
},
|
|
"m_Name": "In",
|
|
"m_DefaultRefNameVersion": 1,
|
|
"m_RefNameGeneratedByDisplayName": "In",
|
|
"m_DefaultReferenceName": "_In",
|
|
"m_OverrideReferenceName": "",
|
|
"m_GeneratePropertyBlock": true,
|
|
"m_UseCustomSlotLabel": false,
|
|
"m_CustomSlotLabel": "",
|
|
"m_DismissedVersion": 0,
|
|
"m_Precision": 0,
|
|
"overrideHLSLDeclaration": false,
|
|
"hlslDeclarationOverride": 0,
|
|
"m_Hidden": false,
|
|
"m_Value": 0.0,
|
|
"m_FloatType": 0,
|
|
"m_RangeValues": {
|
|
"x": 0.0,
|
|
"y": 1.0
|
|
}
|
|
}
|
|
|