UnityGame/Library/PackageCache/com.unity.shadergraph/Samples~/NodeReference/UV/Triplanar.shadergraph

1790 lines
41 KiB
Plaintext
Raw Normal View History

2024-10-27 10:53:47 +03:00
{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "0fed23e095db4f239f421b82cdfb7f00",
"m_Properties": [],
"m_Keywords": [],
"m_Dropdowns": [],
"m_CategoryData": [
{
"m_Id": "e6a907bf5e1448d8bf14630ec0f1898e"
}
],
"m_Nodes": [
{
"m_Id": "497bb63635934041b786bdfd05f0b4da"
},
{
"m_Id": "b641a13f387741809bf0609e635c4801"
},
{
"m_Id": "39c28b61bcdd43259418ee0539aff473"
},
{
"m_Id": "99768b70121a4f889b6f9b18f0be4ebb"
},
{
"m_Id": "277eda065b18490489dbe37b4aa50d49"
},
{
"m_Id": "24edb31463364de2ab9275a4c645cd1c"
},
{
"m_Id": "2db5de2e851240328bf2efd9bf6726e5"
},
{
"m_Id": "3bfa88d625244162899a6060166af4cf"
},
{
"m_Id": "a88a1e62bfb54e66963553ee88924d3a"
},
{
"m_Id": "1f3b7a8e759b4223bff1fb0f20f4b844"
},
{
"m_Id": "c46e9318341c4aed9e0498419d0daf32"
},
{
"m_Id": "6670ff6cf12742d9975a4cb77675f8b3"
},
{
"m_Id": "14ecdf6850c643c291341e76cb918032"
}
],
"m_GroupDatas": [
{
"m_Id": "3d1778f460a345a8b0dc1f76c22db6a1"
}
],
"m_StickyNoteDatas": [
{
"m_Id": "32086b91ff3f4aae9c04eb9c1f8efd6e"
},
{
"m_Id": "1468540dab284b40ba028d9ef5e5e964"
},
{
"m_Id": "ee4ef7370e3044289c29f29de9291f5b"
},
{
"m_Id": "b0085e7c14ef40808e05642ec4cac0ae"
},
{
"m_Id": "4866c5e40b5e479ebcb2928bb2b7f026"
}
],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "1f3b7a8e759b4223bff1fb0f20f4b844"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "24edb31463364de2ab9275a4c645cd1c"
},
"m_SlotId": 4
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "2db5de2e851240328bf2efd9bf6726e5"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "c46e9318341c4aed9e0498419d0daf32"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "3bfa88d625244162899a6060166af4cf"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "24edb31463364de2ab9275a4c645cd1c"
},
"m_SlotId": 3
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "a88a1e62bfb54e66963553ee88924d3a"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "3bfa88d625244162899a6060166af4cf"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "c46e9318341c4aed9e0498419d0daf32"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "3bfa88d625244162899a6060166af4cf"
},
"m_SlotId": 0
}
}
],
"m_VertexContext": {
"m_Position": {
"x": 0.0,
"y": 0.0
},
"m_Blocks": [
{
"m_Id": "497bb63635934041b786bdfd05f0b4da"
},
{
"m_Id": "b641a13f387741809bf0609e635c4801"
},
{
"m_Id": "39c28b61bcdd43259418ee0539aff473"
}
]
},
"m_FragmentContext": {
"m_Position": {
"x": 0.0,
"y": 200.0
},
"m_Blocks": [
{
"m_Id": "99768b70121a4f889b6f9b18f0be4ebb"
},
{
"m_Id": "6670ff6cf12742d9975a4cb77675f8b3"
},
{
"m_Id": "14ecdf6850c643c291341e76cb918032"
}
]
},
"m_PreviewData": {
"serializedMesh": {
"m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}",
"m_Guid": ""
},
"preventRotation": false
},
"m_Path": "Shader Graphs",
"m_GraphPrecision": 1,
"m_PreviewMode": 2,
"m_OutputNode": {
"m_Id": ""
},
"m_SubDatas": [],
"m_ActiveTargets": [
{
"m_Id": "50d121262e934f69974687476eb9d77e"
},
{
"m_Id": "9d644470dd174af782ab36dd2f302b9d"
},
{
"m_Id": "96ee25e1d46641a19bcc0cbe90cfd355"
}
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot",
"m_ObjectId": "13ca74c62dde4332b2d86d5f98cf72f0",
"m_Id": 4,
"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": [],
"m_Space": 4
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
"m_ObjectId": "1468540dab284b40ba028d9ef5e5e964",
"m_Title": "",
"m_Content": "The Type dropdown allows you to select whether the input texture is a standard texture or a normal map.",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -477.5000305175781,
"y": -189.50001525878907,
"width": 296.0,
"height": 49.37126922607422
},
"m_Group": {
"m_Id": ""
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "14ecdf6850c643c291341e76cb918032",
"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": "e051161562bd4d9cb81c71d53b09cda9"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedDescriptor": "SurfaceDescription.Alpha"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "169d48b5e5be46599431a8400ee29fb5",
"m_Id": 6,
"m_DisplayName": "Blend",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Blend",
"m_StageCapability": 3,
"m_Value": 16.0,
"m_DefaultValue": 1.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot",
"m_ObjectId": "1c43565a20ce4f35977dc442cfaa110e",
"m_Id": 4,
"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": [],
"m_Space": 4
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "1d2da5c0bb8f4d8491ad97e20402ac8b",
"m_Id": 5,
"m_DisplayName": "Tile",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Tile",
"m_StageCapability": 3,
"m_Value": 0.5,
"m_DefaultValue": 1.0,
"m_Labels": []
}
{
"m_SGVersion": 2,
"m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalUnlitSubTarget",
"m_ObjectId": "1dd099ab09b04afdb3dcdd97f2968701"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.NormalVectorNode",
"m_ObjectId": "1f3b7a8e759b4223bff1fb0f20f4b844",
"m_Group": {
"m_Id": "3d1778f460a345a8b0dc1f76c22db6a1"
},
"m_Name": "Normal Vector",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -654.5,
"y": 236.5,
"width": 205.99990844726563,
"height": 130.5
}
},
"m_Slots": [
{
"m_Id": "8336b5ffc0344a1da704fe144b102c3f"
}
],
"synonyms": [
"surface direction"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 2,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Space": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.TriplanarNode",
"m_ObjectId": "24edb31463364de2ab9275a4c645cd1c",
"m_Group": {
"m_Id": "3d1778f460a345a8b0dc1f76c22db6a1"
},
"m_Name": "Triplanar",
"m_DrawState": {
"m_Expanded": false,
"m_Position": {
"serializedVersion": "2",
"x": -390.5,
"y": 28.99991798400879,
"width": 207.9999542236328,
"height": 336.5000915527344
}
},
"m_Slots": [
{
"m_Id": "e416d99c6a62485cab5e23043b93cd09"
},
{
"m_Id": "ef7c82ceb6144aa2b6b08f60694010a8"
},
{
"m_Id": "445dade8783347bf9b472ee406dcfcae"
},
{
"m_Id": "94f646882bf647babf15c120c0113143"
},
{
"m_Id": "1c43565a20ce4f35977dc442cfaa110e"
},
{
"m_Id": "1d2da5c0bb8f4d8491ad97e20402ac8b"
},
{
"m_Id": "169d48b5e5be46599431a8400ee29fb5"
}
],
"synonyms": [
"project"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 2,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_TextureType": 0,
"m_InputSpace": 4,
"m_NormalOutputSpace": 3
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.TriplanarNode",
"m_ObjectId": "277eda065b18490489dbe37b4aa50d49",
"m_Group": {
"m_Id": ""
},
"m_Name": "Triplanar",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -659.0,
"y": -374.00006103515627,
"width": 171.99990844726563,
"height": 248.50003051757813
}
},
"m_Slots": [
{
"m_Id": "31108da9f5454912b05e479835ffd6fe"
},
{
"m_Id": "c80510a980fa46ae94308201fececd65"
},
{
"m_Id": "c71157fb940646f6b16c54faed4ae594"
},
{
"m_Id": "e799767ab36244568c0000418e0522e2"
},
{
"m_Id": "13ca74c62dde4332b2d86d5f98cf72f0"
},
{
"m_Id": "594da78bbe144bc18a238737b223fcb0"
},
{
"m_Id": "7425e141a71a4dacb1b6568866865616"
}
],
"synonyms": [
"project"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 2,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_TextureType": 0,
"m_InputSpace": 4,
"m_NormalOutputSpace": 3
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "2d7aca17db274dca916be46f7370ad75",
"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": 1,
"m_Type": "UnityEditor.ShaderGraph.PositionNode",
"m_ObjectId": "2db5de2e851240328bf2efd9bf6726e5",
"m_Group": {
"m_Id": "3d1778f460a345a8b0dc1f76c22db6a1"
},
"m_Name": "Position",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -961.5,
"y": 28.99991798400879,
"width": 205.9998779296875,
"height": 130.5
}
},
"m_Slots": [
{
"m_Id": "aeaa905c1f1a47cf97e773d9dd8857a7"
}
],
"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.Vector4MaterialSlot",
"m_ObjectId": "31108da9f5454912b05e479835ffd6fe",
"m_Id": 0,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 2,
"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.StickyNoteData",
"m_ObjectId": "32086b91ff3f4aae9c04eb9c1f8efd6e",
"m_Title": "Triplanar Node",
"m_Content": "The Triplanar Node samples the input texture three times and projects these samples along the X, Y, and Z axes - or from the front, top, and side.\n\nUsing the XYZ output, you get projections in all three axes. Using the XZ output you get a projection from just the front and sides. Using Y output, you get just a top-down projection.",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -480.5000305175781,
"y": -372.5000305175781,
"width": 239.50001525878907,
"height": 170.50001525878907
},
"m_Group": {
"m_Id": ""
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "39c28b61bcdd43259418ee0539aff473",
"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": "b354331c713c4de68a69e840e77a9c65"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedDescriptor": "VertexDescription.Tangent"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.MultiplyNode",
"m_ObjectId": "3bfa88d625244162899a6060166af4cf",
"m_Group": {
"m_Id": "3d1778f460a345a8b0dc1f76c22db6a1"
},
"m_Name": "Multiply",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -578.0000610351563,
"y": 28.99991798400879,
"width": 129.49996948242188,
"height": 118.00008392333985
}
},
"m_Slots": [
{
"m_Id": "467f3b1ef04c4cf29c1995400c87b3b7"
},
{
"m_Id": "b8d2b072294f4bbbb98955ea3821f0cc"
},
{
"m_Id": "fd7d0000f4c0443aaa9d8c5825386ef5"
}
],
"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.GroupData",
"m_ObjectId": "3d1778f460a345a8b0dc1f76c22db6a1",
"m_Title": "Scaleable Grid Projection",
"m_Position": {
"x": -986.5000610351563,
"y": -29.500062942504884
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "40f42a40a5bf4e2fa5e4d9d8a4337284",
"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": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SamplerStateMaterialSlot",
"m_ObjectId": "445dade8783347bf9b472ee406dcfcae",
"m_Id": 2,
"m_DisplayName": "Sampler",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Sampler",
"m_StageCapability": 3,
"m_BareResource": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
"m_ObjectId": "467f3b1ef04c4cf29c1995400c87b3b7",
"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.StickyNoteData",
"m_ObjectId": "4866c5e40b5e479ebcb2928bb2b7f026",
"m_Title": "",
"m_Content": "This shader projects a grid on an object. The object can be moved, rotated, and scaled and the grid stays the same size. This could be very useful for blocking out a level using the default 1 meter cube object.",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -386.5000305175781,
"y": 375.0000305175781,
"width": 200.00001525878907,
"height": 119.00003051757813
},
"m_Group": {
"m_Id": "3d1778f460a345a8b0dc1f76c22db6a1"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "497bb63635934041b786bdfd05f0b4da",
"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": "fe23f5950bff4005a872aa4294d39599"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedDescriptor": "VertexDescription.Position"
}
{
"m_SGVersion": 2,
"m_Type": "UnityEditor.Rendering.BuiltIn.ShaderGraph.BuiltInTarget",
"m_ObjectId": "50d121262e934f69974687476eb9d77e",
"m_Datas": [],
"m_ActiveSubTarget": {
"m_Id": "cb417ab1111a460f91ba56774f4baeec"
},
"m_AllowMaterialOverride": false,
"m_SurfaceType": 0,
"m_ZWriteControl": 0,
"m_ZTestMode": 4,
"m_AlphaMode": 0,
"m_RenderFace": 2,
"m_AlphaClip": false,
"m_CustomEditorGUI": ""
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "594da78bbe144bc18a238737b223fcb0",
"m_Id": 5,
"m_DisplayName": "Tile",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Tile",
"m_StageCapability": 3,
"m_Value": 1.0,
"m_DefaultValue": 1.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.HDUnlitData",
"m_ObjectId": "6300e4c45afc4e33b9167e7ecef6a776",
"m_EnableShadowMatte": false,
"m_DistortionOnly": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "6670ff6cf12742d9975a4cb77675f8b3",
"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": "e06c92f7279a4ebfab42d5c5dedbaf71"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedDescriptor": "SurfaceDescription.Emission"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "7425e141a71a4dacb1b6568866865616",
"m_Id": 6,
"m_DisplayName": "Blend",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Blend",
"m_StageCapability": 3,
"m_Value": 1.0,
"m_DefaultValue": 1.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "7ea090c24e67479397b77db511bf713b",
"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.Vector3MaterialSlot",
"m_ObjectId": "8336b5ffc0344a1da704fe144b102c3f",
"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": 1.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
"m_ObjectId": "83ce4faacfff4e87b6d79d13abf8f177",
"m_Id": 0,
"m_DisplayName": "Base Color",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "BaseColor",
"m_StageCapability": 2,
"m_Value": {
"x": 0.5,
"y": 0.5,
"z": 0.5
},
"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.Rendering.HighDefinition.ShaderGraph.HDUnlitSubTarget",
"m_ObjectId": "8e1c12949ea74f2cb70343e97181cec7"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PositionMaterialSlot",
"m_ObjectId": "94f646882bf647babf15c120c0113143",
"m_Id": 3,
"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": [],
"m_Space": 4
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget",
"m_ObjectId": "96ee25e1d46641a19bcc0cbe90cfd355",
"m_Datas": [],
"m_ActiveSubTarget": {
"m_Id": "1dd099ab09b04afdb3dcdd97f2968701"
},
"m_AllowMaterialOverride": false,
"m_SurfaceType": 0,
"m_ZTestMode": 4,
"m_ZWriteControl": 0,
"m_AlphaMode": 0,
"m_RenderFace": 2,
"m_AlphaClip": false,
"m_CastShadows": true,
"m_ReceiveShadows": true,
"m_DisableTint": false,
"m_AdditionalMotionVectorMode": 0,
"m_AlembicMotionVectors": false,
"m_SupportsLODCrossFade": false,
"m_CustomEditorGUI": "",
"m_SupportVFX": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "99768b70121a4f889b6f9b18f0be4ebb",
"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": "83ce4faacfff4e87b6d79d13abf8f177"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedDescriptor": "SurfaceDescription.BaseColor"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "9bba95dce6e74369a6a65644c4200ec5",
"m_Id": 2,
"m_DisplayName": "World Bounds Min",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "World Bounds Min",
"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.Rendering.HighDefinition.ShaderGraph.HDTarget",
"m_ObjectId": "9d644470dd174af782ab36dd2f302b9d",
"m_ActiveSubTarget": {
"m_Id": "8e1c12949ea74f2cb70343e97181cec7"
},
"m_Datas": [
{
"m_Id": "d230c59bb72448dcb4e6c03f3eb08d34"
},
{
"m_Id": "e6f869343f4647c59c534ab189a37dbd"
},
{
"m_Id": "6300e4c45afc4e33b9167e7ecef6a776"
}
],
"m_CustomEditorGUI": "",
"m_SupportVFX": false,
"m_SupportLineRendering": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "a05bc54a92a34393aa206d62488a5501",
"m_Id": 4,
"m_DisplayName": "Bounds Size",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Bounds Size",
"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.ObjectNode",
"m_ObjectId": "a88a1e62bfb54e66963553ee88924d3a",
"m_Group": {
"m_Id": "3d1778f460a345a8b0dc1f76c22db6a1"
},
"m_Name": "Object",
"m_DrawState": {
"m_Expanded": false,
"m_Position": {
"serializedVersion": "2",
"x": -706.5001220703125,
"y": 159.4999237060547,
"width": 83.5,
"height": 77.00007629394531
}
},
"m_Slots": [
{
"m_Id": "ab3961018d414708aac874805915d644"
},
{
"m_Id": "7ea090c24e67479397b77db511bf713b"
},
{
"m_Id": "9bba95dce6e74369a6a65644c4200ec5"
},
{
"m_Id": "e6dd8470a2b94711a23a22e8e86d1fbf"
},
{
"m_Id": "a05bc54a92a34393aa206d62488a5501"
}
],
"synonyms": [
"position",
"scale",
"bounds",
"size"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "ab3961018d414708aac874805915d644",
"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.Vector3MaterialSlot",
"m_ObjectId": "aeaa905c1f1a47cf97e773d9dd8857a7",
"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": 0,
"m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot",
"m_ObjectId": "aed5b52e84734e45a8f081eb398832f4",
"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.StickyNoteData",
"m_ObjectId": "b0085e7c14ef40808e05642ec4cac0ae",
"m_Title": "",
"m_Content": "Use the Tile input to control the number of tiles per meter of the texture.\n\nUse the Blend input to control the blurriness/sharpness of the blending between the three projections.",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -948.0000610351563,
"y": -225.50001525878907,
"width": 200.0,
"height": 126.00001525878906
},
"m_Group": {
"m_Id": ""
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.TangentMaterialSlot",
"m_ObjectId": "b354331c713c4de68a69e840e77a9c65",
"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": "b641a13f387741809bf0609e635c4801",
"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": "aed5b52e84734e45a8f081eb398832f4"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedDescriptor": "VertexDescription.Normal"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
"m_ObjectId": "b8d2b072294f4bbbb98955ea3821f0cc",
"m_Id": 1,
"m_DisplayName": "B",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"m_StageCapability": 3,
"m_Value": {
"e00": 2.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.AddNode",
"m_ObjectId": "c46e9318341c4aed9e0498419d0daf32",
"m_Group": {
"m_Id": "3d1778f460a345a8b0dc1f76c22db6a1"
},
"m_Name": "Add",
"m_DrawState": {
"m_Expanded": false,
"m_Position": {
"serializedVersion": "2",
"x": -733.5000610351563,
"y": 28.99991798400879,
"width": 129.5,
"height": 94.00006866455078
}
},
"m_Slots": [
{
"m_Id": "d4e6db59ae6642bd917a1504bb56a4e5"
},
{
"m_Id": "40f42a40a5bf4e2fa5e4d9d8a4337284"
},
{
"m_Id": "2d7aca17db274dca916be46f7370ad75"
}
],
"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.SamplerStateMaterialSlot",
"m_ObjectId": "c71157fb940646f6b16c54faed4ae594",
"m_Id": 2,
"m_DisplayName": "Sampler",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Sampler",
"m_StageCapability": 3,
"m_BareResource": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Texture2DInputMaterialSlot",
"m_ObjectId": "c80510a980fa46ae94308201fececd65",
"m_Id": 1,
"m_DisplayName": "Texture",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Texture",
"m_StageCapability": 3,
"m_BareResource": false,
"m_Texture": {
"m_SerializedTexture": "{\"texture\":{\"instanceID\":0}}",
"m_Guid": ""
},
"m_DefaultType": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.Rendering.BuiltIn.ShaderGraph.BuiltInUnlitSubTarget",
"m_ObjectId": "cb417ab1111a460f91ba56774f4baeec"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.BuiltinData",
"m_ObjectId": "d230c59bb72448dcb4e6c03f3eb08d34",
"m_Distortion": false,
"m_DistortionMode": 0,
"m_DistortionDepthTest": true,
"m_AddPrecomputedVelocity": false,
"m_TransparentWritesMotionVec": false,
"m_DepthOffset": false,
"m_ConservativeDepthOffset": false,
"m_TransparencyFog": true,
"m_AlphaTestShadow": false,
"m_BackThenFrontRendering": false,
"m_TransparentDepthPrepass": false,
"m_TransparentDepthPostpass": false,
"m_TransparentPerPixelSorting": false,
"m_SupportLodCrossFade": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "d4e6db59ae6642bd917a1504bb56a4e5",
"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.Vector1MaterialSlot",
"m_ObjectId": "e051161562bd4d9cb81c71d53b09cda9",
"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.ShaderGraph.ColorRGBMaterialSlot",
"m_ObjectId": "e06c92f7279a4ebfab42d5c5dedbaf71",
"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": "e416d99c6a62485cab5e23043b93cd09",
"m_Id": 0,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 2,
"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.CategoryData",
"m_ObjectId": "e6a907bf5e1448d8bf14630ec0f1898e",
"m_Name": "",
"m_ChildObjectList": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "e6dd8470a2b94711a23a22e8e86d1fbf",
"m_Id": 3,
"m_DisplayName": "World Bounds Max",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "World Bounds Max",
"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.Rendering.HighDefinition.ShaderGraph.SystemData",
"m_ObjectId": "e6f869343f4647c59c534ab189a37dbd",
"m_MaterialNeedsUpdateHash": 0,
"m_SurfaceType": 0,
"m_RenderingPass": 1,
"m_BlendMode": 0,
"m_ZTest": 4,
"m_ZWrite": false,
"m_TransparentCullMode": 2,
"m_OpaqueCullMode": 2,
"m_SortPriority": 0,
"m_AlphaTest": false,
"m_TransparentDepthPrepass": false,
"m_TransparentDepthPostpass": false,
"m_SupportLodCrossFade": false,
"m_DoubleSidedMode": 0,
"m_DOTSInstancing": false,
"m_CustomVelocity": false,
"m_Tessellation": false,
"m_TessellationMode": 0,
"m_TessellationFactorMinDistance": 20.0,
"m_TessellationFactorMaxDistance": 50.0,
"m_TessellationFactorTriangleSize": 100.0,
"m_TessellationShapeFactor": 0.75,
"m_TessellationBackFaceCullEpsilon": -0.25,
"m_TessellationMaxDisplacement": 0.009999999776482582,
"m_DebugSymbols": false,
"m_Version": 2,
"inspectorFoldoutMask": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PositionMaterialSlot",
"m_ObjectId": "e799767ab36244568c0000418e0522e2",
"m_Id": 3,
"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": [],
"m_Space": 4
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
"m_ObjectId": "ee4ef7370e3044289c29f29de9291f5b",
"m_Title": "",
"m_Content": "The Position input is used as the projection coordinates, and the Normal input is used to blend between the projections. Normal and Position should be in the same Space.",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -1032.5001220703125,
"y": -336.5000305175781,
"width": 218.41046142578126,
"height": 91.45230102539063
},
"m_Group": {
"m_Id": ""
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Texture2DInputMaterialSlot",
"m_ObjectId": "ef7c82ceb6144aa2b6b08f60694010a8",
"m_Id": 1,
"m_DisplayName": "Texture",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Texture",
"m_StageCapability": 3,
"m_BareResource": false,
"m_Texture": {
"m_SerializedTexture": "{\"texture\":{\"fileID\":2800000,\"guid\":\"a7ff24a0f3bd4dd4aaf9265ba8da09ba\",\"type\":3}}",
"m_Guid": ""
},
"m_DefaultType": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
"m_ObjectId": "fd7d0000f4c0443aaa9d8c5825386ef5",
"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.PositionMaterialSlot",
"m_ObjectId": "fe23f5950bff4005a872aa4294d39599",
"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
}