660 lines
15 KiB
Plaintext
660 lines
15 KiB
Plaintext
{
|
|
"m_SGVersion": 3,
|
|
"m_Type": "UnityEditor.ShaderGraph.GraphData",
|
|
"m_ObjectId": "b442e96e92cf47f58945d47254293335",
|
|
"m_Properties": [
|
|
{
|
|
"m_Id": "512e8ebb5ae84c469321af83a03eb4b2"
|
|
}
|
|
],
|
|
"m_Keywords": [],
|
|
"m_Dropdowns": [],
|
|
"m_CategoryData": [
|
|
{
|
|
"m_Id": "1c23319c796542cbb41709783aed209b"
|
|
}
|
|
],
|
|
"m_Nodes": [
|
|
{
|
|
"m_Id": "38b788f3a953058a8b4cda0de8d0b960"
|
|
},
|
|
{
|
|
"m_Id": "7096d11633c942af93e2e63e3d33b97d"
|
|
},
|
|
{
|
|
"m_Id": "a3cb2271188545d084a76c374630118c"
|
|
},
|
|
{
|
|
"m_Id": "64ff11d7a32d40e1b44f0a324697eee0"
|
|
},
|
|
{
|
|
"m_Id": "988078c6904d4b80a30349f80f391c4b"
|
|
},
|
|
{
|
|
"m_Id": "b6be9a8f128b4fd4ab1b92d6f5821a09"
|
|
}
|
|
],
|
|
"m_GroupDatas": [],
|
|
"m_StickyNoteDatas": [],
|
|
"m_Edges": [
|
|
{
|
|
"m_OutputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "64ff11d7a32d40e1b44f0a324697eee0"
|
|
},
|
|
"m_SlotId": 0
|
|
},
|
|
"m_InputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "a3cb2271188545d084a76c374630118c"
|
|
},
|
|
"m_SlotId": 1
|
|
}
|
|
},
|
|
{
|
|
"m_OutputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "7096d11633c942af93e2e63e3d33b97d"
|
|
},
|
|
"m_SlotId": 0
|
|
},
|
|
"m_InputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "a3cb2271188545d084a76c374630118c"
|
|
},
|
|
"m_SlotId": 0
|
|
}
|
|
},
|
|
{
|
|
"m_OutputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "988078c6904d4b80a30349f80f391c4b"
|
|
},
|
|
"m_SlotId": 0
|
|
},
|
|
"m_InputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "a3cb2271188545d084a76c374630118c"
|
|
},
|
|
"m_SlotId": 2
|
|
}
|
|
},
|
|
{
|
|
"m_OutputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "a3cb2271188545d084a76c374630118c"
|
|
},
|
|
"m_SlotId": 4
|
|
},
|
|
"m_InputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "38b788f3a953058a8b4cda0de8d0b960"
|
|
},
|
|
"m_SlotId": 1
|
|
}
|
|
},
|
|
{
|
|
"m_OutputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "b6be9a8f128b4fd4ab1b92d6f5821a09"
|
|
},
|
|
"m_SlotId": 0
|
|
},
|
|
"m_InputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "a3cb2271188545d084a76c374630118c"
|
|
},
|
|
"m_SlotId": 3
|
|
}
|
|
}
|
|
],
|
|
"m_VertexContext": {
|
|
"m_Position": {
|
|
"x": -163.0000457763672,
|
|
"y": -63.000003814697269
|
|
},
|
|
"m_Blocks": []
|
|
},
|
|
"m_FragmentContext": {
|
|
"m_Position": {
|
|
"x": -163.0000457763672,
|
|
"y": 137.0
|
|
},
|
|
"m_Blocks": []
|
|
},
|
|
"m_PreviewData": {
|
|
"serializedMesh": {
|
|
"m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}",
|
|
"m_Guid": ""
|
|
},
|
|
"preventRotation": false
|
|
},
|
|
"m_Path": "SpeedTree",
|
|
"m_GraphPrecision": 0,
|
|
"m_PreviewMode": 2,
|
|
"m_OutputNode": {
|
|
"m_Id": "38b788f3a953058a8b4cda0de8d0b960"
|
|
},
|
|
"m_SubDatas": [],
|
|
"m_ActiveTargets": []
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
|
|
"m_ObjectId": "0b38a19f84db420d9b7da6d07b60faa6",
|
|
"m_Id": 0,
|
|
"m_DisplayName": "Out",
|
|
"m_SlotType": 1,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "Out",
|
|
"m_StageCapability": 3,
|
|
"m_Value": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.0,
|
|
"w": 0.0
|
|
},
|
|
"m_DefaultValue": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.0,
|
|
"w": 0.0
|
|
},
|
|
"m_Labels": []
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
|
|
"m_ObjectId": "1b5c41bf969144ce9fa073a134bc8093",
|
|
"m_Id": 0,
|
|
"m_DisplayName": "ObjectSpacePosition",
|
|
"m_SlotType": 0,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "ObjectSpacePosition",
|
|
"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.CategoryData",
|
|
"m_ObjectId": "1c23319c796542cbb41709783aed209b",
|
|
"m_Name": "",
|
|
"m_ChildObjectList": [
|
|
{
|
|
"m_Id": "512e8ebb5ae84c469321af83a03eb4b2"
|
|
}
|
|
]
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
|
|
"m_ObjectId": "1d84e23d1cc442169e02265f95c66b50",
|
|
"m_Id": 0,
|
|
"m_DisplayName": "Out",
|
|
"m_SlotType": 1,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "Out",
|
|
"m_StageCapability": 3,
|
|
"m_Value": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.0,
|
|
"w": 0.0
|
|
},
|
|
"m_DefaultValue": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.0,
|
|
"w": 0.0
|
|
},
|
|
"m_Labels": []
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode",
|
|
"m_ObjectId": "38b788f3a953058a8b4cda0de8d0b960",
|
|
"m_Group": {
|
|
"m_Id": ""
|
|
},
|
|
"m_Name": "Out_Vector4",
|
|
"m_DrawState": {
|
|
"m_Expanded": true,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": 348.7999267578125,
|
|
"y": -280.0,
|
|
"width": 182.400146484375,
|
|
"height": 76.79998779296875
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "6a59e69fa68c4c10a3caabb9c673afd4"
|
|
}
|
|
],
|
|
"synonyms": [],
|
|
"m_Precision": 0,
|
|
"m_PreviewExpanded": true,
|
|
"m_DismissedVersion": 0,
|
|
"m_PreviewMode": 0,
|
|
"m_CustomColors": {
|
|
"m_SerializableColors": []
|
|
},
|
|
"IsFirstSlotValid": true
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 1,
|
|
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector3ShaderProperty",
|
|
"m_ObjectId": "512e8ebb5ae84c469321af83a03eb4b2",
|
|
"m_Guid": {
|
|
"m_GuidSerialized": "8cb87837-b6cc-4485-afbc-36ac6e828b9c"
|
|
},
|
|
"m_Name": "ObjectSpacePositionIn",
|
|
"m_DefaultRefNameVersion": 1,
|
|
"m_RefNameGeneratedByDisplayName": "ObjectSpacePositionIn",
|
|
"m_DefaultReferenceName": "_ObjectSpacePositionIn",
|
|
"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.Vector3MaterialSlot",
|
|
"m_ObjectId": "57a8726829314d47ac46209378ac759f",
|
|
"m_Id": 0,
|
|
"m_DisplayName": "ObjectSpacePositionIn",
|
|
"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.UVNode",
|
|
"m_ObjectId": "64ff11d7a32d40e1b44f0a324697eee0",
|
|
"m_Group": {
|
|
"m_Id": ""
|
|
},
|
|
"m_Name": "UV",
|
|
"m_DrawState": {
|
|
"m_Expanded": true,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": -224.7999725341797,
|
|
"y": -316.79998779296877,
|
|
"width": 145.59996032714845,
|
|
"height": 127.20001220703125
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "1d84e23d1cc442169e02265f95c66b50"
|
|
}
|
|
],
|
|
"synonyms": [
|
|
"texcoords",
|
|
"coords",
|
|
"coordinates"
|
|
],
|
|
"m_Precision": 0,
|
|
"m_PreviewExpanded": false,
|
|
"m_DismissedVersion": 0,
|
|
"m_PreviewMode": 0,
|
|
"m_CustomColors": {
|
|
"m_SerializableColors": []
|
|
},
|
|
"m_OutputChannel": 1
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
|
|
"m_ObjectId": "6a59e69fa68c4c10a3caabb9c673afd4",
|
|
"m_Id": 1,
|
|
"m_DisplayName": "ObjectSpacePositionOut",
|
|
"m_SlotType": 0,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "ObjectSpacePositionOut",
|
|
"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.Vector4MaterialSlot",
|
|
"m_ObjectId": "6df6cdcdb5a741298fd43792b9125068",
|
|
"m_Id": 2,
|
|
"m_DisplayName": "UV2",
|
|
"m_SlotType": 0,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "UV2",
|
|
"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_Labels": []
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
|
|
"m_ObjectId": "7096d11633c942af93e2e63e3d33b97d",
|
|
"m_Group": {
|
|
"m_Id": ""
|
|
},
|
|
"m_Name": "Property",
|
|
"m_DrawState": {
|
|
"m_Expanded": true,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": -274.4000244140625,
|
|
"y": -350.3999938964844,
|
|
"width": 195.20001220703126,
|
|
"height": 33.600006103515628
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "57a8726829314d47ac46209378ac759f"
|
|
}
|
|
],
|
|
"synonyms": [],
|
|
"m_Precision": 0,
|
|
"m_PreviewExpanded": true,
|
|
"m_DismissedVersion": 0,
|
|
"m_PreviewMode": 0,
|
|
"m_CustomColors": {
|
|
"m_SerializableColors": []
|
|
},
|
|
"m_Property": {
|
|
"m_Id": "512e8ebb5ae84c469321af83a03eb4b2"
|
|
}
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
|
|
"m_ObjectId": "7a2efff76e2a4a80ba1bd340b0e959aa",
|
|
"m_Id": 3,
|
|
"m_DisplayName": "UV3",
|
|
"m_SlotType": 0,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "UV3",
|
|
"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_Labels": []
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.UVNode",
|
|
"m_ObjectId": "988078c6904d4b80a30349f80f391c4b",
|
|
"m_Group": {
|
|
"m_Id": ""
|
|
},
|
|
"m_Name": "UV",
|
|
"m_DrawState": {
|
|
"m_Expanded": true,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": -224.7999725341797,
|
|
"y": -189.5999755859375,
|
|
"width": 145.59996032714845,
|
|
"height": 127.19998168945313
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "d2ef3e828250461fab1869328bff67ed"
|
|
}
|
|
],
|
|
"synonyms": [
|
|
"texcoords",
|
|
"coords",
|
|
"coordinates"
|
|
],
|
|
"m_Precision": 0,
|
|
"m_PreviewExpanded": false,
|
|
"m_DismissedVersion": 0,
|
|
"m_PreviewMode": 0,
|
|
"m_CustomColors": {
|
|
"m_SerializableColors": []
|
|
},
|
|
"m_OutputChannel": 2
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
|
|
"m_ObjectId": "9b55ec38fa29402583a7da6283ae8ad1",
|
|
"m_Id": 1,
|
|
"m_DisplayName": "UV1",
|
|
"m_SlotType": 0,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "UV1",
|
|
"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_Labels": []
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 1,
|
|
"m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode",
|
|
"m_ObjectId": "a3cb2271188545d084a76c374630118c",
|
|
"m_Group": {
|
|
"m_Id": ""
|
|
},
|
|
"m_Name": "SpeedTree8LeafFacing (Custom Function)",
|
|
"m_DrawState": {
|
|
"m_Expanded": true,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": -28.0,
|
|
"y": -280.0,
|
|
"width": 339.2000732421875,
|
|
"height": 349.5999755859375
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "1b5c41bf969144ce9fa073a134bc8093"
|
|
},
|
|
{
|
|
"m_Id": "9b55ec38fa29402583a7da6283ae8ad1"
|
|
},
|
|
{
|
|
"m_Id": "6df6cdcdb5a741298fd43792b9125068"
|
|
},
|
|
{
|
|
"m_Id": "7a2efff76e2a4a80ba1bd340b0e959aa"
|
|
},
|
|
{
|
|
"m_Id": "d2234ae41498430fb7635bf1d0b67787"
|
|
}
|
|
],
|
|
"synonyms": [
|
|
"code",
|
|
"HLSL"
|
|
],
|
|
"m_Precision": 0,
|
|
"m_PreviewExpanded": false,
|
|
"m_DismissedVersion": 0,
|
|
"m_PreviewMode": 0,
|
|
"m_CustomColors": {
|
|
"m_SerializableColors": []
|
|
},
|
|
"m_SourceType": 0,
|
|
"m_FunctionName": "SpeedTree8LeafFacing",
|
|
"m_FunctionSource": "33eafb83c6bce0842b6887eebaf95436",
|
|
"m_FunctionBody": "Enter function body here..."
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.UVNode",
|
|
"m_ObjectId": "b6be9a8f128b4fd4ab1b92d6f5821a09",
|
|
"m_Group": {
|
|
"m_Id": ""
|
|
},
|
|
"m_Name": "UV",
|
|
"m_DrawState": {
|
|
"m_Expanded": true,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": -224.79998779296876,
|
|
"y": -62.4000244140625,
|
|
"width": 145.5999755859375,
|
|
"height": 127.20001220703125
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "0b38a19f84db420d9b7da6d07b60faa6"
|
|
}
|
|
],
|
|
"synonyms": [
|
|
"texcoords",
|
|
"coords",
|
|
"coordinates"
|
|
],
|
|
"m_Precision": 0,
|
|
"m_PreviewExpanded": false,
|
|
"m_DismissedVersion": 0,
|
|
"m_PreviewMode": 0,
|
|
"m_CustomColors": {
|
|
"m_SerializableColors": []
|
|
},
|
|
"m_OutputChannel": 3
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
|
|
"m_ObjectId": "d2234ae41498430fb7635bf1d0b67787",
|
|
"m_Id": 4,
|
|
"m_DisplayName": "ObjectSpacePositionOut",
|
|
"m_SlotType": 1,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "ObjectSpacePositionOut",
|
|
"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.Vector4MaterialSlot",
|
|
"m_ObjectId": "d2ef3e828250461fab1869328bff67ed",
|
|
"m_Id": 0,
|
|
"m_DisplayName": "Out",
|
|
"m_SlotType": 1,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "Out",
|
|
"m_StageCapability": 3,
|
|
"m_Value": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.0,
|
|
"w": 0.0
|
|
},
|
|
"m_DefaultValue": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.0,
|
|
"w": 0.0
|
|
},
|
|
"m_Labels": []
|
|
}
|
|
|