{ "m_SGVersion": 2, "m_Type": "UnityEditor.ShaderGraph.GraphData", "m_ObjectId": "ffe05c8fe5244724b964af8ca213e494", "m_Properties": [ { "m_Id": "8ff1650f3d9f46c5b5e5039a2dcffd00" } ], "m_Keywords": [], "m_Nodes": [ { "m_Id": "273b0b1ba09f4fcc9fe2900c8dcc3af2" }, { "m_Id": "0524cb93634045a290454dfc74003a55" }, { "m_Id": "3525e73855ea43ce89fb312b72828085" }, { "m_Id": "804ddb9c92264982ad62172cc617c517" }, { "m_Id": "74ac5062031544b2b8272ba0e298106d" }, { "m_Id": "66177e207eb543e7ba533cf03df33fe3" }, { "m_Id": "92af1f3a86a54c5ea13bbc704234f46a" }, { "m_Id": "be6d3803e0724e14bb58d41e1ae92d26" } ], "m_GroupDatas": [], "m_StickyNoteDatas": [ { "m_Id": "fbd0398cece14f44a15c0efc0086f159" } ], "m_Edges": [ { "m_OutputSlot": { "m_Node": { "m_Id": "66177e207eb543e7ba533cf03df33fe3" }, "m_SlotId": 0 }, "m_InputSlot": { "m_Node": { "m_Id": "74ac5062031544b2b8272ba0e298106d" }, "m_SlotId": 2 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "66177e207eb543e7ba533cf03df33fe3" }, "m_SlotId": 0 }, "m_InputSlot": { "m_Node": { "m_Id": "be6d3803e0724e14bb58d41e1ae92d26" }, "m_SlotId": 0 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "74ac5062031544b2b8272ba0e298106d" }, "m_SlotId": 0 }, "m_InputSlot": { "m_Node": { "m_Id": "804ddb9c92264982ad62172cc617c517" }, "m_SlotId": 0 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "92af1f3a86a54c5ea13bbc704234f46a" }, "m_SlotId": 0 }, "m_InputSlot": { "m_Node": { "m_Id": "74ac5062031544b2b8272ba0e298106d" }, "m_SlotId": 1 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "be6d3803e0724e14bb58d41e1ae92d26" }, "m_SlotId": 3 }, "m_InputSlot": { "m_Node": { "m_Id": "74ac5062031544b2b8272ba0e298106d" }, "m_SlotId": 8 } } ], "m_VertexContext": { "m_Position": { "x": 322.0, "y": -727.333251953125 }, "m_Blocks": [ { "m_Id": "273b0b1ba09f4fcc9fe2900c8dcc3af2" }, { "m_Id": "0524cb93634045a290454dfc74003a55" }, { "m_Id": "3525e73855ea43ce89fb312b72828085" } ] }, "m_FragmentContext": { "m_Position": { "x": 322.0000305175781, "y": -551.3333740234375 }, "m_Blocks": [ { "m_Id": "804ddb9c92264982ad62172cc617c517" } ] }, "m_PreviewData": { "serializedMesh": { "m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}", "m_Guid": "" } }, "m_Path": "MeshBaker/Examples", "m_ConcretePrecision": 0, "m_PreviewMode": 2, "m_OutputNode": { "m_Id": "" }, "m_ActiveTargets": [ { "m_Id": "2889559d5baf44cfbc78dc56b13b851c" } ] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "016dc1990b2f4ae59b1cb98bcb68c4f3", "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.BlockNode", "m_ObjectId": "0524cb93634045a290454dfc74003a55", "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": "88cf3334ec614ae8814a0c83b5b0203b" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_SerializedDescriptor": "VertexDescription.Normal" } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "09cbed9ebf5544e886fafb7aa55b901a", "m_Id": 1, "m_DisplayName": "R", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "R", "m_StageCapability": 3, "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "0f1964338b58441393293af66fe12884", "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.ColorRGBMaterialSlot", "m_ObjectId": "15e9d2e15d2346a1ac743b84058e1b00", "m_Id": 0, "m_DisplayName": "Base Color", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "BaseColor", "m_StageCapability": 2, "m_Value": { "x": 0.849056601524353, "y": 0.029369784519076349, "z": 0.029369784519076349 }, "m_DefaultValue": { "x": 0.5, "y": 0.5, "z": 0.5 }, "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.Vector4MaterialSlot", "m_ObjectId": "1873d567a52842949e7c858657306064", "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.TangentMaterialSlot", "m_ObjectId": "1cd55d0da2e14f90bb6740e28305285f", "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.DynamicVectorMaterialSlot", "m_ObjectId": "225de08700164c8d9e86aa2defb49f8b", "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.BlockNode", "m_ObjectId": "273b0b1ba09f4fcc9fe2900c8dcc3af2", "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": "c3911c86a6474742baeb924b6e66f762" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_SerializedDescriptor": "VertexDescription.Position" } { "m_SGVersion": 1, "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget", "m_ObjectId": "2889559d5baf44cfbc78dc56b13b851c", "m_ActiveSubTarget": { "m_Id": "54563dc2ed614dfd97bcbb6f7b4650fe" }, "m_SurfaceType": 0, "m_AlphaMode": 0, "m_TwoSided": false, "m_AlphaClip": false, "m_CustomEditorGUI": "" } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "2a024b961b0c4797936d86c1424b99a9", "m_Id": 3, "m_DisplayName": "B", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "B", "m_StageCapability": 3, "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Texture2DArrayMaterialSlot", "m_ObjectId": "2d9968b74ec94864932ce1d6e3a26fc7", "m_Id": 0, "m_DisplayName": "_BaseMap", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "Out", "m_StageCapability": 3, "m_BareResource": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.BlockNode", "m_ObjectId": "3525e73855ea43ce89fb312b72828085", "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": "1cd55d0da2e14f90bb6740e28305285f" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_SerializedDescriptor": "VertexDescription.Tangent" } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Texture2DArrayInputMaterialSlot", "m_ObjectId": "4e5cead74fb540c3b72a25171091fa05", "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": 2, "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalUnlitSubTarget", "m_ObjectId": "54563dc2ed614dfd97bcbb6f7b4650fe" } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "5ddf34b2494b4738b261e4b2e53944d1", "m_Id": 2, "m_DisplayName": "G", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "G", "m_StageCapability": 3, "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.UVNode", "m_ObjectId": "66177e207eb543e7ba533cf03df33fe3", "m_Group": { "m_Id": "" }, "m_Name": "UV", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -385.3333740234375, "y": -182.66665649414063, "width": 144.66668701171876, "height": 128.6666717529297 } }, "m_Slots": [ { "m_Id": "c1ec191872b7486bae3be559a8cea333" } ], "synonyms": [ "texcoords", "coords", "coordinates" ], "m_Precision": 0, "m_PreviewExpanded": false, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_OutputChannel": 0 } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "670c072c5c31447da0da59e9b019d912", "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.SampleTexture2DArrayNode", "m_ObjectId": "74ac5062031544b2b8272ba0e298106d", "m_Group": { "m_Id": "" }, "m_Name": "Sample Texture 2D Array", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": 63.999961853027347, "y": -475.3333435058594, "width": 220.0, "height": 190.0 } }, "m_Slots": [ { "m_Id": "1873d567a52842949e7c858657306064" }, { "m_Id": "c5f53f3808014ae392aabbb25cfb70a5" }, { "m_Id": "016dc1990b2f4ae59b1cb98bcb68c4f3" }, { "m_Id": "670c072c5c31447da0da59e9b019d912" }, { "m_Id": "c71994734bfc4266bc5107e10b8f3980" }, { "m_Id": "4e5cead74fb540c3b72a25171091fa05" }, { "m_Id": "0f1964338b58441393293af66fe12884" }, { "m_Id": "ff7f542ff4f44f43b66180190954073f" }, { "m_Id": "c4a379a8196344d8a50479458659347e" } ], "synonyms": [ "stack", "pile", "tex2darray" ], "m_Precision": 0, "m_PreviewExpanded": false, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.BlockNode", "m_ObjectId": "804ddb9c92264982ad62172cc617c517", "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": "15e9d2e15d2346a1ac743b84058e1b00" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_SerializedDescriptor": "SurfaceDescription.BaseColor" } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot", "m_ObjectId": "88cf3334ec614ae8814a0c83b5b0203b", "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.CategoryData", "m_ObjectId": "8994e09587244bd2af08736cb9ff2b7f", "m_Name": "", "m_ChildObjectList": [ { "m_Id": "8ff1650f3d9f46c5b5e5039a2dcffd00" }, { "m_Id": "eeb82a772ebb4ec9b955ab6b51a7284c" } ] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Internal.Texture2DArrayShaderProperty", "m_ObjectId": "8ff1650f3d9f46c5b5e5039a2dcffd00", "m_Guid": { "m_GuidSerialized": "48a35245-60ff-4fcf-b194-bcc160edd8c4" }, "m_Name": "_BaseMap", "m_DefaultReferenceName": "_Texture2D_Array", "m_OverrideReferenceName": "", "m_GeneratePropertyBlock": true, "m_Precision": 0, "overrideHLSLDeclaration": false, "hlslDeclarationOverride": 0, "m_Hidden": false, "m_Value": { "m_SerializedTexture": "{\"textureArray\":{\"instanceID\":0}}", "m_Guid": "" }, "m_Modifiable": true } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.PropertyNode", "m_ObjectId": "92af1f3a86a54c5ea13bbc704234f46a", "m_Group": { "m_Id": "" }, "m_Name": "Property", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -136.66668701171876, "y": -538.0, "width": 146.6666717529297, "height": 34.0 } }, "m_Slots": [ { "m_Id": "2d9968b74ec94864932ce1d6e3a26fc7" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_Property": { "m_Id": "8ff1650f3d9f46c5b5e5039a2dcffd00" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.SplitNode", "m_ObjectId": "be6d3803e0724e14bb58d41e1ae92d26", "m_Group": { "m_Id": "" }, "m_Name": "Split", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -188.66671752929688, "y": -430.6666564941406, "width": 120.66667938232422, "height": 148.6666717529297 } }, "m_Slots": [ { "m_Id": "225de08700164c8d9e86aa2defb49f8b" }, { "m_Id": "09cbed9ebf5544e886fafb7aa55b901a" }, { "m_Id": "5ddf34b2494b4738b261e4b2e53944d1" }, { "m_Id": "2a024b961b0c4797936d86c1424b99a9" }, { "m_Id": "febb2ba1e45a4a60aa865447188b1f80" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot", "m_ObjectId": "c1ec191872b7486bae3be559a8cea333", "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.PositionMaterialSlot", "m_ObjectId": "c3911c86a6474742baeb924b6e66f762", "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": "c4a379a8196344d8a50479458659347e", "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": "c5f53f3808014ae392aabbb25cfb70a5", "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": "c71994734bfc4266bc5107e10b8f3980", "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.StickyNoteData", "m_ObjectId": "fbd0398cece14f44a15c0efc0086f159", "m_Title": "Sampling Texture Arrays", "m_Content": "Use a Sample Texture 2D Array node\nThe \"Index\" input is the slice index. If the slice index is UV.z\nof the mesh then we can extract the UV.z by using a \"Split\"\nNode. The \"B\" output of the \"Split\" node is Z element of the UV", "m_TextSize": 0, "m_Theme": 0, "m_Position": { "serializedVersion": "2", "x": -504.0, "y": -716.0, "width": 380.0, "height": 160.0 }, "m_Group": { "m_Id": "" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "febb2ba1e45a4a60aa865447188b1f80", "m_Id": 4, "m_DisplayName": "A", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "A", "m_StageCapability": 3, "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.UVMaterialSlot", "m_ObjectId": "ff7f542ff4f44f43b66180190954073f", "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 }