UnityGame/Library/PackageCache/com.unity.shadergraph/Samples~/NodeReference/Channel/Swizzle.shadergraph
2024-10-27 10:53:47 +03:00

2369 lines
54 KiB
Plaintext

{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "864f2a64931949ffa3afcc4ec57c4a91",
"m_Properties": [],
"m_Keywords": [],
"m_Dropdowns": [],
"m_CategoryData": [
{
"m_Id": "0f7f7bb164e049f589752447c03a3ffd"
}
],
"m_Nodes": [
{
"m_Id": "121495b857ba446d83f30114db3497f7"
},
{
"m_Id": "945361ac071a4cee96597c8661394703"
},
{
"m_Id": "eea6d4120f49452c800430ea31af3433"
},
{
"m_Id": "d9b25fa26c3846d8bc88e4d54e3f26a1"
},
{
"m_Id": "31a6ce55a0c34541957a33d88ca5780c"
},
{
"m_Id": "6ca760fc6a3042908bf2b51c0ed97d16"
},
{
"m_Id": "748751f95ede49a289a73a6dc96bb309"
},
{
"m_Id": "4915085d95c4442088348d7f93fe5b55"
},
{
"m_Id": "5f13cae2fffb45219af5fa15738a7e1b"
},
{
"m_Id": "ae5900ebb8b94c08bd5fc07510ba5fff"
},
{
"m_Id": "12fe09a40a344532a425c13f8fdd6990"
},
{
"m_Id": "1b94a4a6b7b24fe4bdc1de314be59596"
},
{
"m_Id": "9d1c16dc9646484c99f738ff3c4d8691"
},
{
"m_Id": "651240499ecd4950b729a3308f6a8401"
},
{
"m_Id": "4675f12e03bd403ca9900535c93bc80a"
},
{
"m_Id": "9bc8c945d364467198f26ec9b5dfb3a2"
},
{
"m_Id": "b22486ec0522403a8a3a13f8e0e50823"
},
{
"m_Id": "827f053a2c07478eb1b984fbb1c7ad7d"
},
{
"m_Id": "0cbff11d1da847dd8ba2d183df3616e2"
},
{
"m_Id": "8d7cabfbedff4a6ab9099c5c9f1f443d"
}
],
"m_GroupDatas": [
{
"m_Id": "22cb3f02aac74c7e9d352ad13383a7e5"
},
{
"m_Id": "cb5f2ef15fb24b868c8634b6c70450ca"
},
{
"m_Id": "f91d8e4da31b4ba8a63a124d43445d45"
}
],
"m_StickyNoteDatas": [
{
"m_Id": "1d80da12ab174b61807a579f1f2ba813"
},
{
"m_Id": "7456af3d645d4f5883c42f61d15f23b6"
},
{
"m_Id": "d139851ca8d2407c90b64308325acfe3"
},
{
"m_Id": "266687509bdb4757a9a21c08f457a093"
}
],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "4915085d95c4442088348d7f93fe5b55"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "748751f95ede49a289a73a6dc96bb309"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "5f13cae2fffb45219af5fa15738a7e1b"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "12fe09a40a344532a425c13f8fdd6990"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "5f13cae2fffb45219af5fa15738a7e1b"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "1b94a4a6b7b24fe4bdc1de314be59596"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "5f13cae2fffb45219af5fa15738a7e1b"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "ae5900ebb8b94c08bd5fc07510ba5fff"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "6ca760fc6a3042908bf2b51c0ed97d16"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "4915085d95c4442088348d7f93fe5b55"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "9bc8c945d364467198f26ec9b5dfb3a2"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "827f053a2c07478eb1b984fbb1c7ad7d"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "9bc8c945d364467198f26ec9b5dfb3a2"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "b22486ec0522403a8a3a13f8e0e50823"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "9d1c16dc9646484c99f738ff3c4d8691"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "4675f12e03bd403ca9900535c93bc80a"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "9d1c16dc9646484c99f738ff3c4d8691"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "651240499ecd4950b729a3308f6a8401"
},
"m_SlotId": 0
}
}
],
"m_VertexContext": {
"m_Position": {
"x": 0.0,
"y": 0.0
},
"m_Blocks": [
{
"m_Id": "121495b857ba446d83f30114db3497f7"
},
{
"m_Id": "945361ac071a4cee96597c8661394703"
},
{
"m_Id": "eea6d4120f49452c800430ea31af3433"
}
]
},
"m_FragmentContext": {
"m_Position": {
"x": 0.0,
"y": 200.0
},
"m_Blocks": [
{
"m_Id": "d9b25fa26c3846d8bc88e4d54e3f26a1"
},
{
"m_Id": "0cbff11d1da847dd8ba2d183df3616e2"
},
{
"m_Id": "8d7cabfbedff4a6ab9099c5c9f1f443d"
}
]
},
"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": "ea2901590b76410a8306b35674c3a89c"
},
{
"m_Id": "83eefc9fd22f4fb8bb4496df452cea9f"
},
{
"m_Id": "64e7ff9240754a37b734b5018fde3a40"
}
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "03399e940fcf4664ac068ab261f35c8b",
"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": "03988940c5804fed9b86f154808789d6",
"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.Rendering.BuiltIn.ShaderGraph.BuiltInUnlitSubTarget",
"m_ObjectId": "04f6a7f4e4844ea0999d4e88ce2ec311"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "064489f259db4ae0936b07641f8625ac",
"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.Vector1MaterialSlot",
"m_ObjectId": "0ca8450668e548e1907aba4e93c5dee7",
"m_Id": 2,
"m_DisplayName": "Y",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Y",
"m_StageCapability": 3,
"m_Value": 1.0,
"m_DefaultValue": 0.0,
"m_Labels": [
"Y"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "0cbff11d1da847dd8ba2d183df3616e2",
"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": "c3248d989ddf47c2ac4aeaf411b6b3fe"
}
],
"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.CategoryData",
"m_ObjectId": "0f7f7bb164e049f589752447c03a3ffd",
"m_Name": "",
"m_ChildObjectList": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "121495b857ba446d83f30114db3497f7",
"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": "74f1316d2252455c807401cbbec059df"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedDescriptor": "VertexDescription.Position"
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.SwizzleNode",
"m_ObjectId": "12fe09a40a344532a425c13f8fdd6990",
"m_Group": {
"m_Id": "cb5f2ef15fb24b868c8634b6c70450ca"
},
"m_Name": "Swizzle",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -880.0000610351563,
"y": 252.00001525878907,
"width": 131.5,
"height": 121.50001525878906
}
},
"m_Slots": [
{
"m_Id": "f5a2e711ee12492a81f9204d2804cccb"
},
{
"m_Id": "a11bedbad1214fe58b7d4829d54f4b64"
}
],
"synonyms": [
"swap",
"reorder",
"component mask"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"_maskInput": "wyzx",
"convertedMask": "wyzx"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "14944aa8a75748c9a20ace07211aeb6a",
"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.TangentMaterialSlot",
"m_ObjectId": "17dedbe4c40d4b80a9a89f7a276b44b7",
"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.Vector1MaterialSlot",
"m_ObjectId": "18c34271de6e41a1ae928194b4fb4654",
"m_Id": 1,
"m_DisplayName": "X",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "X",
"m_StageCapability": 3,
"m_Value": 1.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "1b6a8f931951441cbb7d6a1b3966b4df",
"m_Id": 2,
"m_DisplayName": "Y",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Y",
"m_StageCapability": 3,
"m_Value": 0.800000011920929,
"m_DefaultValue": 0.0,
"m_Labels": [
"Y"
]
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.SwizzleNode",
"m_ObjectId": "1b94a4a6b7b24fe4bdc1de314be59596",
"m_Group": {
"m_Id": "cb5f2ef15fb24b868c8634b6c70450ca"
},
"m_Name": "Swizzle",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -880.0000610351563,
"y": 373.5000305175781,
"width": 131.5,
"height": 121.5
}
},
"m_Slots": [
{
"m_Id": "14944aa8a75748c9a20ace07211aeb6a"
},
{
"m_Id": "6c814cad036f4f7e95418a3fd53ccb29"
}
],
"synonyms": [
"swap",
"reorder",
"component mask"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"_maskInput": "yzwx",
"convertedMask": "yzwx"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "1c031e80478e43f6a10ef37542a617fc",
"m_Id": 1,
"m_DisplayName": "X",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "X",
"m_StageCapability": 3,
"m_Value": 0.20000000298023225,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
"m_ObjectId": "1d80da12ab174b61807a579f1f2ba813",
"m_Title": "Swizzle Node",
"m_Content": "The Swizzle node is for isolating, copying, or rearranging the channels of the input vector.",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -930.0000610351563,
"y": -128.50001525878907,
"width": 200.0,
"height": 100.00000762939453
},
"m_Group": {
"m_Id": ""
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "21bf3c798df74c418bf068d2973e3086",
"m_Id": 4,
"m_DisplayName": "W",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "W",
"m_StageCapability": 3,
"m_Value": 0.699999988079071,
"m_DefaultValue": 0.0,
"m_Labels": [
"W"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "21e3d616f4b3433a81a69690e2ffc1f9",
"m_Id": 1,
"m_DisplayName": "X",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "X",
"m_StageCapability": 3,
"m_Value": 0.20000000298023225,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.GroupData",
"m_ObjectId": "22cb3f02aac74c7e9d352ad13383a7e5",
"m_Title": "Copying Channels",
"m_Position": {
"x": -1793.5,
"y": 76.00006103515625
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
"m_ObjectId": "266687509bdb4757a9a21c08f457a093",
"m_Title": "",
"m_Content": "You can also split a Vec4 into two Vec2s or into a Vec3 and a float.",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -548.5000610351563,
"y": 649.0000610351563,
"width": 200.00003051757813,
"height": 100.0
},
"m_Group": {
"m_Id": "f91d8e4da31b4ba8a63a124d43445d45"
}
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.SwizzleNode",
"m_ObjectId": "31a6ce55a0c34541957a33d88ca5780c",
"m_Group": {
"m_Id": ""
},
"m_Name": "Swizzle",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1078.0001220703125,
"y": -139.5,
"width": 127.50006103515625,
"height": 121.49998474121094
}
},
"m_Slots": [
{
"m_Id": "064489f259db4ae0936b07641f8625ac"
},
{
"m_Id": "d3fb29ca1d4a4e06898219d877196011"
}
],
"synonyms": [
"swap",
"reorder",
"component mask"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"_maskInput": "x",
"convertedMask": "x"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.HDUnlitSubTarget",
"m_ObjectId": "32942987ec9e456091c39a5898988de1"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
"m_ObjectId": "34c2ed57d41b442a8ebe61fd2ab9f4b5",
"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.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "39456847f54245e689ec2aa1a9ae13ef",
"m_Id": 3,
"m_DisplayName": "Z",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Z",
"m_StageCapability": 3,
"m_Value": 0.5,
"m_DefaultValue": 0.0,
"m_Labels": [
"Z"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "3b451bb3b6ac4876b54ebfe1f201a561",
"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": "3fc24a94a0994930976bf730ab32b548",
"m_Id": 2,
"m_DisplayName": "Y",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Y",
"m_StageCapability": 3,
"m_Value": 0.800000011920929,
"m_DefaultValue": 0.0,
"m_Labels": [
"Y"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "46737d3e649446af92d9f00768c4adb8",
"m_Id": 3,
"m_DisplayName": "Z",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Z",
"m_StageCapability": 3,
"m_Value": 0.5,
"m_DefaultValue": 0.0,
"m_Labels": [
"Z"
]
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.SwizzleNode",
"m_ObjectId": "4675f12e03bd403ca9900535c93bc80a",
"m_Group": {
"m_Id": "f91d8e4da31b4ba8a63a124d43445d45"
},
"m_Name": "Swizzle",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -416.0000915527344,
"y": 259.0,
"width": 130.99993896484376,
"height": 121.5
}
},
"m_Slots": [
{
"m_Id": "5ba4112b64cf48119ab892d5cb97a872"
},
{
"m_Id": "7830dff56b414015963383b120575756"
}
],
"synonyms": [
"swap",
"reorder",
"component mask"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"_maskInput": "zw",
"convertedMask": "zw"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PreviewNode",
"m_ObjectId": "4915085d95c4442088348d7f93fe5b55",
"m_Group": {
"m_Id": "22cb3f02aac74c7e9d352ad13383a7e5"
},
"m_Name": "Preview",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1626.5,
"y": 134.50001525878907,
"width": 208.0,
"height": 277.99993896484377
}
},
"m_Slots": [
{
"m_Id": "4ccc1c8bc2bc4bca99d5f89447666623"
},
{
"m_Id": "5ba78430f1b844118208e24cae3e8744"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Width": 208.0,
"m_Height": 208.0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "4ccc1c8bc2bc4bca99d5f89447666623",
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "5ba4112b64cf48119ab892d5cb97a872",
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "5ba78430f1b844118208e24cae3e8744",
"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.NormalMaterialSlot",
"m_ObjectId": "5c62053891744e4a8046f0d45efcf0c0",
"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.Vector4Node",
"m_ObjectId": "5f13cae2fffb45219af5fa15738a7e1b",
"m_Group": {
"m_Id": "cb5f2ef15fb24b868c8634b6c70450ca"
},
"m_Name": "Vector 4",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1078.0001220703125,
"y": 252.00001525878907,
"width": 131.00006103515626,
"height": 148.9999542236328
}
},
"m_Slots": [
{
"m_Id": "1c031e80478e43f6a10ef37542a617fc"
},
{
"m_Id": "80f7b1e3f9e0406492717c07f93ab4d6"
},
{
"m_Id": "39456847f54245e689ec2aa1a9ae13ef"
},
{
"m_Id": "21bf3c798df74c418bf068d2973e3086"
},
{
"m_Id": "3b451bb3b6ac4876b54ebfe1f201a561"
}
],
"synonyms": [
"4",
"v4",
"vec4",
"float4"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "60c2de12243e4fdca242c7f8cd958c20",
"m_Id": 4,
"m_DisplayName": "W",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "W",
"m_StageCapability": 3,
"m_Value": 1.0,
"m_DefaultValue": 0.0,
"m_Labels": [
"W"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
"m_ObjectId": "623ec0a505b848d7999c537e96dbd30e",
"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.Rendering.Universal.ShaderGraph.UniversalTarget",
"m_ObjectId": "64e7ff9240754a37b734b5018fde3a40",
"m_Datas": [],
"m_ActiveSubTarget": {
"m_Id": "842a158068d144d383f11ba86fa33805"
},
"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": 1,
"m_Type": "UnityEditor.ShaderGraph.SwizzleNode",
"m_ObjectId": "651240499ecd4950b729a3308f6a8401",
"m_Group": {
"m_Id": "f91d8e4da31b4ba8a63a124d43445d45"
},
"m_Name": "Swizzle",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -416.0000915527344,
"y": 137.49998474121095,
"width": 130.99993896484376,
"height": 121.50001525878906
}
},
"m_Slots": [
{
"m_Id": "e49341b7833844d0b1bad1b873899982"
},
{
"m_Id": "623ec0a505b848d7999c537e96dbd30e"
}
],
"synonyms": [
"swap",
"reorder",
"component mask"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"_maskInput": "xy",
"convertedMask": "xy"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.SystemData",
"m_ObjectId": "664e9b3c46f64f38b727df8339c10243",
"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.Vector4MaterialSlot",
"m_ObjectId": "6c814cad036f4f7e95418a3fd53ccb29",
"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_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4Node",
"m_ObjectId": "6ca760fc6a3042908bf2b51c0ed97d16",
"m_Group": {
"m_Id": "22cb3f02aac74c7e9d352ad13383a7e5"
},
"m_Name": "Vector 4",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1768.5,
"y": 134.50001525878907,
"width": 131.0,
"height": 149.00001525878907
}
},
"m_Slots": [
{
"m_Id": "18c34271de6e41a1ae928194b4fb4654"
},
{
"m_Id": "0ca8450668e548e1907aba4e93c5dee7"
},
{
"m_Id": "cd1d522fcaea4769813d702acf212125"
},
{
"m_Id": "60c2de12243e4fdca242c7f8cd958c20"
},
{
"m_Id": "d5aecb9fbe3d4afe9c5cd646df547be9"
}
],
"synonyms": [
"4",
"v4",
"vec4",
"float4"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
"m_ObjectId": "7456af3d645d4f5883c42f61d15f23b6",
"m_Title": "",
"m_Content": "Here we take the value in the Z channel of the vector and copy it to all for channels. So we start with an input vector of 1,1,0,1 and the result is a vector of 0,0,0,0.\n",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -1402.5001220703125,
"y": 445.5000305175781,
"width": 200.0,
"height": 100.00003051757813
},
"m_Group": {
"m_Id": "22cb3f02aac74c7e9d352ad13383a7e5"
}
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.SwizzleNode",
"m_ObjectId": "748751f95ede49a289a73a6dc96bb309",
"m_Group": {
"m_Id": "22cb3f02aac74c7e9d352ad13383a7e5"
},
"m_Name": "Swizzle",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1406.0001220703125,
"y": 134.50001525878907,
"width": 208.0,
"height": 305.49993896484377
}
},
"m_Slots": [
{
"m_Id": "87352c3d2f784375b544b2f4d497e349"
},
{
"m_Id": "fd18a9be6f444159b9469d0d60465732"
}
],
"synonyms": [
"swap",
"reorder",
"component mask"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"_maskInput": "zzzz",
"convertedMask": "zzzz"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PositionMaterialSlot",
"m_ObjectId": "74f1316d2252455c807401cbbec059df",
"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.Vector2MaterialSlot",
"m_ObjectId": "7830dff56b414015963383b120575756",
"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.Vector1MaterialSlot",
"m_ObjectId": "80f7b1e3f9e0406492717c07f93ab4d6",
"m_Id": 2,
"m_DisplayName": "Y",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Y",
"m_StageCapability": 3,
"m_Value": 0.800000011920929,
"m_DefaultValue": 0.0,
"m_Labels": [
"Y"
]
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.SwizzleNode",
"m_ObjectId": "827f053a2c07478eb1b984fbb1c7ad7d",
"m_Group": {
"m_Id": "f91d8e4da31b4ba8a63a124d43445d45"
},
"m_Name": "Swizzle",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -416.0000915527344,
"y": 514.5000610351563,
"width": 129.50003051757813,
"height": 121.5
}
},
"m_Slots": [
{
"m_Id": "03988940c5804fed9b86f154808789d6"
},
{
"m_Id": "9187eb453a8041dab8753fbbbcf386ab"
}
],
"synonyms": [
"swap",
"reorder",
"component mask"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"_maskInput": "a",
"convertedMask": "w"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.HDTarget",
"m_ObjectId": "83eefc9fd22f4fb8bb4496df452cea9f",
"m_ActiveSubTarget": {
"m_Id": "32942987ec9e456091c39a5898988de1"
},
"m_Datas": [
{
"m_Id": "87acb091d0f946528e383dd57ad2248e"
},
{
"m_Id": "664e9b3c46f64f38b727df8339c10243"
},
{
"m_Id": "e1e8921e862841e281ba89b0590590ba"
}
],
"m_CustomEditorGUI": "",
"m_SupportVFX": false,
"m_SupportLineRendering": false
}
{
"m_SGVersion": 2,
"m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalUnlitSubTarget",
"m_ObjectId": "842a158068d144d383f11ba86fa33805"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "87352c3d2f784375b544b2f4d497e349",
"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.Rendering.HighDefinition.ShaderGraph.BuiltinData",
"m_ObjectId": "87acb091d0f946528e383dd57ad2248e",
"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.BlockNode",
"m_ObjectId": "8d7cabfbedff4a6ab9099c5c9f1f443d",
"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": "e7ddf834e5e14d708fe986e92e18dca1"
}
],
"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": "9187eb453a8041dab8753fbbbcf386ab",
"m_Id": 1,
"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.BlockNode",
"m_ObjectId": "945361ac071a4cee96597c8661394703",
"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": "5c62053891744e4a8046f0d45efcf0c0"
}
],
"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.Vector1MaterialSlot",
"m_ObjectId": "9521c8b7458f4dac85e09054c185f1f6",
"m_Id": 4,
"m_DisplayName": "W",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "W",
"m_StageCapability": 3,
"m_Value": 0.699999988079071,
"m_DefaultValue": 0.0,
"m_Labels": [
"W"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4Node",
"m_ObjectId": "9bc8c945d364467198f26ec9b5dfb3a2",
"m_Group": {
"m_Id": "f91d8e4da31b4ba8a63a124d43445d45"
},
"m_Name": "Vector 4",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -614.5000610351563,
"y": 453.4999694824219,
"width": 131.00006103515626,
"height": 149.00003051757813
}
},
"m_Slots": [
{
"m_Id": "21e3d616f4b3433a81a69690e2ffc1f9"
},
{
"m_Id": "3fc24a94a0994930976bf730ab32b548"
},
{
"m_Id": "46737d3e649446af92d9f00768c4adb8"
},
{
"m_Id": "9521c8b7458f4dac85e09054c185f1f6"
},
{
"m_Id": "e8361c8769c04cddbb892b35d9d21977"
}
],
"synonyms": [
"4",
"v4",
"vec4",
"float4"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "9c5fa5c8d45a4d51824cff556a054815",
"m_Id": 3,
"m_DisplayName": "Z",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Z",
"m_StageCapability": 3,
"m_Value": 0.5,
"m_DefaultValue": 0.0,
"m_Labels": [
"Z"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4Node",
"m_ObjectId": "9d1c16dc9646484c99f738ff3c4d8691",
"m_Group": {
"m_Id": "f91d8e4da31b4ba8a63a124d43445d45"
},
"m_Name": "Vector 4",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -614.5000610351563,
"y": 197.99998474121095,
"width": 131.00006103515626,
"height": 149.00001525878907
}
},
"m_Slots": [
{
"m_Id": "c51d6ecf7e024c0ebcc36cbee283f589"
},
{
"m_Id": "1b6a8f931951441cbb7d6a1b3966b4df"
},
{
"m_Id": "9c5fa5c8d45a4d51824cff556a054815"
},
{
"m_Id": "fb53a28a35ff4e679b0ca764676a2a9a"
},
{
"m_Id": "c681441e5a99494eaceb74ebe345afb4"
}
],
"synonyms": [
"4",
"v4",
"vec4",
"float4"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "a11bedbad1214fe58b7d4829d54f4b64",
"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_Labels": []
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.SwizzleNode",
"m_ObjectId": "ae5900ebb8b94c08bd5fc07510ba5fff",
"m_Group": {
"m_Id": "cb5f2ef15fb24b868c8634b6c70450ca"
},
"m_Name": "Swizzle",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -880.0000610351563,
"y": 133.00003051757813,
"width": 131.5,
"height": 121.50001525878906
}
},
"m_Slots": [
{
"m_Id": "fc09ac1ad49a48a29c3fce0ea01e001e"
},
{
"m_Id": "d9f2fda5b1f44e628ff826ac49903e8a"
}
],
"synonyms": [
"swap",
"reorder",
"component mask"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"_maskInput": "zxwy",
"convertedMask": "zxwy"
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.SwizzleNode",
"m_ObjectId": "b22486ec0522403a8a3a13f8e0e50823",
"m_Group": {
"m_Id": "f91d8e4da31b4ba8a63a124d43445d45"
},
"m_Name": "Swizzle",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -416.0000915527344,
"y": 393.0000305175781,
"width": 131.50009155273438,
"height": 121.50003051757813
}
},
"m_Slots": [
{
"m_Id": "f872bd152901411c9c509555f256d16d"
},
{
"m_Id": "03399e940fcf4664ac068ab261f35c8b"
}
],
"synonyms": [
"swap",
"reorder",
"component mask"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"_maskInput": "rgb",
"convertedMask": "xyz"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
"m_ObjectId": "c3248d989ddf47c2ac4aeaf411b6b3fe",
"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.Vector1MaterialSlot",
"m_ObjectId": "c51d6ecf7e024c0ebcc36cbee283f589",
"m_Id": 1,
"m_DisplayName": "X",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "X",
"m_StageCapability": 3,
"m_Value": 0.20000000298023225,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "c681441e5a99494eaceb74ebe345afb4",
"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.GroupData",
"m_ObjectId": "cb5f2ef15fb24b868c8634b6c70450ca",
"m_Title": "Reorder the Channels",
"m_Position": {
"x": -1103.0,
"y": 74.50006103515625
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "cd1d522fcaea4769813d702acf212125",
"m_Id": 3,
"m_DisplayName": "Z",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Z",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": [
"Z"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
"m_ObjectId": "d139851ca8d2407c90b64308325acfe3",
"m_Title": "",
"m_Content": "You can reorder the channels of a vector however you'd like. Just type the channel names in the order you want them to be.",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -952.5000610351563,
"y": 497.50006103515627,
"width": 200.0,
"height": 100.0
},
"m_Group": {
"m_Id": "cb5f2ef15fb24b868c8634b6c70450ca"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "d3fb29ca1d4a4e06898219d877196011",
"m_Id": 1,
"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.Vector4MaterialSlot",
"m_ObjectId": "d5aecb9fbe3d4afe9c5cd646df547be9",
"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.BlockNode",
"m_ObjectId": "d9b25fa26c3846d8bc88e4d54e3f26a1",
"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": "34c2ed57d41b442a8ebe61fd2ab9f4b5"
}
],
"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.Vector4MaterialSlot",
"m_ObjectId": "d9f2fda5b1f44e628ff826ac49903e8a",
"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_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.HDUnlitData",
"m_ObjectId": "e1e8921e862841e281ba89b0590590ba",
"m_EnableShadowMatte": false,
"m_DistortionOnly": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "e49341b7833844d0b1bad1b873899982",
"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.Vector1MaterialSlot",
"m_ObjectId": "e7ddf834e5e14d708fe986e92e18dca1",
"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.Vector4MaterialSlot",
"m_ObjectId": "e8361c8769c04cddbb892b35d9d21977",
"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": 2,
"m_Type": "UnityEditor.Rendering.BuiltIn.ShaderGraph.BuiltInTarget",
"m_ObjectId": "ea2901590b76410a8306b35674c3a89c",
"m_Datas": [],
"m_ActiveSubTarget": {
"m_Id": "04f6a7f4e4844ea0999d4e88ce2ec311"
},
"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.BlockNode",
"m_ObjectId": "eea6d4120f49452c800430ea31af3433",
"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": "17dedbe4c40d4b80a9a89f7a276b44b7"
}
],
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "f5a2e711ee12492a81f9204d2804cccb",
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "f872bd152901411c9c509555f256d16d",
"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.GroupData",
"m_ObjectId": "f91d8e4da31b4ba8a63a124d43445d45",
"m_Title": "Split Up or Isolate Channels",
"m_Position": {
"x": -639.4999389648438,
"y": 79.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "fb53a28a35ff4e679b0ca764676a2a9a",
"m_Id": 4,
"m_DisplayName": "W",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "W",
"m_StageCapability": 3,
"m_Value": 0.699999988079071,
"m_DefaultValue": 0.0,
"m_Labels": [
"W"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "fc09ac1ad49a48a29c3fce0ea01e001e",
"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.Vector4MaterialSlot",
"m_ObjectId": "fd18a9be6f444159b9469d0d60465732",
"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_Labels": []
}