Files
MinFt/Client/Assets/Plugins/Terrain To Mesh/Shaders/Splatmap/Splatmap (Holes).shadergraph
2026-04-27 12:07:32 +08:00

1782 lines
40 KiB
Plaintext

{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "eae5d7b525ce4898ac68dacd834fce8f",
"m_Properties": [],
"m_Keywords": [],
"m_Dropdowns": [],
"m_CategoryData": [
{
"m_Id": "2783ea87b2aa462586de9d70587446ae"
}
],
"m_Nodes": [
{
"m_Id": "24112ec2b2aa8c829e8ab4bb7ea28f60"
},
{
"m_Id": "d56c6fdf7ac2828fa944da2372119006"
},
{
"m_Id": "faf4218d57c5bd8086c5bfd943c62f93"
},
{
"m_Id": "3205a9b6dc2a72849ef6c87bcf37a7b3"
},
{
"m_Id": "14102fd96158fe808a7f36898f652bbf"
},
{
"m_Id": "0131d7047a12f684b9761301e907cfb7"
},
{
"m_Id": "e590e6552b6213849574292d7ccd9e4c"
},
{
"m_Id": "ea2ddde06c540e86a59074a4ac35ecb5"
},
{
"m_Id": "87ab6d1c69564984ac86c28c6a227524"
},
{
"m_Id": "2247306ebc18492aa85d7badd25ca158"
},
{
"m_Id": "1b543cf66e7b4dac8826f058c3fe1220"
},
{
"m_Id": "f29925b9add048df814f1240a6b7b45c"
},
{
"m_Id": "c160949425ae479fbc8fb30ac5b7477a"
},
{
"m_Id": "a4af8489981442b680f62fc851d5380c"
},
{
"m_Id": "a824b4bbd8d84e48b6dbfd01a24c217f"
},
{
"m_Id": "3505b2acaffc4820af5ad59f755d2b51"
},
{
"m_Id": "2b827ea7a01d4cbebe8b30119b1ab778"
},
{
"m_Id": "a19f1189483148e0b67a23a073ef6d0f"
},
{
"m_Id": "27ab10bfd20f496bbe70ad960672dce4"
}
],
"m_GroupDatas": [
{
"m_Id": "03376586103c496c8cfda51ecade57e1"
}
],
"m_StickyNoteDatas": [],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "0131d7047a12f684b9761301e907cfb7"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "e590e6552b6213849574292d7ccd9e4c"
},
"m_SlotId": 2
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "14102fd96158fe808a7f36898f652bbf"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "e590e6552b6213849574292d7ccd9e4c"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "24112ec2b2aa8c829e8ab4bb7ea28f60"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "f29925b9add048df814f1240a6b7b45c"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "24112ec2b2aa8c829e8ab4bb7ea28f60"
},
"m_SlotId": 3
},
"m_InputSlot": {
"m_Node": {
"m_Id": "c160949425ae479fbc8fb30ac5b7477a"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "24112ec2b2aa8c829e8ab4bb7ea28f60"
},
"m_SlotId": 4
},
"m_InputSlot": {
"m_Node": {
"m_Id": "27ab10bfd20f496bbe70ad960672dce4"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "24112ec2b2aa8c829e8ab4bb7ea28f60"
},
"m_SlotId": 5
},
"m_InputSlot": {
"m_Node": {
"m_Id": "a824b4bbd8d84e48b6dbfd01a24c217f"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "24112ec2b2aa8c829e8ab4bb7ea28f60"
},
"m_SlotId": 6
},
"m_InputSlot": {
"m_Node": {
"m_Id": "3505b2acaffc4820af5ad59f755d2b51"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "3205a9b6dc2a72849ef6c87bcf37a7b3"
},
"m_SlotId": 6
},
"m_InputSlot": {
"m_Node": {
"m_Id": "2b827ea7a01d4cbebe8b30119b1ab778"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "d56c6fdf7ac2828fa944da2372119006"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "24112ec2b2aa8c829e8ab4bb7ea28f60"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "d56c6fdf7ac2828fa944da2372119006"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "3205a9b6dc2a72849ef6c87bcf37a7b3"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "e590e6552b6213849574292d7ccd9e4c"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "87ab6d1c69564984ac86c28c6a227524"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "e590e6552b6213849574292d7ccd9e4c"
},
"m_SlotId": 4
},
"m_InputSlot": {
"m_Node": {
"m_Id": "2247306ebc18492aa85d7badd25ca158"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "ea2ddde06c540e86a59074a4ac35ecb5"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "e590e6552b6213849574292d7ccd9e4c"
},
"m_SlotId": 3
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "faf4218d57c5bd8086c5bfd943c62f93"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "a19f1189483148e0b67a23a073ef6d0f"
},
"m_SlotId": 0
}
}
],
"m_VertexContext": {
"m_Position": {
"x": 423.9999694824219,
"y": 94.0
},
"m_Blocks": [
{
"m_Id": "87ab6d1c69564984ac86c28c6a227524"
},
{
"m_Id": "2247306ebc18492aa85d7badd25ca158"
},
{
"m_Id": "1b543cf66e7b4dac8826f058c3fe1220"
}
]
},
"m_FragmentContext": {
"m_Position": {
"x": 423.9999694824219,
"y": 294.0
},
"m_Blocks": [
{
"m_Id": "f29925b9add048df814f1240a6b7b45c"
},
{
"m_Id": "c160949425ae479fbc8fb30ac5b7477a"
},
{
"m_Id": "a4af8489981442b680f62fc851d5380c"
},
{
"m_Id": "27ab10bfd20f496bbe70ad960672dce4"
},
{
"m_Id": "a824b4bbd8d84e48b6dbfd01a24c217f"
},
{
"m_Id": "3505b2acaffc4820af5ad59f755d2b51"
},
{
"m_Id": "2b827ea7a01d4cbebe8b30119b1ab778"
},
{
"m_Id": "a19f1189483148e0b67a23a073ef6d0f"
}
]
},
"m_PreviewData": {
"serializedMesh": {
"m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}",
"m_Guid": ""
},
"preventRotation": false
},
"m_Path": "Hidden",
"m_GraphPrecision": 0,
"m_PreviewMode": 2,
"m_OutputNode": {
"m_Id": ""
},
"m_ActiveTargets": [
{
"m_Id": "d5ca81f3f0ca4ca28c1ef22f47f2c7cb"
}
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.NormalVectorNode",
"m_ObjectId": "0131d7047a12f684b9761301e907cfb7",
"m_Group": {
"m_Id": "03376586103c496c8cfda51ecade57e1"
},
"m_Name": "Normal Vector",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -670.0,
"y": -318.0,
"width": 206.0,
"height": 131.0
}
},
"m_Slots": [
{
"m_Id": "5f06bed90515ff8f97fd5a2e8c647115"
}
],
"synonyms": [
"surface direction"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_PreviewMode": 2,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Space": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.GroupData",
"m_ObjectId": "03376586103c496c8cfda51ecade57e1",
"m_Title": "For Curved World",
"m_Position": {
"x": -696.0,
"y": -576.0
}
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.PositionNode",
"m_ObjectId": "14102fd96158fe808a7f36898f652bbf",
"m_Group": {
"m_Id": "03376586103c496c8cfda51ecade57e1"
},
"m_Name": "Position",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -671.0,
"y": -462.9999694824219,
"width": 206.0,
"height": 131.0
}
},
"m_Slots": [
{
"m_Id": "3a35941d40c5318582ebd58bcae6dffe"
}
],
"synonyms": [
"location"
],
"m_Precision": 1,
"m_PreviewExpanded": false,
"m_PreviewMode": 2,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Space": 0,
"m_PositionSource": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "15cfceb5376ae6828359b1120e863e35",
"m_Id": 2,
"m_DisplayName": "alpha",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "alpha",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": [
"X"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "1b543cf66e7b4dac8826f058c3fe1220",
"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": "20d1e48309e24b08889e6bfd23e9dee8"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedDescriptor": "VertexDescription.Tangent"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.TangentMaterialSlot",
"m_ObjectId": "20d1e48309e24b08889e6bfd23e9dee8",
"m_Id": 0,
"m_DisplayName": "Tangent",
"m_SlotType": 0,
"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": [],
"m_Space": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "2247306ebc18492aa85d7badd25ca158",
"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": "8d7eb79b4006438e83e3bd97f3719c8c"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedDescriptor": "VertexDescription.Normal"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "22eb3b3d275ecc8f824d42d0c4fee9e1",
"m_Id": 3,
"m_DisplayName": "tangent",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "tangent",
"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": "24112ec2b2aa8c829e8ab4bb7ea28f60",
"m_Group": {
"m_Id": ""
},
"m_Name": "SHG_TerrainToMeshCalculateLayersBlend (Custom Function)",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -497.45452880859377,
"y": 229.52731323242188,
"width": 393.5999450683594,
"height": 212.9454345703125
}
},
"m_Slots": [
{
"m_Id": "5cf4a82ad780d38a876c5830dc5c89e2"
},
{
"m_Id": "403f52dde96b2e849293ba389097d2df"
},
{
"m_Id": "15cfceb5376ae6828359b1120e863e35"
},
{
"m_Id": "38e7ae8088690f8db3cdb20de18fe1ee"
},
{
"m_Id": "6baf9c7360eb5288b36c268f9922f9e4"
},
{
"m_Id": "39a9c6d33da15189bdd3ed9ae2d81e9c"
},
{
"m_Id": "e4c8a2b9b3100a8084adf8d276c41adf"
}
],
"synonyms": [
"code",
"HLSL"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SourceType": 0,
"m_FunctionName": "SHG_TerrainToMeshCalculateLayersBlend",
"m_FunctionSource": "2d07730cc67dffd49af033f967d533a7",
"m_FunctionBody": "Enter function body here..."
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.CategoryData",
"m_ObjectId": "2783ea87b2aa462586de9d70587446ae",
"m_Name": "",
"m_ChildObjectList": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "27ab10bfd20f496bbe70ad960672dce4",
"m_Group": {
"m_Id": ""
},
"m_Name": "SurfaceDescription.Metallic",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 436.3636474609375,
"y": 439.85455322265627,
"width": 199.8544921875,
"height": 40.14544677734375
}
},
"m_Slots": [
{
"m_Id": "c51b0e82e2144e119893eec334e91470"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedDescriptor": "SurfaceDescription.Metallic"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "2b827ea7a01d4cbebe8b30119b1ab778",
"m_Group": {
"m_Id": ""
},
"m_Name": "SurfaceDescription.Alpha",
"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": "64deeed0053f477d8d3e119d7c75ed80"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedDescriptor": "SurfaceDescription.Alpha"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "2e6beb798025e8889fab9764b8c28f28",
"m_Id": 0,
"m_DisplayName": "vertex",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "vertex",
"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.Vector4MaterialSlot",
"m_ObjectId": "2f4ad398217d83879b4e8421aa3d3dba",
"m_Id": 0,
"m_DisplayName": "uv",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "uv",
"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": "3205a9b6dc2a72849ef6c87bcf37a7b3",
"m_Group": {
"m_Id": ""
},
"m_Name": "SHG_TerrainToMeshCalculateClipValue (Custom Function)",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -493.0909118652344,
"y": 543.7091674804688,
"width": 377.01812744140627,
"height": 93.38177490234375
}
},
"m_Slots": [
{
"m_Id": "2f4ad398217d83879b4e8421aa3d3dba"
},
{
"m_Id": "3a3d23ea9aac798f80664dc32677f831"
}
],
"synonyms": [
"code",
"HLSL"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SourceType": 0,
"m_FunctionName": "SHG_TerrainToMeshCalculateClipValue",
"m_FunctionSource": "2d07730cc67dffd49af033f967d533a7",
"m_FunctionBody": "Enter function body here..."
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "3505b2acaffc4820af5ad59f755d2b51",
"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": "f005a7a2085c4a6e8a07edf178a4bbab"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedDescriptor": "SurfaceDescription.Occlusion"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "36aba7198c20b38682fb9b9a31295523",
"m_Id": 2,
"m_DisplayName": "normal",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "normal",
"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.Vector3MaterialSlot",
"m_ObjectId": "38e7ae8088690f8db3cdb20de18fe1ee",
"m_Id": 3,
"m_DisplayName": "normal",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "normal",
"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": "39a9c6d33da15189bdd3ed9ae2d81e9c",
"m_Id": 5,
"m_DisplayName": "smoothness",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "smoothness",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": [
"X"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "3a35941d40c5318582ebd58bcae6dffe",
"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": [
"X",
"Y",
"Z"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "3a3d23ea9aac798f80664dc32677f831",
"m_Id": 6,
"m_DisplayName": "clipValue",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "clipValue",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": [
"X"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "3b5a9a1c963d2886970aa2af2f4cdd97",
"m_Id": 0,
"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": [
"X"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "403f52dde96b2e849293ba389097d2df",
"m_Id": 1,
"m_DisplayName": "albedo",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "albedo",
"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": "44b9965351b64d87998f2ee50eaa9e7a",
"m_Id": 0,
"m_DisplayName": "Alpha Clip Threshold",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "AlphaClipThreshold",
"m_StageCapability": 2,
"m_Value": 0.0,
"m_DefaultValue": 0.5,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
"m_ObjectId": "5332bc7e39b544fe999b37658af967c3",
"m_Id": 0,
"m_DisplayName": "Emission",
"m_SlotType": 0,
"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": [],
"m_ColorMode": 1,
"m_DefaultColor": {
"r": 0.0,
"g": 0.0,
"b": 0.0,
"a": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "5cf4a82ad780d38a876c5830dc5c89e2",
"m_Id": 0,
"m_DisplayName": "uv",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "uv",
"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": "5f06bed90515ff8f97fd5a2e8c647115",
"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": 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": "64deeed0053f477d8d3e119d7c75ed80",
"m_Id": 0,
"m_DisplayName": "Alpha",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Alpha",
"m_StageCapability": 2,
"m_Value": 1.0,
"m_DefaultValue": 1.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalLitSubTarget",
"m_ObjectId": "677060cd9e614aaeb41bb44f8585b869",
"m_WorkflowMode": 1,
"m_NormalDropOffSpace": 0,
"m_ClearCoat": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "6baf9c7360eb5288b36c268f9922f9e4",
"m_Id": 4,
"m_DisplayName": "metallic",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "metallic",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": [
"X"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "81abc17ffbb9788ab59738a3733de7a1",
"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": 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.BlockNode",
"m_ObjectId": "87ab6d1c69564984ac86c28c6a227524",
"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": "df920345f7ec495bacbca5f1473bf620"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedDescriptor": "VertexDescription.Position"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot",
"m_ObjectId": "8d7eb79b4006438e83e3bd97f3719c8c",
"m_Id": 0,
"m_DisplayName": "Normal",
"m_SlotType": 0,
"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": [],
"m_Space": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "a19f1189483148e0b67a23a073ef6d0f",
"m_Group": {
"m_Id": ""
},
"m_Name": "SurfaceDescription.AlphaClipThreshold",
"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": "44b9965351b64d87998f2ee50eaa9e7a"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedDescriptor": "SurfaceDescription.AlphaClipThreshold"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "a4af8489981442b680f62fc851d5380c",
"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": "5332bc7e39b544fe999b37658af967c3"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedDescriptor": "SurfaceDescription.Emission"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "a824b4bbd8d84e48b6dbfd01a24c217f",
"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": "f9dcd1337d05496bafd7387eaaa14508"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedDescriptor": "SurfaceDescription.Smoothness"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot",
"m_ObjectId": "be95f92fbad247e6908b3d32e07a0666",
"m_Id": 0,
"m_DisplayName": "Normal (Tangent Space)",
"m_SlotType": 0,
"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": [],
"m_Space": 3
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
"m_ObjectId": "c038f7a9598c4d15ba6b8b1028ada906",
"m_Id": 0,
"m_DisplayName": "Base Color",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "BaseColor",
"m_StageCapability": 2,
"m_Value": {
"x": 0.7353569269180298,
"y": 0.7353569269180298,
"z": 0.7353569269180298
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_Labels": [],
"m_ColorMode": 0,
"m_DefaultColor": {
"r": 0.5,
"g": 0.5,
"b": 0.5,
"a": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "c160949425ae479fbc8fb30ac5b7477a",
"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": "be95f92fbad247e6908b3d32e07a0666"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedDescriptor": "SurfaceDescription.NormalTS"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "c3efea6826f80187b6ba3b4d2c212ae2",
"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.Vector1MaterialSlot",
"m_ObjectId": "c51b0e82e2144e119893eec334e91470",
"m_Id": 0,
"m_DisplayName": "Metallic",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Metallic",
"m_StageCapability": 2,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "d2ef02f4486d0b8b887b479679bd7f03",
"m_Id": 1,
"m_DisplayName": "position",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "position",
"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.UVNode",
"m_ObjectId": "d56c6fdf7ac2828fa944da2372119006",
"m_Group": {
"m_Id": ""
},
"m_Name": "UV",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -787.2000732421875,
"y": 372.6545715332031,
"width": 143.12738037109376,
"height": 129.16363525390626
}
},
"m_Slots": [
{
"m_Id": "c3efea6826f80187b6ba3b4d2c212ae2"
}
],
"synonyms": [
"texcoords",
"coords",
"coordinates"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_OutputChannel": 0
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget",
"m_ObjectId": "d5ca81f3f0ca4ca28c1ef22f47f2c7cb",
"m_ActiveSubTarget": {
"m_Id": "677060cd9e614aaeb41bb44f8585b869"
},
"m_AllowMaterialOverride": false,
"m_SurfaceType": 0,
"m_ZTestMode": 4,
"m_ZWriteControl": 0,
"m_AlphaMode": 0,
"m_RenderFace": 2,
"m_AlphaClip": true,
"m_CastShadows": true,
"m_ReceiveShadows": true,
"m_CustomEditorGUI": "AmazingAssets.TerrainToMesh.Editor.SplatmapShaderGUI",
"m_SupportVFX": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PositionMaterialSlot",
"m_ObjectId": "df920345f7ec495bacbca5f1473bf620",
"m_Id": 0,
"m_DisplayName": "Position",
"m_SlotType": 0,
"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": [],
"m_Space": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "e4c8a2b9b3100a8084adf8d276c41adf",
"m_Id": 6,
"m_DisplayName": "occlusion",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "occlusion",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": [
"X"
]
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode",
"m_ObjectId": "e590e6552b6213849574292d7ccd9e4c",
"m_Group": {
"m_Id": "03376586103c496c8cfda51ecade57e1"
},
"m_Name": "SHG_TerrainToMeshCurvedWorld (Custom Function)",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -400.9999694824219,
"y": -342.9999694824219,
"width": 170.0,
"height": 142.0
}
},
"m_Slots": [
{
"m_Id": "d2ef02f4486d0b8b887b479679bd7f03"
},
{
"m_Id": "36aba7198c20b38682fb9b9a31295523"
},
{
"m_Id": "22eb3b3d275ecc8f824d42d0c4fee9e1"
},
{
"m_Id": "2e6beb798025e8889fab9764b8c28f28"
},
{
"m_Id": "ee1689293387d981b7f85b3a5505dd9e"
}
],
"synonyms": [
"code",
"HLSL"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SourceType": 0,
"m_FunctionName": "SHG_TerrainToMeshCurvedWorld",
"m_FunctionSource": "2d07730cc67dffd49af033f967d533a7",
"m_FunctionBody": "Enter function body here..."
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.TangentVectorNode",
"m_ObjectId": "ea2ddde06c540e86a59074a4ac35ecb5",
"m_Group": {
"m_Id": "03376586103c496c8cfda51ecade57e1"
},
"m_Name": "Tangent Vector",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -670.0,
"y": -179.99998474121095,
"width": 206.0,
"height": 131.0
}
},
"m_Slots": [
{
"m_Id": "81abc17ffbb9788ab59738a3733de7a1"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_PreviewMode": 2,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Space": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "ee1689293387d981b7f85b3a5505dd9e",
"m_Id": 4,
"m_DisplayName": "normal (1)",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "normal",
"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": "f005a7a2085c4a6e8a07edf178a4bbab",
"m_Id": 0,
"m_DisplayName": "Ambient Occlusion",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Occlusion",
"m_StageCapability": 2,
"m_Value": 1.0,
"m_DefaultValue": 1.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "f29925b9add048df814f1240a6b7b45c",
"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": "c038f7a9598c4d15ba6b8b1028ada906"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedDescriptor": "SurfaceDescription.BaseColor"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "f79bb1685e1f878197488884973eddfe",
"m_Id": 1,
"m_DisplayName": "X",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "X",
"m_StageCapability": 3,
"m_Value": 0.5,
"m_DefaultValue": 0.0,
"m_Labels": [
"X"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "f9dcd1337d05496bafd7387eaaa14508",
"m_Id": 0,
"m_DisplayName": "Smoothness",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Smoothness",
"m_StageCapability": 2,
"m_Value": 0.5,
"m_DefaultValue": 0.5,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1Node",
"m_ObjectId": "faf4218d57c5bd8086c5bfd943c62f93",
"m_Group": {
"m_Id": ""
},
"m_Name": "Float",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -463.4181823730469,
"y": 657.1636962890625,
"width": 129.16363525390626,
"height": 76.79986572265625
}
},
"m_Slots": [
{
"m_Id": "f79bb1685e1f878197488884973eddfe"
},
{
"m_Id": "3b5a9a1c963d2886970aa2af2f4cdd97"
}
],
"synonyms": [
"Vector 1",
"1",
"v1",
"vec1",
"scalar"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Value": 0.0
}