UnityGame/Library/PackageCache/com.unity.shadergraph/Samples~/Common/Subgraphs/UVSphereMap.shadersubgraph

1719 lines
38 KiB
Plaintext
Raw Permalink Normal View History

2024-10-27 10:53:47 +03:00
{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "82d8953e9fa748a3afa384d5cef1adb9",
"m_Properties": [
{
"m_Id": "93490a811ebc43c2acd55804efccebd6"
}
],
"m_Keywords": [],
"m_Dropdowns": [
{
"m_Id": "64dabd019fdb437da043e3cf5f776aef"
}
],
"m_CategoryData": [
{
"m_Id": "18cf8fd4020746f5965e03714c3f938e"
}
],
"m_Nodes": [
{
"m_Id": "6b6f3b6c9d8048ff9921d7cba5336f17"
},
{
"m_Id": "3f97026c46814555b3b49ddb54c0551c"
},
{
"m_Id": "9dab76ae60f141ec90d0b261ea04c46b"
},
{
"m_Id": "95742c14e2b44ad2ac4df88334de94d8"
},
{
"m_Id": "0033a25ed1244d2eacb3c24714cff5cf"
},
{
"m_Id": "b9826afdb7b44e5a8d8a1e60ab93d0ea"
},
{
"m_Id": "f1b63037dccf49dcba7f2a55231433a4"
},
{
"m_Id": "82802b47adae43a1ac16e3c0bd86d3cc"
},
{
"m_Id": "5762221f0df64b78b6f7fbdea90375b0"
},
{
"m_Id": "c33332fa6b584a918b491ee613b5c6f2"
},
{
"m_Id": "37a34edb81e94ceb9da9bebe4c802564"
},
{
"m_Id": "a0e0831a55af4ea49bceea784fe88a50"
},
{
"m_Id": "864ec84e783545df99ed97e702b336b1"
}
],
"m_GroupDatas": [
{
"m_Id": "5244a41e8efe4191a63cc46c704b35a0"
},
{
"m_Id": "9413db3e0f18415eb6c37cccd0a4e174"
},
{
"m_Id": "221a01fc63a445cea9173041fb47b5f9"
}
],
"m_StickyNoteDatas": [
{
"m_Id": "636e8dc2d083459a83387763e06ab363"
}
],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "0033a25ed1244d2eacb3c24714cff5cf"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "95742c14e2b44ad2ac4df88334de94d8"
},
"m_SlotId": 4
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "37a34edb81e94ceb9da9bebe4c802564"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "a0e0831a55af4ea49bceea784fe88a50"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "3f97026c46814555b3b49ddb54c0551c"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "0033a25ed1244d2eacb3c24714cff5cf"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "3f97026c46814555b3b49ddb54c0551c"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "95742c14e2b44ad2ac4df88334de94d8"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "3f97026c46814555b3b49ddb54c0551c"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "9dab76ae60f141ec90d0b261ea04c46b"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "3f97026c46814555b3b49ddb54c0551c"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "b9826afdb7b44e5a8d8a1e60ab93d0ea"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "5762221f0df64b78b6f7fbdea90375b0"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "c33332fa6b584a918b491ee613b5c6f2"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "82802b47adae43a1ac16e3c0bd86d3cc"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "5762221f0df64b78b6f7fbdea90375b0"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "864ec84e783545df99ed97e702b336b1"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "37a34edb81e94ceb9da9bebe4c802564"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "95742c14e2b44ad2ac4df88334de94d8"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "b9826afdb7b44e5a8d8a1e60ab93d0ea"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "9dab76ae60f141ec90d0b261ea04c46b"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "95742c14e2b44ad2ac4df88334de94d8"
},
"m_SlotId": 5
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "a0e0831a55af4ea49bceea784fe88a50"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "6b6f3b6c9d8048ff9921d7cba5336f17"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "b9826afdb7b44e5a8d8a1e60ab93d0ea"
},
"m_SlotId": 3
},
"m_InputSlot": {
"m_Node": {
"m_Id": "c33332fa6b584a918b491ee613b5c6f2"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "c33332fa6b584a918b491ee613b5c6f2"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "864ec84e783545df99ed97e702b336b1"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "f1b63037dccf49dcba7f2a55231433a4"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "b9826afdb7b44e5a8d8a1e60ab93d0ea"
},
"m_SlotId": 2
}
}
],
"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\":{\"fileID\":10200,\"guid\":\"0000000000000000e000000000000000\",\"type\":0}}",
"m_Guid": ""
},
"preventRotation": false
},
"m_Path": "UV",
"m_GraphPrecision": 1,
"m_PreviewMode": 2,
"m_OutputNode": {
"m_Id": "6b6f3b6c9d8048ff9921d7cba5336f17"
},
"m_SubDatas": [],
"m_ActiveTargets": []
}
{
"m_SGVersion": 2,
"m_Type": "UnityEditor.ShaderGraph.TransformNode",
"m_ObjectId": "0033a25ed1244d2eacb3c24714cff5cf",
"m_Group": {
"m_Id": "221a01fc63a445cea9173041fb47b5f9"
},
"m_Name": "Transform",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1548.0001220703125,
"y": -35.5,
"width": 212.0,
"height": 156.00003051757813
}
},
"m_Slots": [
{
"m_Id": "bb180f7d82d1464baba77349d136ad1e"
},
{
"m_Id": "d39411cde7e2476bbc4b07dd64dbcae8"
}
],
"synonyms": [
"world",
"tangent",
"object",
"view"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Conversion": {
"from": 2,
"to": 1
},
"m_ConversionType": 2,
"m_Normalize": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyConnectionStateMaterialSlot",
"m_ObjectId": "14b64ec9e1c2462abd16733639b7ae3d",
"m_Id": 0,
"m_DisplayName": "Input",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Input",
"m_StageCapability": 3
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.CategoryData",
"m_ObjectId": "18cf8fd4020746f5965e03714c3f938e",
"m_Name": "",
"m_ChildObjectList": [
{
"m_Id": "93490a811ebc43c2acd55804efccebd6"
},
{
"m_Id": "64dabd019fdb437da043e3cf5f776aef"
}
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "1d81cdee727d4fd2b35215379f778e15",
"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,
"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.Vector2MaterialSlot",
"m_ObjectId": "211b89e7c2d7485ea68018617abd6104",
"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": 0,
"m_Type": "UnityEditor.ShaderGraph.GroupData",
"m_ObjectId": "221a01fc63a445cea9173041fb47b5f9",
"m_Title": "Get a Normal in View space",
"m_Position": {
"x": -1811.5001220703125,
"y": -142.00001525878907
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "31940b2c0e154a17aefc3cd9bae9fcf8",
"m_Id": 1,
"m_DisplayName": "B",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 1.0,
"z": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "352eb362005449bc9efefa14b4d9b5fe",
"m_Id": 4,
"m_DisplayName": "World",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "World",
"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.MultiplyNode",
"m_ObjectId": "37a34edb81e94ceb9da9bebe4c802564",
"m_Group": {
"m_Id": "5244a41e8efe4191a63cc46c704b35a0"
},
"m_Name": "Multiply",
"m_DrawState": {
"m_Expanded": false,
"m_Position": {
"serializedVersion": "2",
"x": -318.00006103515627,
"y": -167.50001525878907,
"width": 128.50006103515626,
"height": 93.99998474121094
}
},
"m_Slots": [
{
"m_Id": "435ebb5713034fb3bc2b81f0124a44d6"
},
{
"m_Id": "f301d9bdb9a8482aaca7ec397edf16d0"
},
{
"m_Id": "a01256405eb34a24ba3d4a24e70119cf"
}
],
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "3ab9664df9d840178d76c4c11dd3c1f8",
"m_Id": 1,
"m_DisplayName": "View",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "View",
"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.Vector3MaterialSlot",
"m_ObjectId": "3bf0621fde274270a86f41fce0fa8034",
"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": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "3f97026c46814555b3b49ddb54c0551c",
"m_Group": {
"m_Id": "221a01fc63a445cea9173041fb47b5f9"
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1703.0001220703125,
"y": -48.0,
"width": 114.5,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "f6e5fef7d92e4807af454fa7f52b366a"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "93490a811ebc43c2acd55804efccebd6"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
"m_ObjectId": "435ebb5713034fb3bc2b81f0124a44d6",
"m_Id": 0,
"m_DisplayName": "A",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "A",
"m_StageCapability": 3,
"m_Value": {
"e00": -0.5,
"e01": 0.5,
"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.Vector3MaterialSlot",
"m_ObjectId": "49b10ad2661e423a82f14e160f2fc7e5",
"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
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "50ef6bbfa6944c96a81aaaa37d000cd3",
"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_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.GroupData",
"m_ObjectId": "5244a41e8efe4191a63cc46c704b35a0",
"m_Title": "Remap to the 0-1 range",
"m_Position": {
"x": -343.00006103515627,
"y": -226.00001525878907
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "536764c724524674b873d6a76d9c1a2b",
"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.NormalizeNode",
"m_ObjectId": "5762221f0df64b78b6f7fbdea90375b0",
"m_Group": {
"m_Id": ""
},
"m_Name": "Normalize",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1009.0000610351563,
"y": -296.0000305175781,
"width": 131.50006103515626,
"height": 94.0
}
},
"m_Slots": [
{
"m_Id": "536764c724524674b873d6a76d9c1a2b"
},
{
"m_Id": "1d81cdee727d4fd2b35215379f778e15"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "5867dcd8f32146c497551c4ef5224bf9",
"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.Vector3MaterialSlot",
"m_ObjectId": "602f04a04ccf4312b16ddf15080867bd",
"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
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
"m_ObjectId": "636e8dc2d083459a83387763e06ab363",
"m_Title": "",
"m_Content": "If the Normal input port is connected, use it and transform it to view space. Otherwise, use the vertex normal in view space.",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -1081.0001220703125,
"y": 100.00001525878906,
"width": 200.00006103515626,
"height": 100.0
},
"m_Group": {
"m_Id": "221a01fc63a445cea9173041fb47b5f9"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.ShaderDropdown",
"m_ObjectId": "64dabd019fdb437da043e3cf5f776aef",
"m_Guid": {
"m_GuidSerialized": "6d070c09-5bbb-4115-ab75-df34007b653f"
},
"m_Name": "Input Space",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "Input Space",
"m_DefaultReferenceName": "_Input_Space",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
"m_DismissedVersion": 0,
"m_Entries": [
{
"id": 1,
"displayName": "View"
},
{
"id": 4,
"displayName": "World"
},
{
"id": 5,
"displayName": "Tangent"
}
],
"m_Value": 2
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode",
"m_ObjectId": "6b6f3b6c9d8048ff9921d7cba5336f17",
"m_Group": {
"m_Id": ""
},
"m_Name": "Output",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -8.0,
"y": -167.50001525878907,
"width": 85.50006103515625,
"height": 76.99998474121094
}
},
"m_Slots": [
{
"m_Id": "eba18ca362bd4b27a3a6c5ac0378b27f"
}
],
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "70490bcb35614c7d972778c425092699",
"m_Id": 1,
"m_DisplayName": "Connected",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Connected",
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "7109a48264fb46b599818c53474b4cc4",
"m_Id": 5,
"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_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "79fbcdf03994457989705ddc5da78811",
"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
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "7eee171a8b214040a873def61ccabe29",
"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,
"z": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.PositionNode",
"m_ObjectId": "82802b47adae43a1ac16e3c0bd86d3cc",
"m_Group": {
"m_Id": ""
},
"m_Name": "Position",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1216.5001220703125,
"y": -296.0000305175781,
"width": 206.00006103515626,
"height": 130.50003051757813
}
},
"m_Slots": [
{
"m_Id": "5867dcd8f32146c497551c4ef5224bf9"
}
],
"synonyms": [
"location"
],
"m_Precision": 1,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 2,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Space": 1,
"m_PositionSource": 0
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.SwizzleNode",
"m_ObjectId": "864ec84e783545df99ed97e702b336b1",
"m_Group": {
"m_Id": "9413db3e0f18415eb6c37cccd0a4e174"
},
"m_Name": "Swizzle",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -695.0000610351563,
"y": -166.00001525878907,
"width": 131.0,
"height": 121.50001525878906
}
},
"m_Slots": [
{
"m_Id": "e12d4b4e9fef43d9a392f35ef6aabb37"
},
{
"m_Id": "211b89e7c2d7485ea68018617abd6104"
}
],
"synonyms": [
"swap",
"reorder",
"component mask"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"_maskInput": "yx",
"convertedMask": "yx"
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector3ShaderProperty",
"m_ObjectId": "93490a811ebc43c2acd55804efccebd6",
"m_Guid": {
"m_GuidSerialized": "5a62c5b2-d127-4a92-9be9-ae368acd3150"
},
"m_Name": "Normal",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "Normal",
"m_DefaultReferenceName": "_Normal",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": true,
"m_CustomSlotLabel": "Vertex Normal",
"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.GroupData",
"m_ObjectId": "9413db3e0f18415eb6c37cccd0a4e174",
"m_Title": "Swap X and Y. Get rid of the Z",
"m_Position": {
"x": -711.0000610351563,
"y": -224.50001525878907
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DropdownNode",
"m_ObjectId": "95742c14e2b44ad2ac4df88334de94d8",
"m_Group": {
"m_Id": "221a01fc63a445cea9173041fb47b5f9"
},
"m_Name": "Input Space",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1292.5001220703125,
"y": -60.00000762939453,
"width": 165.5,
"height": 142.0
}
},
"m_Slots": [
{
"m_Id": "50ef6bbfa6944c96a81aaaa37d000cd3"
},
{
"m_Id": "3ab9664df9d840178d76c4c11dd3c1f8"
},
{
"m_Id": "352eb362005449bc9efefa14b4d9b5fe"
},
{
"m_Id": "7109a48264fb46b599818c53474b4cc4"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Dropdown": {
"m_Id": "64dabd019fdb437da043e3cf5f776aef"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "9d7670c5d923481a881ff9474ef1e57a",
"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": 2,
"m_Type": "UnityEditor.ShaderGraph.TransformNode",
"m_ObjectId": "9dab76ae60f141ec90d0b261ea04c46b",
"m_Group": {
"m_Id": "221a01fc63a445cea9173041fb47b5f9"
},
"m_Name": "Transform",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1548.0001220703125,
"y": 120.50003051757813,
"width": 212.0,
"height": 156.0
}
},
"m_Slots": [
{
"m_Id": "602f04a04ccf4312b16ddf15080867bd"
},
{
"m_Id": "7eee171a8b214040a873def61ccabe29"
}
],
"synonyms": [
"world",
"tangent",
"object",
"view"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Conversion": {
"from": 3,
"to": 1
},
"m_ConversionType": 2,
"m_Normalize": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
"m_ObjectId": "a01256405eb34a24ba3d4a24e70119cf",
"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.AddNode",
"m_ObjectId": "a0e0831a55af4ea49bceea784fe88a50",
"m_Group": {
"m_Id": "5244a41e8efe4191a63cc46c704b35a0"
},
"m_Name": "Add",
"m_DrawState": {
"m_Expanded": false,
"m_Position": {
"serializedVersion": "2",
"x": -189.5,
"y": -167.50001525878907,
"width": 129.0,
"height": 93.99998474121094
}
},
"m_Slots": [
{
"m_Id": "c4034353381c46589c53240d357dad66"
},
{
"m_Id": "c02aea69faa94d22b12bd88ac2165440"
},
{
"m_Id": "9d7670c5d923481a881ff9474ef1e57a"
}
],
"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.BranchOnInputConnectionNode",
"m_ObjectId": "b9826afdb7b44e5a8d8a1e60ab93d0ea",
"m_Group": {
"m_Id": "221a01fc63a445cea9173041fb47b5f9"
},
"m_Name": "Branch On Input Connection",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1085.0001220703125,
"y": -83.50001525878906,
"width": 206.00006103515626,
"height": 142.00001525878907
}
},
"m_Slots": [
{
"m_Id": "14b64ec9e1c2462abd16733639b7ae3d"
},
{
"m_Id": "70490bcb35614c7d972778c425092699"
},
{
"m_Id": "edc509696bc14fb7bbdc1e0505b8b776"
},
{
"m_Id": "dedf0f4a2df3417c9c58ee2069a5d0df"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "bb180f7d82d1464baba77349d136ad1e",
"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
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "c02aea69faa94d22b12bd88ac2165440",
"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.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.CrossProductNode",
"m_ObjectId": "c33332fa6b584a918b491ee613b5c6f2",
"m_Group": {
"m_Id": ""
},
"m_Name": "Cross Product",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -855.0000610351563,
"y": -166.00001525878907,
"width": 129.5,
"height": 118.0
}
},
"m_Slots": [
{
"m_Id": "49b10ad2661e423a82f14e160f2fc7e5"
},
{
"m_Id": "31940b2c0e154a17aefc3cd9bae9fcf8"
},
{
"m_Id": "79fbcdf03994457989705ddc5da78811"
}
],
"synonyms": [
"perpendicular"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "c4034353381c46589c53240d357dad66",
"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.Vector3MaterialSlot",
"m_ObjectId": "d39411cde7e2476bbc4b07dd64dbcae8",
"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,
"z": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "dedf0f4a2df3417c9c58ee2069a5d0df",
"m_Id": 3,
"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": "e12d4b4e9fef43d9a392f35ef6aabb37",
"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.Vector2MaterialSlot",
"m_ObjectId": "eba18ca362bd4b27a3a6c5ac0378b27f",
"m_Id": 1,
"m_DisplayName": "UV",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "UV",
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "edc509696bc14fb7bbdc1e0505b8b776",
"m_Id": 2,
"m_DisplayName": "NotConnected",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "NotConnected",
"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.NormalVectorNode",
"m_ObjectId": "f1b63037dccf49dcba7f2a55231433a4",
"m_Group": {
"m_Id": "221a01fc63a445cea9173041fb47b5f9"
},
"m_Name": "Normal Vector",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1316.5001220703125,
"y": 159.0,
"width": 206.0,
"height": 130.5
}
},
"m_Slots": [
{
"m_Id": "3bf0621fde274270a86f41fce0fa8034"
}
],
"synonyms": [
"surface direction"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 2,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Space": 1
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
"m_ObjectId": "f301d9bdb9a8482aaca7ec397edf16d0",
"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.Vector3MaterialSlot",
"m_ObjectId": "f6e5fef7d92e4807af454fa7f52b366a",
"m_Id": 0,
"m_DisplayName": "Normal",
"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": []
}