Rasagar/Assets/TerrainDemoScene_URP/ShaderGraphs/SubGraphs/TerrainMatchUV.shadersubgraph

771 lines
17 KiB
Plaintext
Raw Normal View History

2024-08-26 13:07:20 -07:00
{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "153f118369f842a4bae03aa155377360",
"m_Properties": [
{
"m_Id": "b27109a90e324fbdb6c02b54679a83e4"
}
],
"m_Keywords": [],
"m_Dropdowns": [],
"m_CategoryData": [
{
"m_Id": "53f60e239cd540c79a051f263ef9e64f"
}
],
"m_Nodes": [
{
"m_Id": "f26a9b4f1f084ef39c740358a0dfbccb"
},
{
"m_Id": "1acca08af17949abbe58c99a966d8a39"
},
{
"m_Id": "9e4d9f1bf87c48e2b380c48c15b4811a"
},
{
"m_Id": "cf8bb0767b904f1bac6be29ed322ee33"
},
{
"m_Id": "29c9c1c1717a430a96ae6f407897ce22"
},
{
"m_Id": "6f5079fa55ff48ab8d0ceea21aefa7a1"
},
{
"m_Id": "aba1d09bf39d4a02bdc7905b2cde45e0"
}
],
"m_GroupDatas": [],
"m_StickyNoteDatas": [],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "1acca08af17949abbe58c99a966d8a39"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "29c9c1c1717a430a96ae6f407897ce22"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "29c9c1c1717a430a96ae6f407897ce22"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "6f5079fa55ff48ab8d0ceea21aefa7a1"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "6f5079fa55ff48ab8d0ceea21aefa7a1"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "f26a9b4f1f084ef39c740358a0dfbccb"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "9e4d9f1bf87c48e2b380c48c15b4811a"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "1acca08af17949abbe58c99a966d8a39"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "aba1d09bf39d4a02bdc7905b2cde45e0"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "9e4d9f1bf87c48e2b380c48c15b4811a"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "cf8bb0767b904f1bac6be29ed322ee33"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "1acca08af17949abbe58c99a966d8a39"
},
"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": "f26a9b4f1f084ef39c740358a0dfbccb"
},
"m_ActiveTargets": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "13b62390a4b344449b8df2f28c813cef",
"m_Id": 1,
"m_DisplayName": "B",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"m_StageCapability": 3,
"m_Value": {
"x": 0.5,
"y": 0.5,
"z": 0.5,
"w": 1.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DivideNode",
"m_ObjectId": "1acca08af17949abbe58c99a966d8a39",
"m_Group": {
"m_Id": ""
},
"m_Name": "Divide",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -237.39996337890626,
"y": -191.00003051757813,
"width": 129.9998779296875,
"height": 118.00006103515625
}
},
"m_Slots": [
{
"m_Id": "367c35cb084e4072be60785e99f631df"
},
{
"m_Id": "c8ee014e10394a7d96b9475e5b79bb38"
},
{
"m_Id": "c13c6bd4d3db4987bf571422ad3abf6f"
}
],
"synonyms": [
"division",
"divided by"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
"m_ObjectId": "1f7fad0da88b4339bd4474932d48450b",
"m_Id": 1,
"m_DisplayName": "UVs",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "UVs",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "226b6dbb3ddc48768bfeb7d505feb1a7",
"m_Id": 0,
"m_DisplayName": "ProjectionSize",
"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.SubtractNode",
"m_ObjectId": "29c9c1c1717a430a96ae6f407897ce22",
"m_Group": {
"m_Id": ""
},
"m_Name": "Subtract",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 91.5999755859375,
"y": -207.0,
"width": 130.0,
"height": 118.0
}
},
"m_Slots": [
{
"m_Id": "e87e7c2a05f94f10ab59e895e22340ff"
},
{
"m_Id": "13b62390a4b344449b8df2f28c813cef"
},
{
"m_Id": "7baac81cdea343e4bb09c07ce8eec162"
}
],
"synonyms": [
"subtraction",
"remove",
"minus",
"take away"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "367c35cb084e4072be60785e99f631df",
"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.CategoryData",
"m_ObjectId": "53f60e239cd540c79a051f263ef9e64f",
"m_Name": "",
"m_ChildObjectList": [
{
"m_Id": "b27109a90e324fbdb6c02b54679a83e4"
}
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "65f6aa9bee604cc1a1fe7436aea7dcaf",
"m_Id": 1,
"m_DisplayName": "Scale",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Scale",
"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.Vector2MaterialSlot",
"m_ObjectId": "6ab9762091564b8ca3e16038aee8e1c3",
"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
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.SwizzleNode",
"m_ObjectId": "6f5079fa55ff48ab8d0ceea21aefa7a1",
"m_Group": {
"m_Id": ""
},
"m_Name": "Swizzle",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 319.5999755859375,
"y": -206.99996948242188,
"width": 132.0,
"height": 122.99996948242188
}
},
"m_Slots": [
{
"m_Id": "9bc489f854aa4e36ad372f992b37f0ff"
},
{
"m_Id": "6ab9762091564b8ca3e16038aee8e1c3"
}
],
"synonyms": [
"swap",
"reorder",
"component mask"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"_maskInput": "xz",
"convertedMask": "xz"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "7baac81cdea343e4bb09c07ce8eec162",
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "9bc489f854aa4e36ad372f992b37f0ff",
"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.Vector1Node",
"m_ObjectId": "9e4d9f1bf87c48e2b380c48c15b4811a",
"m_Group": {
"m_Id": ""
},
"m_Name": "Float",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -539.4000244140625,
"y": -139.0,
"width": 126.0,
"height": 77.0
}
},
"m_Slots": [
{
"m_Id": "c87c2e4dfa644e2b8696b0c275aed603"
},
{
"m_Id": "e11f85ee99dc4ea3b751ba9684bafc75"
}
],
"synonyms": [
"Vector 1",
"1",
"v1",
"vec1",
"scalar"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Value": 0.0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "aba1d09bf39d4a02bdc7905b2cde45e0",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -747.9999389648438,
"y": -100.99994659423828,
"width": 150.0,
"height": 33.99993133544922
}
},
"m_Slots": [
{
"m_Id": "226b6dbb3ddc48768bfeb7d505feb1a7"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "b27109a90e324fbdb6c02b54679a83e4"
}
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
"m_ObjectId": "b27109a90e324fbdb6c02b54679a83e4",
"m_Guid": {
"m_GuidSerialized": "98f964bc-e527-400a-b1b5-0d1c0d20a6a4"
},
"m_Name": "ProjectionSize",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "ProjectionSize",
"m_DefaultReferenceName": "_ProjectionSize",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
"m_Hidden": false,
"m_Value": 2048.0,
"m_FloatType": 0,
"m_RangeValues": {
"x": 0.0,
"y": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "c13c6bd4d3db4987bf571422ad3abf6f",
"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.Vector1MaterialSlot",
"m_ObjectId": "c87c2e4dfa644e2b8696b0c275aed603",
"m_Id": 1,
"m_DisplayName": "X",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "X",
"m_StageCapability": 3,
"m_Value": 2048.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "c8ee014e10394a7d96b9475e5b79bb38",
"m_Id": 1,
"m_DisplayName": "B",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"m_StageCapability": 3,
"m_Value": {
"x": 1024.0,
"y": 1024.0,
"z": 1024.0,
"w": 2.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.ObjectNode",
"m_ObjectId": "cf8bb0767b904f1bac6be29ed322ee33",
"m_Group": {
"m_Id": ""
},
"m_Name": "Object",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -539.4000244140625,
"y": -241.0,
"width": 96.99996948242188,
"height": 101.0
}
},
"m_Slots": [
{
"m_Id": "d677a7785be64666905e9c3d58076368"
},
{
"m_Id": "65f6aa9bee604cc1a1fe7436aea7dcaf"
}
],
"synonyms": [
"position",
"scale"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "d677a7785be64666905e9c3d58076368",
"m_Id": 0,
"m_DisplayName": "Position",
"m_SlotType": 1,
"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": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "e11f85ee99dc4ea3b751ba9684bafc75",
"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": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "e87e7c2a05f94f10ab59e895e22340ff",
"m_Id": 0,
"m_DisplayName": "A",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "A",
"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.SubGraphOutputNode",
"m_ObjectId": "f26a9b4f1f084ef39c740358a0dfbccb",
"m_Group": {
"m_Id": ""
},
"m_Name": "Output",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 616.0,
"y": -207.0,
"width": 121.0,
"height": 77.0
}
},
"m_Slots": [
{
"m_Id": "1f7fad0da88b4339bd4474932d48450b"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"IsFirstSlotValid": true
}