{ "m_SGVersion": 3, "m_Type": "UnityEditor.ShaderGraph.GraphData", "m_ObjectId": "e7997f924e7e475e8b4e521736b3ba8a", "m_Properties": [], "m_Keywords": [], "m_Dropdowns": [], "m_CategoryData": [ { "m_Id": "b52488a659c24ed5b57afff61b515d1d" } ], "m_Nodes": [ { "m_Id": "ccb9dcf3dc094f27a103a4cb17299ce2" }, { "m_Id": "ab4dbf1dbea94ff383b88d6d67ededcb" }, { "m_Id": "26c80f2961a547ffaab24d1668574215" }, { "m_Id": "734169bb8958411cb53c041b11f0f68b" }, { "m_Id": "63bbd78ee04b494092b951f412ab5645" }, { "m_Id": "a55d8e54380a4ba8b58bc895834848c6" }, { "m_Id": "e5d35e90cbc941ee837eb3629b8ec82f" }, { "m_Id": "f5e85736c45848f2a0f6591c602c3776" }, { "m_Id": "f62f08b8bbdc4e4890ef6c599b014914" }, { "m_Id": "e561ab0790a6491eaf0da9ef0d0c4639" }, { "m_Id": "f2b5d3d3d9ed4c25b08d1d61110f5dd3" }, { "m_Id": "dd48b612e87c4c71be04d46cc2cf0b0f" }, { "m_Id": "80348f6b41c44e50a9bc57804ca129f9" }, { "m_Id": "5638a6d1aa6e4c7b948c746263ef6e0b" }, { "m_Id": "a9af1b0dc45c4b5abffb90844e5f7602" }, { "m_Id": "f05e43889cbf4ee08a5b1b4544d6dd1a" }, { "m_Id": "83091453a7fd4e8abe054dc8a721f53e" }, { "m_Id": "491aadb566724e0296e40214c8e3a62e" }, { "m_Id": "623d5e102082457d936fee13c84a0da0" }, { "m_Id": "3dc6f77bc7784884a00f1a58d3c8bd12" }, { "m_Id": "60bca6c251e449bfbcd3eee3b33e2b18" } ], "m_GroupDatas": [ { "m_Id": "116f242f3f02410db237b17d36e9375f" }, { "m_Id": "34cb91c9701c4ed1a7baf5b89d3c08a1" }, { "m_Id": "e9f708b238b14a129ea045a1170726dc" } ], "m_StickyNoteDatas": [ { "m_Id": "6e1e16a33ac24a7395898a105a8fa3c1" }, { "m_Id": "a21af8cc60d2498b85962fcb2a752b6a" }, { "m_Id": "5e117a6ba21745b392ed7173b4ad3af6" }, { "m_Id": "1ece33185a4b4c25bcfc80ccc3f32fc1" }, { "m_Id": "560516a333a34f62ba6936abaf379e2c" }, { "m_Id": "5de8d36c783d4a479e7d1f7ffa65fbbb" }, { "m_Id": "7e7df804c4574d4b88261779ef6410b6" }, { "m_Id": "68a3ff91a7d14295b9d7b934dbbc328a" }, { "m_Id": "9cd3d2e98c2f4546b43a0166a0bbc565" }, { "m_Id": "600c3627e97d4c14a500e1a599897e6e" } ], "m_Edges": [ { "m_OutputSlot": { "m_Node": { "m_Id": "63bbd78ee04b494092b951f412ab5645" }, "m_SlotId": 0 }, "m_InputSlot": { "m_Node": { "m_Id": "a55d8e54380a4ba8b58bc895834848c6" }, "m_SlotId": 0 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "83091453a7fd4e8abe054dc8a721f53e" }, "m_SlotId": 1 }, "m_InputSlot": { "m_Node": { "m_Id": "491aadb566724e0296e40214c8e3a62e" }, "m_SlotId": 8 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "83091453a7fd4e8abe054dc8a721f53e" }, "m_SlotId": 1 }, "m_InputSlot": { "m_Node": { "m_Id": "623d5e102082457d936fee13c84a0da0" }, "m_SlotId": 0 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "a55d8e54380a4ba8b58bc895834848c6" }, "m_SlotId": 1 }, "m_InputSlot": { "m_Node": { "m_Id": "e5d35e90cbc941ee837eb3629b8ec82f" }, "m_SlotId": 0 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "a9af1b0dc45c4b5abffb90844e5f7602" }, "m_SlotId": 4 }, "m_InputSlot": { "m_Node": { "m_Id": "f05e43889cbf4ee08a5b1b4544d6dd1a" }, "m_SlotId": 0 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "dd48b612e87c4c71be04d46cc2cf0b0f" }, "m_SlotId": 0 }, "m_InputSlot": { "m_Node": { "m_Id": "5638a6d1aa6e4c7b948c746263ef6e0b" }, "m_SlotId": 0 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "e561ab0790a6491eaf0da9ef0d0c4639" }, "m_SlotId": 1 }, "m_InputSlot": { "m_Node": { "m_Id": "f5e85736c45848f2a0f6591c602c3776" }, "m_SlotId": 0 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "e5d35e90cbc941ee837eb3629b8ec82f" }, "m_SlotId": 2 }, "m_InputSlot": { "m_Node": { "m_Id": "e561ab0790a6491eaf0da9ef0d0c4639" }, "m_SlotId": 0 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "f05e43889cbf4ee08a5b1b4544d6dd1a" }, "m_SlotId": 2 }, "m_InputSlot": { "m_Node": { "m_Id": "83091453a7fd4e8abe054dc8a721f53e" }, "m_SlotId": 0 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "f2b5d3d3d9ed4c25b08d1d61110f5dd3" }, "m_SlotId": 0 }, "m_InputSlot": { "m_Node": { "m_Id": "80348f6b41c44e50a9bc57804ca129f9" }, "m_SlotId": 0 } } ], "m_VertexContext": { "m_Position": { "x": 0.0, "y": 0.0 }, "m_Blocks": [ { "m_Id": "ccb9dcf3dc094f27a103a4cb17299ce2" }, { "m_Id": "ab4dbf1dbea94ff383b88d6d67ededcb" }, { "m_Id": "26c80f2961a547ffaab24d1668574215" } ] }, "m_FragmentContext": { "m_Position": { "x": 0.0, "y": 200.0 }, "m_Blocks": [ { "m_Id": "734169bb8958411cb53c041b11f0f68b" }, { "m_Id": "3dc6f77bc7784884a00f1a58d3c8bd12" }, { "m_Id": "60bca6c251e449bfbcd3eee3b33e2b18" } ] }, "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": "98fb2017b586441ca8fd078867dd84f4" }, { "m_Id": "a2afa12a43174d808ccfee022d362855" }, { "m_Id": "cf6bd2572260465fbf41d82133822ddc" } ] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.TangentMaterialSlot", "m_ObjectId": "006c65bdb65d4da98b6a9035fbe43c41", "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.DynamicValueMaterialSlot", "m_ObjectId": "0b6d5edd500a4f1aa0ba0a1b35b5a6a4", "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.DynamicVectorMaterialSlot", "m_ObjectId": "0bc2b79ffe22486dbc1decf3523a488c", "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.GroupData", "m_ObjectId": "116f242f3f02410db237b17d36e9375f", "m_Title": "Functionality of the Round Node", "m_Position": { "x": -2192.500244140625, "y": 19.500022888183595 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", "m_ObjectId": "15f5670eb4af49e88d497b78150e42c5", "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.DynamicValueMaterialSlot", "m_ObjectId": "160c2b04c7ea4857960e87890297e230", "m_Id": 1, "m_DisplayName": "B", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "B", "m_StageCapability": 3, "m_Value": { "e00": 5.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.Vector1MaterialSlot", "m_ObjectId": "16bcefbbbb694e83927aeb0e0df4ecb1", "m_Id": 7, "m_DisplayName": "A", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "A", "m_StageCapability": 2, "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", "m_ObjectId": "17913926e58045b5b5e6418e378edd26", "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.UVMaterialSlot", "m_ObjectId": "1816765d22444063be49632005121c60", "m_Id": 2, "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_Channel": 0 } { "m_SGVersion": 0, "m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.SystemData", "m_ObjectId": "1d7cee0e6fdc4ff389f0ee51be52442b", "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.StickyNoteData", "m_ObjectId": "1ece33185a4b4c25bcfc80ccc3f32fc1", "m_Title": "", "m_Content": "Dividing by 5 brings the data back into the 0-1 range so we can visualize the effect of the Ceiling node in the preview.", "m_TextSize": 0, "m_Theme": 0, "m_Position": { "serializedVersion": "2", "x": -1265.0001220703125, "y": 381.0000305175781, "width": 200.0, "height": 100.00003051757813 }, "m_Group": { "m_Id": "116f242f3f02410db237b17d36e9375f" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", "m_ObjectId": "20a30883eba44c71b25f999c4857a748", "m_Id": 2, "m_DisplayName": "Out", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "Out", "m_StageCapability": 3, "m_Value": { "x": 0.0, "y": 0.0, "z": 0.0, "w": 0.0 }, "m_DefaultValue": { "x": 0.0, "y": 0.0, "z": 0.0, "w": 0.0 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", "m_ObjectId": "2170c8ccfebb441f804ac22942689fd8", "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.ColorRGBMaterialSlot", "m_ObjectId": "249ed7a53b834b99b33a74c3ea361dd0", "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.BlockNode", "m_ObjectId": "26c80f2961a547ffaab24d1668574215", "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": "006c65bdb65d4da98b6a9035fbe43c41" } ], "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.SamplerStateMaterialSlot", "m_ObjectId": "281d0e73196a45929cdc23062047ec9f", "m_Id": 3, "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.DynamicVectorMaterialSlot", "m_ObjectId": "2d488a50a7a0448886d200b30ab75359", "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": "33cd1551b26e41209769aa5674269c95", "m_Id": 0, "m_DisplayName": "RGBA", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "RGBA", "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.GroupData", "m_ObjectId": "34cb91c9701c4ed1a7baf5b89d3c08a1", "m_Title": "Rounding Up or Down", "m_Position": { "x": -2691.000244140625, "y": 19.499969482421876 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Texture2DInputMaterialSlot", "m_ObjectId": "359d02d6d12a458f95137bf74320f863", "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\":\"5f55be20229195447a95cd4c8022a5ce\",\"type\":3}}", "m_Guid": "" }, "m_DefaultType": 0 } { "m_SGVersion": 2, "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalUnlitSubTarget", "m_ObjectId": "38ad42778f3a46c3a4a75a93ea658c7a" } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.BlockNode", "m_ObjectId": "3dc6f77bc7784884a00f1a58d3c8bd12", "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": "b40b55c72f89471aaa90fd7e4f917571" } ], "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.DynamicValueMaterialSlot", "m_ObjectId": "438427c3fed7480e84e9ed6ce1ae510c", "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.SampleTexture2DArrayNode", "m_ObjectId": "491aadb566724e0296e40214c8e3a62e", "m_Group": { "m_Id": "e9f708b238b14a129ea045a1170726dc" }, "m_Name": "Sample Texture 2D Array", "m_DrawState": { "m_Expanded": false, "m_Position": { "serializedVersion": "2", "x": -378.5, "y": 78.49998474121094, "width": 208.0, "height": 277.00006103515627 } }, "m_Slots": [ { "m_Id": "33cd1551b26e41209769aa5674269c95" }, { "m_Id": "af6d4d3ca26d4d90b0f4aee6db2295fd" }, { "m_Id": "74b320a242e84149836d4d85faef877b" }, { "m_Id": "9cdcd900db1a4e698a1b469f97ff14d9" }, { "m_Id": "efac37fdb1384497801655606bb39f3d" }, { "m_Id": "65450188ce1f49ec8c09bbf810a67eff" }, { "m_Id": "b1b369daa6f940e2a1e670c6f3032269" }, { "m_Id": "8d54e8dd3d6e404e82f1498788a0cdd1" }, { "m_Id": "281d0e73196a45929cdc23062047ec9f" } ], "synonyms": [ "stack", "pile", "tex2darray" ], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_EnableGlobalMipBias": false, "m_MipSamplingMode": 0 } { "m_SGVersion": 0, "m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.HDUnlitSubTarget", "m_ObjectId": "54186cc424e2411e83314c6056aa4c12" } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.StickyNoteData", "m_ObjectId": "560516a333a34f62ba6936abaf379e2c", "m_Title": "Round Node", "m_Content": "The Round Node rounds the input value up or down to the nearest whole number.", "m_TextSize": 0, "m_Theme": 0, "m_Position": { "serializedVersion": "2", "x": -1357.0001220703125, "y": -161.00001525878907, "width": 200.0, "height": 100.00000762939453 }, "m_Group": { "m_Id": "" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.RoundNode", "m_ObjectId": "5638a6d1aa6e4c7b948c746263ef6e0b", "m_Group": { "m_Id": "34cb91c9701c4ed1a7baf5b89d3c08a1" }, "m_Name": "Round", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -2428.500244140625, "y": 375.50006103515627, "width": 208.0, "height": 278.0 } }, "m_Slots": [ { "m_Id": "925c33d56eb54e038e5b25c842988a61" }, { "m_Id": "e8c29f886e4049418b63c7d1832f6770" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.StickyNoteData", "m_ObjectId": "5de8d36c783d4a479e7d1f7ffa65fbbb", "m_Title": "", "m_Content": "Values less than 0.5 get rounded down while values 0.5 or greater get rounded up.", "m_TextSize": 0, "m_Theme": 0, "m_Position": { "serializedVersion": "2", "x": -2666.000244140625, "y": 217.00003051757813, "width": 200.0, "height": 100.0 }, "m_Group": { "m_Id": "34cb91c9701c4ed1a7baf5b89d3c08a1" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.StickyNoteData", "m_ObjectId": "5e117a6ba21745b392ed7173b4ad3af6", "m_Title": "", "m_Content": "We multiply the gradient by 5 so it has a range of 0 to 5.", "m_TextSize": 0, "m_Theme": 0, "m_Position": { "serializedVersion": "2", "x": -1756.5001220703125, "y": 207.00001525878907, "width": 200.0, "height": 100.00001525878906 }, "m_Group": { "m_Id": "116f242f3f02410db237b17d36e9375f" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.StickyNoteData", "m_ObjectId": "600c3627e97d4c14a500e1a599897e6e", "m_Title": "", "m_Content": "An array texture has multiple layers. The layers are selected using an index value - which must consist of whole numbers. The Round node turns our floating point data into whole nubers that we can use for the index.", "m_TextSize": 0, "m_Theme": 0, "m_Position": { "serializedVersion": "2", "x": -373.0000305175781, "y": 355.5000305175781, "width": 200.00001525878907, "height": 116.0 }, "m_Group": { "m_Id": "e9f708b238b14a129ea045a1170726dc" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.BlockNode", "m_ObjectId": "60bca6c251e449bfbcd3eee3b33e2b18", "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": "7e86ee6f4d8147649aba00cd863732c2" } ], "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.DivideNode", "m_ObjectId": "623d5e102082457d936fee13c84a0da0", "m_Group": { "m_Id": "e9f708b238b14a129ea045a1170726dc" }, "m_Name": "Divide", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -433.5, "y": 488.00006103515627, "width": 208.0, "height": 302.0 } }, "m_Slots": [ { "m_Id": "15f5670eb4af49e88d497b78150e42c5" }, { "m_Id": "ea2fc2deac9d47c38768e18ed8a85049" }, { "m_Id": "20a30883eba44c71b25f999c4857a748" } ], "synonyms": [ "division", "divided by" ], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", "m_ObjectId": "627025ec4f8e42fb816978f027d25f07", "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.UVNode", "m_ObjectId": "63bbd78ee04b494092b951f412ab5645", "m_Group": { "m_Id": "116f242f3f02410db237b17d36e9375f" }, "m_Name": "UV", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -2167.500244140625, "y": 78.0000228881836, "width": 145.0001220703125, "height": 128.49996948242188 } }, "m_Slots": [ { "m_Id": "8417d29b71cc4d50972f2496bd53fd99" } ], "synonyms": [ "texcoords", "coords", "coordinates" ], "m_Precision": 0, "m_PreviewExpanded": false, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_OutputChannel": 0 } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Texture2DArrayInputMaterialSlot", "m_ObjectId": "65450188ce1f49ec8c09bbf810a67eff", "m_Id": 1, "m_DisplayName": "Texture Array", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "Texture Array", "m_StageCapability": 3, "m_BareResource": false, "m_TextureArray": { "m_SerializedTexture": "{\"textureArray\":{\"fileID\":18700000,\"guid\":\"88013a8a779388f47a0db14d19b96bea\",\"type\":3}}", "m_Guid": "" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.BuiltinData", "m_ObjectId": "67feabe002c842dabc6ab4c65f923911", "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.StickyNoteData", "m_ObjectId": "68a3ff91a7d14295b9d7b934dbbc328a", "m_Title": "", "m_Content": "The array texture needs an index value - which means it needs whole numbers. We multiply our texture sample by 3 and then use the Round node, which gives us distinct regions of values that are 0, 1, 2, and 3.", "m_TextSize": 0, "m_Theme": 0, "m_Position": { "serializedVersion": "2", "x": -713.5000610351563, "y": 204.00001525878907, "width": 200.0, "height": 119.00001525878906 }, "m_Group": { "m_Id": "e9f708b238b14a129ea045a1170726dc" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot", "m_ObjectId": "6c5c42c1f7914e99b31d646f6eba0b4e", "m_Id": 0, "m_DisplayName": "RGBA", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "RGBA", "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": "6e1e16a33ac24a7395898a105a8fa3c1", "m_Title": "", "m_Content": "The Round node rounds all of the values up or down to the nearest whole number - giving us 6 distinct bands with the values 0, 1, 2, 3, 4, and 5.", "m_TextSize": 0, "m_Theme": 0, "m_Position": { "serializedVersion": "2", "x": -1516.0001220703125, "y": 211.00001525878907, "width": 200.0, "height": 100.00001525878906 }, "m_Group": { "m_Id": "116f242f3f02410db237b17d36e9375f" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "7248ea33035246d0bafba375f8fd0f01", "m_Id": 0, "m_DisplayName": "Out", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "Out", "m_StageCapability": 3, "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.BlockNode", "m_ObjectId": "734169bb8958411cb53c041b11f0f68b", "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": "249ed7a53b834b99b33a74c3ea361dd0" } ], "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.Vector1MaterialSlot", "m_ObjectId": "74b320a242e84149836d4d85faef877b", "m_Id": 5, "m_DisplayName": "G", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "G", "m_StageCapability": 2, "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.Rendering.BuiltIn.ShaderGraph.BuiltInUnlitSubTarget", "m_ObjectId": "771c7d854a9e498e826609deaadd1548" } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", "m_ObjectId": "7db76ec50e9b4e278aa7e944cf1e50df", "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.StickyNoteData", "m_ObjectId": "7e7df804c4574d4b88261779ef6410b6", "m_Title": "", "m_Content": "This texture is my mask. It defines where the various layers of the array will appear.", "m_TextSize": 0, "m_Theme": 0, "m_Position": { "serializedVersion": "2", "x": -1003.5000610351563, "y": 421.0000305175781, "width": 200.0, "height": 100.00003051757813 }, "m_Group": { "m_Id": "e9f708b238b14a129ea045a1170726dc" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "7e86ee6f4d8147649aba00cd863732c2", "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.RoundNode", "m_ObjectId": "80348f6b41c44e50a9bc57804ca129f9", "m_Group": { "m_Id": "34cb91c9701c4ed1a7baf5b89d3c08a1" }, "m_Name": "Round", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -2428.500244140625, "y": 77.99998474121094, "width": 208.0, "height": 278.00006103515627 } }, "m_Slots": [ { "m_Id": "2170c8ccfebb441f804ac22942689fd8" }, { "m_Id": "0bc2b79ffe22486dbc1decf3523a488c" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.RoundNode", "m_ObjectId": "83091453a7fd4e8abe054dc8a721f53e", "m_Group": { "m_Id": "e9f708b238b14a129ea045a1170726dc" }, "m_Name": "Round", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -590.0001220703125, "y": 78.49998474121094, "width": 127.5001220703125, "height": 94.0 } }, "m_Slots": [ { "m_Id": "2d488a50a7a0448886d200b30ab75359" }, { "m_Id": "7db76ec50e9b4e278aa7e944cf1e50df" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": false, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot", "m_ObjectId": "8417d29b71cc4d50972f2496bd53fd99", "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.DynamicValueMaterialSlot", "m_ObjectId": "86bbc9dae4034b6f8f2c3547da3b99ac", "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.UVMaterialSlot", "m_ObjectId": "8d54e8dd3d6e404e82f1498788a0cdd1", "m_Id": 2, "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_Channel": 0 } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", "m_ObjectId": "925c33d56eb54e038e5b25c842988a61", "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.DynamicValueMaterialSlot", "m_ObjectId": "95ab4a0c52d64fbf905848cad4d29fb1", "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.DynamicVectorMaterialSlot", "m_ObjectId": "96a9fecc4c2b4ecf8374b8aa4e38e9d4", "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": 2, "m_Type": "UnityEditor.Rendering.BuiltIn.ShaderGraph.BuiltInTarget", "m_ObjectId": "98fb2017b586441ca8fd078867dd84f4", "m_Datas": [], "m_ActiveSubTarget": { "m_Id": "771c7d854a9e498e826609deaadd1548" }, "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.StickyNoteData", "m_ObjectId": "9cd3d2e98c2f4546b43a0166a0bbc565", "m_Title": "", "m_Content": "Here's a visualization of where the 4 layers of the array will appear in the final result.", "m_TextSize": 0, "m_Theme": 0, "m_Position": { "serializedVersion": "2", "x": -639.5000610351563, "y": 647.5000610351563, "width": 200.00003051757813, "height": 101.0 }, "m_Group": { "m_Id": "e9f708b238b14a129ea045a1170726dc" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "9cdcd900db1a4e698a1b469f97ff14d9", "m_Id": 6, "m_DisplayName": "B", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "B", "m_StageCapability": 2, "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.StickyNoteData", "m_ObjectId": "a21af8cc60d2498b85962fcb2a752b6a", "m_Title": "", "m_Content": "We create a horizontal gradient using the UV coordinates.", "m_TextSize": 0, "m_Theme": 0, "m_Position": { "serializedVersion": "2", "x": -2018.5001220703125, "y": 387.0000305175781, "width": 200.0, "height": 100.00003051757813 }, "m_Group": { "m_Id": "116f242f3f02410db237b17d36e9375f" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.HDTarget", "m_ObjectId": "a2afa12a43174d808ccfee022d362855", "m_ActiveSubTarget": { "m_Id": "54186cc424e2411e83314c6056aa4c12" }, "m_Datas": [ { "m_Id": "67feabe002c842dabc6ab4c65f923911" }, { "m_Id": "1d7cee0e6fdc4ff389f0ee51be52442b" }, { "m_Id": "e3c70783fa4f44979b073ce87c1bc57a" } ], "m_CustomEditorGUI": "", "m_SupportVFX": false, "m_SupportLineRendering": false } { "m_SGVersion": 1, "m_Type": "UnityEditor.ShaderGraph.SwizzleNode", "m_ObjectId": "a55d8e54380a4ba8b58bc895834848c6", "m_Group": { "m_Id": "116f242f3f02410db237b17d36e9375f" }, "m_Name": "Swizzle", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -2022.5001220703125, "y": 78.0000228881836, "width": 207.9998779296875, "height": 305.5000305175781 } }, "m_Slots": [ { "m_Id": "96a9fecc4c2b4ecf8374b8aa4e38e9d4" }, { "m_Id": "d397f88701224b6782fa809f1afc6fe9" } ], "synonyms": [ "swap", "reorder", "component mask" ], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "_maskInput": "x", "convertedMask": "x" } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", "m_ObjectId": "a9045533884f4517a76d31d4280a8ba3", "m_Id": 1, "m_DisplayName": "B", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "B", "m_StageCapability": 3, "m_Value": { "x": 5.0, "y": 2.0, "z": 2.0, "w": 2.0 }, "m_DefaultValue": { "x": 0.0, "y": 0.0, "z": 0.0, "w": 0.0 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.SampleTexture2DNode", "m_ObjectId": "a9af1b0dc45c4b5abffb90844e5f7602", "m_Group": { "m_Id": "e9f708b238b14a129ea045a1170726dc" }, "m_Name": "Sample Texture 2D", "m_DrawState": { "m_Expanded": false, "m_Position": { "serializedVersion": "2", "x": -1005.5000610351563, "y": 78.49998474121094, "width": 207.99993896484376, "height": 337.00006103515627 } }, "m_Slots": [ { "m_Id": "6c5c42c1f7914e99b31d646f6eba0b4e" }, { "m_Id": "aad2892c751b4db6b168f765715f7e4c" }, { "m_Id": "ea1eefd8d63643da8d3c4d4583d3489f" }, { "m_Id": "e945e58dc1874cc68e3facf94ffe6522" }, { "m_Id": "16bcefbbbb694e83927aeb0e0df4ecb1" }, { "m_Id": "359d02d6d12a458f95137bf74320f863" }, { "m_Id": "1816765d22444063be49632005121c60" }, { "m_Id": "ea9c4146f85c424883d2ec4e431018fa" } ], "synonyms": [ "tex2d" ], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_TextureType": 0, "m_NormalMapSpace": 0, "m_EnableGlobalMipBias": true, "m_MipSamplingMode": 0 } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "aad2892c751b4db6b168f765715f7e4c", "m_Id": 4, "m_DisplayName": "R", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "R", "m_StageCapability": 2, "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.BlockNode", "m_ObjectId": "ab4dbf1dbea94ff383b88d6d67ededcb", "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": "da9dcb5011f141b88455cece1c2d10d2" } ], "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.DynamicVectorMaterialSlot", "m_ObjectId": "af04d403e81949eca30b411011a6378b", "m_Id": 2, "m_DisplayName": "Out", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "Out", "m_StageCapability": 3, "m_Value": { "x": 0.0, "y": 0.0, "z": 0.0, "w": 0.0 }, "m_DefaultValue": { "x": 0.0, "y": 0.0, "z": 0.0, "w": 0.0 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "af6d4d3ca26d4d90b0f4aee6db2295fd", "m_Id": 4, "m_DisplayName": "R", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "R", "m_StageCapability": 2, "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "b1b369daa6f940e2a1e670c6f3032269", "m_Id": 8, "m_DisplayName": "Index", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "Index", "m_StageCapability": 3, "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", "m_ObjectId": "b34d0c9b7b884ce3afd5c28261de390f", "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.ColorRGBMaterialSlot", "m_ObjectId": "b40b55c72f89471aaa90fd7e4f917571", "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.CategoryData", "m_ObjectId": "b52488a659c24ed5b57afff61b515d1d", "m_Name": "", "m_ChildObjectList": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "b84debd3bd274f2f8e6bb11f516709fe", "m_Id": 0, "m_DisplayName": "Out", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "Out", "m_StageCapability": 3, "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "bbe0d3c572f446f1a517f4714945f227", "m_Id": 1, "m_DisplayName": "X", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "X", "m_StageCapability": 3, "m_Value": 0.699999988079071, "m_DefaultValue": 0.0, "m_Labels": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.BlockNode", "m_ObjectId": "ccb9dcf3dc094f27a103a4cb17299ce2", "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": "e9150e8f18b34bda9f2c029eb1ca787e" } ], "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.Rendering.Universal.ShaderGraph.UniversalTarget", "m_ObjectId": "cf6bd2572260465fbf41d82133822ddc", "m_Datas": [], "m_ActiveSubTarget": { "m_Id": "38ad42778f3a46c3a4a75a93ea658c7a" }, "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.Vector1MaterialSlot", "m_ObjectId": "d397f88701224b6782fa809f1afc6fe9", "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.NormalMaterialSlot", "m_ObjectId": "da9dcb5011f141b88455cece1c2d10d2", "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.Vector1Node", "m_ObjectId": "dd48b612e87c4c71be04d46cc2cf0b0f", "m_Group": { "m_Id": "34cb91c9701c4ed1a7baf5b89d3c08a1" }, "m_Name": "Float", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -2599.500244140625, "y": 375.50006103515627, "width": 125.5, "height": 77.0 } }, "m_Slots": [ { "m_Id": "bbe0d3c572f446f1a517f4714945f227" }, { "m_Id": "b84debd3bd274f2f8e6bb11f516709fe" } ], "synonyms": [ "Vector 1", "1", "v1", "vec1", "scalar" ], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_Value": 0.0 } { "m_SGVersion": 0, "m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.HDUnlitData", "m_ObjectId": "e3c70783fa4f44979b073ce87c1bc57a", "m_EnableShadowMatte": false, "m_DistortionOnly": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.RoundNode", "m_ObjectId": "e561ab0790a6491eaf0da9ef0d0c4639", "m_Group": { "m_Id": "116f242f3f02410db237b17d36e9375f" }, "m_Name": "Round", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -1504.5001220703125, "y": 78.0000228881836, "width": 127.4998779296875, "height": 93.9999771118164 } }, "m_Slots": [ { "m_Id": "e947c93281c74274b32db708b38605dd" }, { "m_Id": "b34d0c9b7b884ce3afd5c28261de390f" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": false, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "e5c980eb94aa4c529aca0ea212b955c5", "m_Id": 1, "m_DisplayName": "X", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "X", "m_StageCapability": 3, "m_Value": 0.30000001192092898, "m_DefaultValue": 0.0, "m_Labels": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.MultiplyNode", "m_ObjectId": "e5d35e90cbc941ee837eb3629b8ec82f", "m_Group": { "m_Id": "116f242f3f02410db237b17d36e9375f" }, "m_Name": "Multiply", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -1720.5001220703125, "y": 78.0000228881836, "width": 125.9998779296875, "height": 117.9999771118164 } }, "m_Slots": [ { "m_Id": "438427c3fed7480e84e9ed6ce1ae510c" }, { "m_Id": "160c2b04c7ea4857960e87890297e230" }, { "m_Id": "0b6d5edd500a4f1aa0ba0a1b35b5a6a4" } ], "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": "e8c29f886e4049418b63c7d1832f6770", "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.PositionMaterialSlot", "m_ObjectId": "e9150e8f18b34bda9f2c029eb1ca787e", "m_Id": 0, "m_DisplayName": "Position", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "Position", "m_StageCapability": 1, "m_Value": { "x": 0.0, "y": 0.0, "z": 0.0 }, "m_DefaultValue": { "x": 0.0, "y": 0.0, "z": 0.0 }, "m_Labels": [], "m_Space": 0 } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "e945e58dc1874cc68e3facf94ffe6522", "m_Id": 6, "m_DisplayName": "B", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "B", "m_StageCapability": 2, "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", "m_ObjectId": "e947c93281c74274b32db708b38605dd", "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": "e9f708b238b14a129ea045a1170726dc", "m_Title": "Creating an Array Index", "m_Position": { "x": -1030.5001220703125, "y": 19.999969482421876 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "ea1eefd8d63643da8d3c4d4583d3489f", "m_Id": 5, "m_DisplayName": "G", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "G", "m_StageCapability": 2, "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", "m_ObjectId": "ea2fc2deac9d47c38768e18ed8a85049", "m_Id": 1, "m_DisplayName": "B", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "B", "m_StageCapability": 3, "m_Value": { "x": 3.0, "y": 2.0, "z": 2.0, "w": 2.0 }, "m_DefaultValue": { "x": 0.0, "y": 0.0, "z": 0.0, "w": 0.0 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.SamplerStateMaterialSlot", "m_ObjectId": "ea9c4146f85c424883d2ec4e431018fa", "m_Id": 3, "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.Vector1MaterialSlot", "m_ObjectId": "efac37fdb1384497801655606bb39f3d", "m_Id": 7, "m_DisplayName": "A", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "A", "m_StageCapability": 2, "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.MultiplyNode", "m_ObjectId": "f05e43889cbf4ee08a5b1b4544d6dd1a", "m_Group": { "m_Id": "e9f708b238b14a129ea045a1170726dc" }, "m_Name": "Multiply", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -716.0001220703125, "y": 78.49998474121094, "width": 126.0, "height": 118.0 } }, "m_Slots": [ { "m_Id": "95ab4a0c52d64fbf905848cad4d29fb1" }, { "m_Id": "fc1b6706e25e475689a9794ee3b54d57" }, { "m_Id": "86bbc9dae4034b6f8f2c3547da3b99ac" } ], "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.Vector1Node", "m_ObjectId": "f2b5d3d3d9ed4c25b08d1d61110f5dd3", "m_Group": { "m_Id": "34cb91c9701c4ed1a7baf5b89d3c08a1" }, "m_Name": "Float", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -2600.000244140625, "y": 77.99998474121094, "width": 125.5, "height": 77.0 } }, "m_Slots": [ { "m_Id": "e5c980eb94aa4c529aca0ea212b955c5" }, { "m_Id": "7248ea33035246d0bafba375f8fd0f01" } ], "synonyms": [ "Vector 1", "1", "v1", "vec1", "scalar" ], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_Value": 0.0 } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DivideNode", "m_ObjectId": "f5e85736c45848f2a0f6591c602c3776", "m_Group": { "m_Id": "116f242f3f02410db237b17d36e9375f" }, "m_Name": "Divide", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -1268.000244140625, "y": 78.0000228881836, "width": 208.0, "height": 302.0 } }, "m_Slots": [ { "m_Id": "fa08d0c16246446ca2bd35b1f954110e" }, { "m_Id": "a9045533884f4517a76d31d4280a8ba3" }, { "m_Id": "af04d403e81949eca30b411011a6378b" } ], "synonyms": [ "division", "divided by" ], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.RoundNode", "m_ObjectId": "f62f08b8bbdc4e4890ef6c599b014914", "m_Group": { "m_Id": "" }, "m_Name": "Round", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -1504.5001220703125, "y": -161.50001525878907, "width": 127.4998779296875, "height": 94.00003051757813 } }, "m_Slots": [ { "m_Id": "627025ec4f8e42fb816978f027d25f07" }, { "m_Id": "17913926e58045b5b5e6418e378edd26" } ], "synonyms": [], "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": "fa08d0c16246446ca2bd35b1f954110e", "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.DynamicValueMaterialSlot", "m_ObjectId": "fc1b6706e25e475689a9794ee3b54d57", "m_Id": 1, "m_DisplayName": "B", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "B", "m_StageCapability": 3, "m_Value": { "e00": 3.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 } }