{ "m_SGVersion": 3, "m_Type": "UnityEditor.ShaderGraph.GraphData", "m_ObjectId": "ef52007667b84962bf1a54f952be19d0", "m_Properties": [], "m_Keywords": [], "m_Dropdowns": [], "m_CategoryData": [ { "m_Id": "452c06cc34b04e5cb28ce27664329bb1" } ], "m_Nodes": [ { "m_Id": "9ee121d9f8914efb98e64d4c6cfc42bc" }, { "m_Id": "d1f16949f69d4224aa88023060410422" }, { "m_Id": "29be209855f44c1cbf7796cae472b410" }, { "m_Id": "cd2764ef93434c1b8d37f1f5d45a226a" }, { "m_Id": "0eba7a06a6874e2caf63c4a51bb73f72" }, { "m_Id": "0c011d4ab704407ab5dad075820af4fd" }, { "m_Id": "96f8e55a555b449696fcb73d73c0e751" }, { "m_Id": "07aa276d92da4ce2a82590a39ed6c925" }, { "m_Id": "c1b28098e43b47ffb29dae909d949e5d" }, { "m_Id": "6d2fa2a5538f472c81c7d289d5e85d19" }, { "m_Id": "170052b90698407a85f286e3476c7af6" }, { "m_Id": "12e22d577f894cc7b731122effe2c2a5" }, { "m_Id": "a46ead8c404440028e17129c464bfbb5" }, { "m_Id": "ecf8087f370742ac8b0135320ae83b95" }, { "m_Id": "86044331021c47a08a93cbafef093be3" }, { "m_Id": "211818a45bd24adeac34a537be3b525d" } ], "m_GroupDatas": [ { "m_Id": "5213ac14677b4a58a31f28e2b9572512" }, { "m_Id": "182af8bea48a44cfa2ab7d49af122c0a" } ], "m_StickyNoteDatas": [ { "m_Id": "124d3ad2ea6d4806b43856bb6766d858" }, { "m_Id": "c854281bfc7f40459238d9e0a1c098fa" }, { "m_Id": "cf863416f0d742a184160e70e82d52a7" }, { "m_Id": "e59b7aeb880d4b14a1d4d15b0ac06c7b" }, { "m_Id": "ae8787e276594da4838cf92932820243" }, { "m_Id": "7006e81181a341d59e6eae938697d71b" }, { "m_Id": "7a27efe32c1a46669274c0db3e7759b8" }, { "m_Id": "26596f4ba137407ebd6a45e8615a50fd" } ], "m_Edges": [ { "m_OutputSlot": { "m_Node": { "m_Id": "07aa276d92da4ce2a82590a39ed6c925" }, "m_SlotId": 1 }, "m_InputSlot": { "m_Node": { "m_Id": "c1b28098e43b47ffb29dae909d949e5d" }, "m_SlotId": 0 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "170052b90698407a85f286e3476c7af6" }, "m_SlotId": 4 }, "m_InputSlot": { "m_Node": { "m_Id": "a46ead8c404440028e17129c464bfbb5" }, "m_SlotId": 0 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "6d2fa2a5538f472c81c7d289d5e85d19" }, "m_SlotId": 2 }, "m_InputSlot": { "m_Node": { "m_Id": "07aa276d92da4ce2a82590a39ed6c925" }, "m_SlotId": 0 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "96f8e55a555b449696fcb73d73c0e751" }, "m_SlotId": 0 }, "m_InputSlot": { "m_Node": { "m_Id": "6d2fa2a5538f472c81c7d289d5e85d19" }, "m_SlotId": 0 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "a46ead8c404440028e17129c464bfbb5" }, "m_SlotId": 2 }, "m_InputSlot": { "m_Node": { "m_Id": "ecf8087f370742ac8b0135320ae83b95" }, "m_SlotId": 0 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "c1b28098e43b47ffb29dae909d949e5d" }, "m_SlotId": 2 }, "m_InputSlot": { "m_Node": { "m_Id": "0c011d4ab704407ab5dad075820af4fd" }, "m_SlotId": 8 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "ecf8087f370742ac8b0135320ae83b95" }, "m_SlotId": 1 }, "m_InputSlot": { "m_Node": { "m_Id": "12e22d577f894cc7b731122effe2c2a5" }, "m_SlotId": 8 } } ], "m_VertexContext": { "m_Position": { "x": 0.0, "y": 0.0 }, "m_Blocks": [ { "m_Id": "9ee121d9f8914efb98e64d4c6cfc42bc" }, { "m_Id": "d1f16949f69d4224aa88023060410422" }, { "m_Id": "29be209855f44c1cbf7796cae472b410" } ] }, "m_FragmentContext": { "m_Position": { "x": 0.0, "y": 200.0 }, "m_Blocks": [ { "m_Id": "cd2764ef93434c1b8d37f1f5d45a226a" }, { "m_Id": "86044331021c47a08a93cbafef093be3" }, { "m_Id": "211818a45bd24adeac34a537be3b525d" } ] }, "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_ActiveTargets": [ { "m_Id": "a1b17f3a2f37410f878dddfd1513167b" }, { "m_Id": "f822674342254d62a24ee555367781d4" }, { "m_Id": "10f9b39b0625459d907bd056dda7debd" } ] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot", "m_ObjectId": "03fb7e12486b4998a937f637907f8809", "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 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.FractionNode", "m_ObjectId": "07aa276d92da4ce2a82590a39ed6c925", "m_Group": { "m_Id": "5213ac14677b4a58a31f28e2b9572512" }, "m_Name": "Fraction", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -1814.0001220703125, "y": 159.00001525878907, "width": 127.5, "height": 93.99996948242188 } }, "m_Slots": [ { "m_Id": "77dd949512c34557bcb3287403726ed7" }, { "m_Id": "211c256bbbb44111be5d7cd908bbc9ad" } ], "synonyms": [ "remainder" ], "m_Precision": 0, "m_PreviewExpanded": false, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.SampleTexture2DArrayNode", "m_ObjectId": "0c011d4ab704407ab5dad075820af4fd", "m_Group": { "m_Id": "5213ac14677b4a58a31f28e2b9572512" }, "m_Name": "Sample Texture 2D Array", "m_DrawState": { "m_Expanded": false, "m_Position": { "serializedVersion": "2", "x": -1536.0001220703125, "y": 193.99996948242188, "width": 208.0001220703125, "height": 278.00006103515627 } }, "m_Slots": [ { "m_Id": "982cb218e1084887b1a5cdeabc01ad04" }, { "m_Id": "268070736940458b8b64822feac7e99d" }, { "m_Id": "5ef730f5daee4f0bb4a0a1904906f072" }, { "m_Id": "48323dcf21754dd29ce9babd5824aa01" }, { "m_Id": "69f17a97f229419cad86192bcf0f3e52" }, { "m_Id": "9ef8774fd11344fc9e2832ec7b0b6fa0" }, { "m_Id": "f5ffff10872342b49c78922a25c79ad0" }, { "m_Id": "2105d6a769da4c58b11ea04c154689b4" }, { "m_Id": "eb1ffbe423474da9afc1c5ddf96da38f" } ], "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.ShaderGraph.Texture2DInputMaterialSlot", "m_ObjectId": "0d4d2911162b4d32b67f01230ec629ec", "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\":\"84b6bd16b9550c44f99d0fec6a735bad\",\"type\":3}}", "m_Guid": "" }, "m_DefaultType": 0 } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.SampleTexture2DArrayNode", "m_ObjectId": "0eba7a06a6874e2caf63c4a51bb73f72", "m_Group": { "m_Id": "" }, "m_Name": "Sample Texture 2D Array", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -1407.5001220703125, "y": -329.5000305175781, "width": 218.5, "height": 190.00001525878907 } }, "m_Slots": [ { "m_Id": "b1450b8ea9624f8ea00ca3972d0684b0" }, { "m_Id": "cd253ff788424e249fd48a57bf2ce402" }, { "m_Id": "878c47696be646e8934a8d0844fe7926" }, { "m_Id": "57eda51352e948019c90c4bcf362af96" }, { "m_Id": "3ff38368d3da41fdbd60f8f7e0b33f36" }, { "m_Id": "e18ae15ae56b4f948fd1889b89136230" }, { "m_Id": "d63c39a343ed42f3904cd87838847446" }, { "m_Id": "ec118ae61c514fa4aa503601d9f108dc" }, { "m_Id": "99c6da739db04fba83e2890430c991be" } ], "synonyms": [ "stack", "pile", "tex2darray" ], "m_Precision": 0, "m_PreviewExpanded": false, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_EnableGlobalMipBias": false, "m_MipSamplingMode": 0 } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot", "m_ObjectId": "1081186f100e4788be3ceaa67efa6b98", "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": 1, "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget", "m_ObjectId": "10f9b39b0625459d907bd056dda7debd", "m_Datas": [], "m_ActiveSubTarget": { "m_Id": "48fd363aa49649f9be81acdcdbe1b14e" }, "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_AdditionalMotionVectorMode": 0, "m_AlembicMotionVectors": false, "m_SupportsLODCrossFade": false, "m_CustomEditorGUI": "", "m_SupportVFX": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.StickyNoteData", "m_ObjectId": "124d3ad2ea6d4806b43856bb6766d858", "m_Title": "Sample Texture 2D Array Node", "m_Content": "The Sample Texture 2D Array Node samples an array texture map using the provided texture coordinates. \n\nYou can output all 4 channels using the RGBA output port, or individual ports using the R, G, B, and A output ports.\n\nThe sampled texture can contain many different types of data including color, normal, and masks. If the texture is a normal map, set the Type to Normal instead of Default.\n\n", "m_TextSize": 0, "m_Theme": 0, "m_Position": { "serializedVersion": "2", "x": -1182.5001220703125, "y": -327.5000305175781, "width": 316.00006103515627, "height": 186.2892608642578 }, "m_Group": { "m_Id": "" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.SampleTexture2DArrayNode", "m_ObjectId": "12e22d577f894cc7b731122effe2c2a5", "m_Group": { "m_Id": "182af8bea48a44cfa2ab7d49af122c0a" }, "m_Name": "Sample Texture 2D Array", "m_DrawState": { "m_Expanded": false, "m_Position": { "serializedVersion": "2", "x": -804.0000610351563, "y": 155.49998474121095, "width": 217.5, "height": 374.0001220703125 } }, "m_Slots": [ { "m_Id": "dcaafbcd4e884cc294b0175cd35bbf7a" }, { "m_Id": "3f6dd299eb7742b8b8f0e024bb5d96ab" }, { "m_Id": "ccd8b490671f4406a717c20c737c7d20" }, { "m_Id": "7d78fcf6292042cb926f5d390130b9ad" }, { "m_Id": "5852560b56aa432b9cb8b28720274d3d" }, { "m_Id": "74170992c978464da737489a32b4e360" }, { "m_Id": "958eb6200d43484ba5bf8c8bcd06853d" }, { "m_Id": "fe6e302cbe3a4fbcb5361ec4e9731574" }, { "m_Id": "fcaa6061124d4b559c150e2da819a4d4" } ], "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.ShaderGraph.DynamicValueMaterialSlot", "m_ObjectId": "13fd3af3f6d64bf581ef0d8155f2748d", "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 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.SampleTexture2DNode", "m_ObjectId": "170052b90698407a85f286e3476c7af6", "m_Group": { "m_Id": "182af8bea48a44cfa2ab7d49af122c0a" }, "m_Name": "Sample Texture 2D", "m_DrawState": { "m_Expanded": false, "m_Position": { "serializedVersion": "2", "x": -1265.5, "y": 155.50001525878907, "width": 208.0, "height": 338.0 } }, "m_Slots": [ { "m_Id": "9122eb3d9b3d484f89821efb5e636f90" }, { "m_Id": "8a37ee09226a4d0d9e940dc870df7709" }, { "m_Id": "68be02039eb24f98b8e3f48bc064148e" }, { "m_Id": "c675de5619ef4ca294af71cbff11f604" }, { "m_Id": "275c1dff78144f27ba0c5787a7c8b30c" }, { "m_Id": "0d4d2911162b4d32b67f01230ec629ec" }, { "m_Id": "d4492808f83045c981666553ac61d080" }, { "m_Id": "1a7b5b630ed54ba48e421e750dbf7ad3" } ], "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.GroupData", "m_ObjectId": "182af8bea48a44cfa2ab7d49af122c0a", "m_Title": "Using A Mask Texture To Select The Array Slice", "m_Position": { "x": -1290.5, "y": 96.99995422363281 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.PositionMaterialSlot", "m_ObjectId": "1a79b297de71410199223d240199d221", "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.SamplerStateMaterialSlot", "m_ObjectId": "1a7b5b630ed54ba48e421e750dbf7ad3", "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.UVMaterialSlot", "m_ObjectId": "2105d6a769da4c58b11ea04c154689b4", "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.BlockNode", "m_ObjectId": "211818a45bd24adeac34a537be3b525d", "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": "fcd9a2f262314b899cdb179c540f2a44" } ], "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.DynamicVectorMaterialSlot", "m_ObjectId": "211c256bbbb44111be5d7cd908bbc9ad", "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.DynamicValueMaterialSlot", "m_ObjectId": "21de16547aba4e43b913ac5cb1c6f7a4", "m_Id": 0, "m_DisplayName": "A", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "A", "m_StageCapability": 3, "m_Value": { "e00": 0.0, "e01": 0.0, "e02": 0.0, "e03": 0.0, "e10": 0.0, "e11": 0.0, "e12": 0.0, "e13": 0.0, "e20": 0.0, "e21": 0.0, "e22": 0.0, "e23": 0.0, "e30": 0.0, "e31": 0.0, "e32": 0.0, "e33": 0.0 }, "m_DefaultValue": { "e00": 1.0, "e01": 0.0, "e02": 0.0, "e03": 0.0, "e10": 0.0, "e11": 1.0, "e12": 0.0, "e13": 0.0, "e20": 0.0, "e21": 0.0, "e22": 1.0, "e23": 0.0, "e30": 0.0, "e31": 0.0, "e32": 0.0, "e33": 1.0 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.StickyNoteData", "m_ObjectId": "26596f4ba137407ebd6a45e8615a50fd", "m_Title": "", "m_Content": "This technique can be super useful for adding detail textures to your material where you want areas with different types of detail, but you don't want to sample many different detail textures. Using an array can get you many different types of detail with only one sample.", "m_TextSize": 0, "m_Theme": 0, "m_Position": { "serializedVersion": "2", "x": -796.0000610351563, "y": 444.5000305175781, "width": 200.0, "height": 140.00003051757813 }, "m_Group": { "m_Id": "182af8bea48a44cfa2ab7d49af122c0a" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "268070736940458b8b64822feac7e99d", "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": "275c1dff78144f27ba0c5787a7c8b30c", "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.BlockNode", "m_ObjectId": "29be209855f44c1cbf7796cae472b410", "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": "fb9903f520924dc6ae225a233b3611c4" } ], "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.Vector1MaterialSlot", "m_ObjectId": "36c0c1e97a9d422e9bd8834513c874ec", "m_Id": 3, "m_DisplayName": "Delta Time", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "Delta Time", "m_StageCapability": 3, "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot", "m_ObjectId": "3c05fd5387f74b1db2adc94bdca8e049", "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": "3c6e5305d3814249824c6f55bdce2091", "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": "3f6dd299eb7742b8b8f0e024bb5d96ab", "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": "3ff38368d3da41fdbd60f8f7e0b33f36", "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.DynamicValueMaterialSlot", "m_ObjectId": "4200db9e1aeb4b78b213101132927993", "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.CategoryData", "m_ObjectId": "452c06cc34b04e5cb28ce27664329bb1", "m_Name": "", "m_ChildObjectList": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "48323dcf21754dd29ce9babd5824aa01", "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": 2, "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalUnlitSubTarget", "m_ObjectId": "48fd363aa49649f9be81acdcdbe1b14e" } { "m_SGVersion": 0, "m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.HDUnlitSubTarget", "m_ObjectId": "4fdee1ae40464e05a6a74463ae17fa8a" } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.GroupData", "m_ObjectId": "5213ac14677b4a58a31f28e2b9572512", "m_Title": "Animated Slice Switching", "m_Position": { "x": -2044.0, "y": 100.49995422363281 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot", "m_ObjectId": "55da5bb2deea4774a2b4932589eb4060", "m_Id": 1, "m_DisplayName": "B", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "B", "m_StageCapability": 3, "m_Value": { "e00": 0.20000000298023225, "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.Rendering.HighDefinition.ShaderGraph.BuiltinData", "m_ObjectId": "571fa7326d4b462a93138a1b355506c1", "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.Rendering.HighDefinition.ShaderGraph.HDUnlitData", "m_ObjectId": "5751b99bb32e4e2587f2788ad5733893", "m_EnableShadowMatte": false, "m_DistortionOnly": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "57eda51352e948019c90c4bcf362af96", "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.Vector1MaterialSlot", "m_ObjectId": "5852560b56aa432b9cb8b28720274d3d", "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.Rendering.HighDefinition.ShaderGraph.SystemData", "m_ObjectId": "58699fedb4b14e1e9a78fa81c7df6d16", "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.Vector1MaterialSlot", "m_ObjectId": "5ef730f5daee4f0bb4a0a1904906f072", "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.Vector1MaterialSlot", "m_ObjectId": "68be02039eb24f98b8e3f48bc064148e", "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.Vector1MaterialSlot", "m_ObjectId": "69f17a97f229419cad86192bcf0f3e52", "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": "6d2fa2a5538f472c81c7d289d5e85d19", "m_Group": { "m_Id": "5213ac14677b4a58a31f28e2b9572512" }, "m_Name": "Multiply", "m_DrawState": { "m_Expanded": false, "m_Position": { "serializedVersion": "2", "x": -1940.0, "y": 159.00001525878907, "width": 125.9998779296875, "height": 93.99996948242188 } }, "m_Slots": [ { "m_Id": "3c05fd5387f74b1db2adc94bdca8e049" }, { "m_Id": "55da5bb2deea4774a2b4932589eb4060" }, { "m_Id": "4200db9e1aeb4b78b213101132927993" } ], "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.StickyNoteData", "m_ObjectId": "7006e81181a341d59e6eae938697d71b", "m_Title": "", "m_Content": "In this example, our array texture has 4 slices. We can access them using indices 0-3. \n0 - silver\n1 - gold\n2 - copper\n3 - iron\n\nWe're animating the index value using the Time node.", "m_TextSize": 0, "m_Theme": 0, "m_Position": { "serializedVersion": "2", "x": -1953.5001220703125, "y": 291.5000305175781, "width": 200.0, "height": 159.0 }, "m_Group": { "m_Id": "5213ac14677b4a58a31f28e2b9572512" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Texture2DArrayInputMaterialSlot", "m_ObjectId": "74170992c978464da737489a32b4e360", "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.ShaderGraph.DynamicVectorMaterialSlot", "m_ObjectId": "77dd949512c34557bcb3287403726ed7", "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.StickyNoteData", "m_ObjectId": "7a27efe32c1a46669274c0db3e7759b8", "m_Title": "", "m_Content": "In this example, we use a mask texture to determine which slice of the array to sample. Since the array has 4 slices, we paint the values of 0, 85, 170, and 255 in the mask texture - so we've divided the 0-255 range into 4 equally-spaced values.\n\nIn the shader, we multiply the texture sample by 3 - which then gives it a range of 0-4. And we round the result so that the values in the mask become 0, 1, 2, and 3 - which we then pass to the array.\n", "m_TextSize": 0, "m_Theme": 0, "m_Position": { "serializedVersion": "2", "x": -1023.0000610351563, "y": 279.0000305175781, "width": 200.0, "height": 233.50003051757813 }, "m_Group": { "m_Id": "182af8bea48a44cfa2ab7d49af122c0a" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "7d78fcf6292042cb926f5d390130b9ad", "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.Vector1MaterialSlot", "m_ObjectId": "7db4a434ab4a4052b73ad3110bec7227", "m_Id": 1, "m_DisplayName": "Sine Time", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "Sine Time", "m_StageCapability": 3, "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.BlockNode", "m_ObjectId": "86044331021c47a08a93cbafef093be3", "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": "1081186f100e4788be3ceaa67efa6b98" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_SerializedDescriptor": "SurfaceDescription.Emission" } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "878c47696be646e8934a8d0844fe7926", "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.Vector1MaterialSlot", "m_ObjectId": "8a37ee09226a4d0d9e940dc870df7709", "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": "8b8b6780a6734166b1f021cae53420c2", "m_Id": 4, "m_DisplayName": "Smooth Delta", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "Smooth Delta", "m_StageCapability": 3, "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot", "m_ObjectId": "9122eb3d9b3d484f89821efb5e636f90", "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.DynamicValueMaterialSlot", "m_ObjectId": "94b0c404d60e48d093fc846abb49cf0d", "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.Vector1MaterialSlot", "m_ObjectId": "958eb6200d43484ba5bf8c8bcd06853d", "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.Rendering.BuiltIn.ShaderGraph.BuiltInUnlitSubTarget", "m_ObjectId": "96329092e8c847eea0da909a9a1682d1" } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.TimeNode", "m_ObjectId": "96f8e55a555b449696fcb73d73c0e751", "m_Group": { "m_Id": "5213ac14677b4a58a31f28e2b9572512" }, "m_Name": "Time", "m_DrawState": { "m_Expanded": false, "m_Position": { "serializedVersion": "2", "x": -2018.9998779296875, "y": 159.00001525878907, "width": 78.9998779296875, "height": 76.99996948242188 } }, "m_Slots": [ { "m_Id": "e4ffc45ffc004914a543dba7b8919f29" }, { "m_Id": "7db4a434ab4a4052b73ad3110bec7227" }, { "m_Id": "dd88494640664a1daa4a7217d5d77c28" }, { "m_Id": "36c0c1e97a9d422e9bd8834513c874ec" }, { "m_Id": "8b8b6780a6734166b1f021cae53420c2" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot", "m_ObjectId": "982cb218e1084887b1a5cdeabc01ad04", "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.SamplerStateMaterialSlot", "m_ObjectId": "99c6da739db04fba83e2890430c991be", "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.BlockNode", "m_ObjectId": "9ee121d9f8914efb98e64d4c6cfc42bc", "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": "1a79b297de71410199223d240199d221" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_SerializedDescriptor": "VertexDescription.Position" } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Texture2DArrayInputMaterialSlot", "m_ObjectId": "9ef8774fd11344fc9e2832ec7b0b6fa0", "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": 2, "m_Type": "UnityEditor.Rendering.BuiltIn.ShaderGraph.BuiltInTarget", "m_ObjectId": "a1b17f3a2f37410f878dddfd1513167b", "m_ActiveSubTarget": { "m_Id": "96329092e8c847eea0da909a9a1682d1" }, "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.MultiplyNode", "m_ObjectId": "a46ead8c404440028e17129c464bfbb5", "m_Group": { "m_Id": "182af8bea48a44cfa2ab7d49af122c0a" }, "m_Name": "Multiply", "m_DrawState": { "m_Expanded": false, "m_Position": { "serializedVersion": "2", "x": -1057.5, "y": 155.50001525878907, "width": 126.0001220703125, "height": 94.00001525878906 } }, "m_Slots": [ { "m_Id": "c1d1b7ed4d674878a4b60f853e0fb61b" }, { "m_Id": "13fd3af3f6d64bf581ef0d8155f2748d" }, { "m_Id": "94b0c404d60e48d093fc846abb49cf0d" } ], "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.Rendering.HighDefinition.ShaderGraph.HDUnlitData", "m_ObjectId": "a83e0d8db1114d558b68d6e33b1d70ca", "m_EnableShadowMatte": false, "m_DistortionOnly": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.StickyNoteData", "m_ObjectId": "ae8787e276594da4838cf92932820243", "m_Title": "", "m_Content": "All of the examples for Sample Texture 2D also apply to Sample Texture 2D Array, so take a look at that example to better understand texture types, Mip Sampling Modes, and Sampler State.", "m_TextSize": 0, "m_Theme": 0, "m_Position": { "serializedVersion": "2", "x": -1418.0001220703125, "y": -34.000003814697269, "width": 223.0, "height": 100.00000762939453 }, "m_Group": { "m_Id": "" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot", "m_ObjectId": "b1450b8ea9624f8ea00ca3972d0684b0", "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.Rendering.HighDefinition.ShaderGraph.HDUnlitSubTarget", "m_ObjectId": "b606a4744ec34ea68572cc3f84fcc7bd" } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.MultiplyNode", "m_ObjectId": "c1b28098e43b47ffb29dae909d949e5d", "m_Group": { "m_Id": "5213ac14677b4a58a31f28e2b9572512" }, "m_Name": "Multiply", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -1662.0001220703125, "y": 193.99996948242188, "width": 126.0, "height": 118.00003051757813 } }, "m_Slots": [ { "m_Id": "21de16547aba4e43b913ac5cb1c6f7a4" }, { "m_Id": "03fb7e12486b4998a937f637907f8809" }, { "m_Id": "f01e074e393541b1bb8ff0d03e85e63f" } ], "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.DynamicValueMaterialSlot", "m_ObjectId": "c1d1b7ed4d674878a4b60f853e0fb61b", "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.Vector1MaterialSlot", "m_ObjectId": "c675de5619ef4ca294af71cbff11f604", "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": "c854281bfc7f40459238d9e0a1c098fa", "m_Title": "", "m_Content": "The Texture Array input is for selecting the Texture Array Asset. You can select a texture right on the node, connect a Texture 2D Asset node, or connect a Blackboard Texture 2D Array parameter.", "m_TextSize": 0, "m_Theme": 0, "m_Position": { "serializedVersion": "2", "x": -1616.5001220703125, "y": -423.0000305175781, "width": 195.0, "height": 125.70889282226563 }, "m_Group": { "m_Id": "" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.BuiltinData", "m_ObjectId": "c8ec85b67eaa4c9db7c10a3773af8c57", "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.Vector1MaterialSlot", "m_ObjectId": "ccd8b490671f4406a717c20c737c7d20", "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.Vector1MaterialSlot", "m_ObjectId": "cd253ff788424e249fd48a57bf2ce402", "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": "cd2764ef93434c1b8d37f1f5d45a226a", "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": "e3b007e514084375bf50b62d45c5ddf6" } ], "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.StickyNoteData", "m_ObjectId": "cf863416f0d742a184160e70e82d52a7", "m_Title": "", "m_Content": "The UV input provides UV Coordinates for the sample. You can select a standard set of UV coordinates from the dropdown, or connect your own UVs.", "m_TextSize": 0, "m_Theme": 0, "m_Position": { "serializedVersion": "2", "x": -1617.0001220703125, "y": -186.00001525878907, "width": 202.5, "height": 100.00001525878906 }, "m_Group": { "m_Id": "" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.SystemData", "m_ObjectId": "cfe6e37557084e30bfcbefe14bbac95b", "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.BlockNode", "m_ObjectId": "d1f16949f69d4224aa88023060410422", "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": "eeea9f007e994020a1ccbbf492fc6f7f" } ], "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.UVMaterialSlot", "m_ObjectId": "d4492808f83045c981666553ac61d080", "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.Vector1MaterialSlot", "m_ObjectId": "d63c39a343ed42f3904cd87838847446", "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": "d8b6abd3bac74625b3b8295722e597aa", "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.Vector4MaterialSlot", "m_ObjectId": "dcaafbcd4e884cc294b0175cd35bbf7a", "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.Vector1MaterialSlot", "m_ObjectId": "dd88494640664a1daa4a7217d5d77c28", "m_Id": 2, "m_DisplayName": "Cosine Time", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "Cosine Time", "m_StageCapability": 3, "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Texture2DArrayInputMaterialSlot", "m_ObjectId": "e18ae15ae56b4f948fd1889b89136230", "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\":{\"instanceID\":0}}", "m_Guid": "" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot", "m_ObjectId": "e3b007e514084375bf50b62d45c5ddf6", "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": "e4ffc45ffc004914a543dba7b8919f29", "m_Id": 0, "m_DisplayName": "Time", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "Time", "m_StageCapability": 3, "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.StickyNoteData", "m_ObjectId": "e59b7aeb880d4b14a1d4d15b0ac06c7b", "m_Title": "", "m_Content": "The Index input is used to select the slice of the array to sample.", "m_TextSize": 0, "m_Theme": 0, "m_Position": { "serializedVersion": "2", "x": -1685.0001220703125, "y": -291.5000305175781, "width": 136.5, "height": 100.0 }, "m_Group": { "m_Id": "" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.SamplerStateMaterialSlot", "m_ObjectId": "eb1ffbe423474da9afc1c5ddf96da38f", "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.UVMaterialSlot", "m_ObjectId": "ec118ae61c514fa4aa503601d9f108dc", "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.RoundNode", "m_ObjectId": "ecf8087f370742ac8b0135320ae83b95", "m_Group": { "m_Id": "182af8bea48a44cfa2ab7d49af122c0a" }, "m_Name": "Round", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -931.4998779296875, "y": 155.50001525878907, "width": 127.49981689453125, "height": 94.00001525878906 } }, "m_Slots": [ { "m_Id": "3c6e5305d3814249824c6f55bdce2091" }, { "m_Id": "d8b6abd3bac74625b3b8295722e597aa" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": false, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot", "m_ObjectId": "eeea9f007e994020a1ccbbf492fc6f7f", "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.DynamicValueMaterialSlot", "m_ObjectId": "f01e074e393541b1bb8ff0d03e85e63f", "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.Vector1MaterialSlot", "m_ObjectId": "f5ffff10872342b49c78922a25c79ad0", "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.Rendering.HighDefinition.ShaderGraph.HDTarget", "m_ObjectId": "f822674342254d62a24ee555367781d4", "m_ActiveSubTarget": { "m_Id": "b606a4744ec34ea68572cc3f84fcc7bd" }, "m_Datas": [ { "m_Id": "571fa7326d4b462a93138a1b355506c1" }, { "m_Id": "cfe6e37557084e30bfcbefe14bbac95b" }, { "m_Id": "5751b99bb32e4e2587f2788ad5733893" } ], "m_CustomEditorGUI": "", "m_SupportVFX": false, "m_SupportLineRendering": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.TangentMaterialSlot", "m_ObjectId": "fb9903f520924dc6ae225a233b3611c4", "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.SamplerStateMaterialSlot", "m_ObjectId": "fcaa6061124d4b559c150e2da819a4d4", "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": "fcd9a2f262314b899cdb179c540f2a44", "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.UVMaterialSlot", "m_ObjectId": "fe6e302cbe3a4fbcb5361ec4e9731574", "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 }