UnityGame/Library/PackageCache/com.unity.shadergraph/ShaderGraphLibrary/Nature/SpeedTree8LODTransition.shadersubgraph
2024-10-27 10:53:47 +03:00

558 lines
13 KiB
Plaintext

{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "5df95f7679bf4cfc8ff03ba5c2e9bd9a",
"m_Properties": [
{
"m_Id": "be4498ae834e45b880f9a673b5a1c985"
},
{
"m_Id": "df8a63625fb74b9db38b7dfe9ddf3b31"
}
],
"m_Keywords": [],
"m_Dropdowns": [],
"m_CategoryData": [
{
"m_Id": "41610b9c955045e4985b2a7a3c250128"
}
],
"m_Nodes": [
{
"m_Id": "a7cc8110386a4246aca9cd7d92f4547b"
},
{
"m_Id": "c0cddf2ae9c6488e89f3ce0712ca5e55"
},
{
"m_Id": "f4a1125310d54961a6958ee8ff2c4f7c"
},
{
"m_Id": "9fb28ee20c4e4b21ba90f8846043c15a"
},
{
"m_Id": "98e96a1ad39749298b605f999db7dbe2"
}
],
"m_GroupDatas": [],
"m_StickyNoteDatas": [],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "98e96a1ad39749298b605f999db7dbe2"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "c0cddf2ae9c6488e89f3ce0712ca5e55"
},
"m_SlotId": 5
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "9fb28ee20c4e4b21ba90f8846043c15a"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "c0cddf2ae9c6488e89f3ce0712ca5e55"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "c0cddf2ae9c6488e89f3ce0712ca5e55"
},
"m_SlotId": 4
},
"m_InputSlot": {
"m_Node": {
"m_Id": "a7cc8110386a4246aca9cd7d92f4547b"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "f4a1125310d54961a6958ee8ff2c4f7c"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "c0cddf2ae9c6488e89f3ce0712ca5e55"
},
"m_SlotId": 1
}
}
],
"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": "SpeedTree",
"m_GraphPrecision": 1,
"m_PreviewMode": 2,
"m_OutputNode": {
"m_Id": "a7cc8110386a4246aca9cd7d92f4547b"
},
"m_SubDatas": [],
"m_ActiveTargets": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "0aac7827b0e04e0db61b568b356fb8d5",
"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": "26cb83fb0d024be6b58b64aab4cae3bc",
"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": "2839097f17704237b5abd0a2ea33427f",
"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.Vector3MaterialSlot",
"m_ObjectId": "3da7ee97d49d41b481c6f617b3e43777",
"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": "41610b9c955045e4985b2a7a3c250128",
"m_Name": "",
"m_ChildObjectList": [
{
"m_Id": "df8a63625fb74b9db38b7dfe9ddf3b31"
},
{
"m_Id": "be4498ae834e45b880f9a673b5a1c985"
}
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "8b8f30e472bb4be8a31391986e7eda10",
"m_Id": 1,
"m_DisplayName": "ObjectSpacePositionNextLOD",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "ObjectSpacePositionNextLOD",
"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": "98e96a1ad39749298b605f999db7dbe2",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -370.3999938964844,
"y": -270.4000549316406,
"width": 134.3999786376953,
"height": 33.60008239746094
}
},
"m_Slots": [
{
"m_Id": "ee441aa7b06b45c08ea3aebee59a87f7"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "be4498ae834e45b880f9a673b5a1c985"
}
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.PositionNode",
"m_ObjectId": "9fb28ee20c4e4b21ba90f8846043c15a",
"m_Group": {
"m_Id": ""
},
"m_Name": "Position",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -442.39996337890627,
"y": -553.5999755859375,
"width": 206.3999481201172,
"height": 128.79995727539063
}
},
"m_Slots": [
{
"m_Id": "dec5f161e725461a86d5a9bea6c30a3e"
}
],
"synonyms": [
"location"
],
"m_Precision": 1,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 2,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Space": 0,
"m_PositionSource": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode",
"m_ObjectId": "a7cc8110386a4246aca9cd7d92f4547b",
"m_Group": {
"m_Id": ""
},
"m_Name": "Output",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 231.99998474121095,
"y": -443.2000427246094,
"width": 182.3999786376953,
"height": 76.80001831054688
}
},
"m_Slots": [
{
"m_Id": "0aac7827b0e04e0db61b568b356fb8d5"
}
],
"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.Internal.BooleanShaderProperty",
"m_ObjectId": "be4498ae834e45b880f9a673b5a1c985",
"m_Guid": {
"m_GuidSerialized": "78de9e69-4ebd-41a4-a79e-89308af6789f"
},
"m_Name": "Is Billboard",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "Is Billboard",
"m_DefaultReferenceName": "Is_Billboard",
"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": false
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode",
"m_ObjectId": "c0cddf2ae9c6488e89f3ce0712ca5e55",
"m_Group": {
"m_Id": ""
},
"m_Name": "SpeedTreeLODTransition (Custom Function)",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -192.0,
"y": -443.2000427246094,
"width": 385.5999755859375,
"height": 325.60003662109377
}
},
"m_Slots": [
{
"m_Id": "3da7ee97d49d41b481c6f617b3e43777"
},
{
"m_Id": "8b8f30e472bb4be8a31391986e7eda10"
},
{
"m_Id": "f7d6ab4ca1864e22b9a05ea7b653afa5"
},
{
"m_Id": "2839097f17704237b5abd0a2ea33427f"
}
],
"synonyms": [
"code",
"HLSL"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SourceType": 0,
"m_FunctionName": "SpeedTreeLODTransition",
"m_FunctionSource": "33eafb83c6bce0842b6887eebaf95436",
"m_FunctionBody": "Enter function body here..."
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "dec5f161e725461a86d5a9bea6c30a3e",
"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
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector3ShaderProperty",
"m_ObjectId": "df8a63625fb74b9db38b7dfe9ddf3b31",
"m_Guid": {
"m_GuidSerialized": "dfcfcf03-7dec-4747-be7e-73fc3618f563"
},
"m_Name": "ObjectSpacePosition",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "ObjectSpacePosition",
"m_DefaultReferenceName": "_ObjectSpacePosition",
"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.BooleanMaterialSlot",
"m_ObjectId": "ee441aa7b06b45c08ea3aebee59a87f7",
"m_Id": 0,
"m_DisplayName": "Is Billboard",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": false,
"m_DefaultValue": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.UVNode",
"m_ObjectId": "f4a1125310d54961a6958ee8ff2c4f7c",
"m_Group": {
"m_Id": ""
},
"m_Name": "UV",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -380.79998779296877,
"y": -408.0000305175781,
"width": 144.7999725341797,
"height": 127.20004272460938
}
},
"m_Slots": [
{
"m_Id": "26cb83fb0d024be6b58b64aab4cae3bc"
}
],
"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.BooleanMaterialSlot",
"m_ObjectId": "f7d6ab4ca1864e22b9a05ea7b653afa5",
"m_Id": 5,
"m_DisplayName": "IsBillboard",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "IsBillboard",
"m_StageCapability": 3,
"m_Value": false,
"m_DefaultValue": false
}