{ "m_SGVersion": 3, "m_Type": "UnityEditor.ShaderGraph.GraphData", "m_ObjectId": "a159428e3fc54ff5af3156c3e1b3c5d6", "m_Properties": [ { "m_Id": "7c6f440c17ec218ea6f919de3d5da19b" }, { "m_Id": "3679d601969ecf859fbb5c117b7a3819" }, { "m_Id": "94f81e536675538baaab95cc72b69fc0" } ], "m_Keywords": [], "m_Dropdowns": [], "m_CategoryData": [ { "m_Id": "918f573a5b7947ae96cd81f1daf5c783" } ], "m_Nodes": [ { "m_Id": "724e4ed8418123869ec0c65e3bc78ca5" }, { "m_Id": "99936726453a9d83af52710fa8eaff75" }, { "m_Id": "378f69bae2fc908893c1ebb5e8bb934f" }, { "m_Id": "742b9cba34c14f839bfff52c4d32f612" }, { "m_Id": "78b78d3380e64bbfb13e1fc5482ae5db" } ], "m_GroupDatas": [ { "m_Id": "896afbc0d6b949ba95ce219f5bbc36ba" } ], "m_StickyNoteDatas": [], "m_Edges": [ { "m_OutputSlot": { "m_Node": { "m_Id": "378f69bae2fc908893c1ebb5e8bb934f" }, "m_SlotId": 0 }, "m_InputSlot": { "m_Node": { "m_Id": "78b78d3380e64bbfb13e1fc5482ae5db" }, "m_SlotId": 4 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "742b9cba34c14f839bfff52c4d32f612" }, "m_SlotId": 0 }, "m_InputSlot": { "m_Node": { "m_Id": "78b78d3380e64bbfb13e1fc5482ae5db" }, "m_SlotId": 2 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "78b78d3380e64bbfb13e1fc5482ae5db" }, "m_SlotId": 3 }, "m_InputSlot": { "m_Node": { "m_Id": "724e4ed8418123869ec0c65e3bc78ca5" }, "m_SlotId": 1 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "99936726453a9d83af52710fa8eaff75" }, "m_SlotId": 0 }, "m_InputSlot": { "m_Node": { "m_Id": "78b78d3380e64bbfb13e1fc5482ae5db" }, "m_SlotId": 0 } } ], "m_VertexContext": { "m_Position": { "x": 388.9999694824219, "y": -0.000009775161743164063 }, "m_Blocks": [] }, "m_FragmentContext": { "m_Position": { "x": 388.9999694824219, "y": 199.99998474121095 }, "m_Blocks": [] }, "m_PreviewData": { "serializedMesh": { "m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}", "m_Guid": "" }, "preventRotation": false }, "m_Path": "Sub Graphs", "m_GraphPrecision": 0, "m_PreviewMode": 2, "m_OutputNode": { "m_Id": "724e4ed8418123869ec0c65e3bc78ca5" }, "m_SubDatas": [], "m_ActiveTargets": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot", "m_ObjectId": "2dd79be7e699558c8fd134e97bb163ea", "m_Id": 0, "m_DisplayName": "UV", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "Out", "m_StageCapability": 3, "m_Value": { "x": 0.0, "y": 0.0 }, "m_DefaultValue": { "x": 0.0, "y": 0.0 }, "m_Labels": [ "X", "Y" ] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", "m_ObjectId": "2f9190d597ebbb8585ec84d25d75b75d", "m_Id": 1, "m_DisplayName": "normal", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "normal", "m_StageCapability": 3, "m_Value": { "x": 0.0, "y": 0.0, "z": 0.0 }, "m_DefaultValue": { "x": 0.0, "y": 0.0, "z": 0.0 }, "m_Labels": [ "X", "Y", "Z" ] } { "m_SGVersion": 1, "m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty", "m_ObjectId": "3679d601969ecf859fbb5c117b7a3819", "m_Guid": { "m_GuidSerialized": "2c3dc14a-f0d3-4122-8339-4bfaa2248637" }, "m_Name": "normalScale", "m_DefaultRefNameVersion": 0, "m_RefNameGeneratedByDisplayName": "", "m_DefaultReferenceName": "Vector1_8CFE54ED", "m_OverrideReferenceName": "", "m_GeneratePropertyBlock": true, "m_UseCustomSlotLabel": false, "m_CustomSlotLabel": "", "m_DismissedVersion": 0, "m_Precision": 0, "overrideHLSLDeclaration": false, "hlslDeclarationOverride": 0, "m_Hidden": false, "m_Value": 1.0, "m_FloatType": 0, "m_RangeValues": { "x": 0.0, "y": 1.0 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.PropertyNode", "m_ObjectId": "378f69bae2fc908893c1ebb5e8bb934f", "m_Group": { "m_Id": "" }, "m_Name": "Property", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -237.0000457763672, "y": 3.0000147819519045, "width": 93.0, "height": 33.99996566772461 } }, "m_Slots": [ { "m_Id": "2dd79be7e699558c8fd134e97bb163ea" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_Property": { "m_Id": "94f81e536675538baaab95cc72b69fc0" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Texture2DMaterialSlot", "m_ObjectId": "6f2d19642148808ab6ad6978617d07b8", "m_Id": 0, "m_DisplayName": "normalTexture", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "Out", "m_StageCapability": 3, "m_BareResource": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode", "m_ObjectId": "724e4ed8418123869ec0c65e3bc78ca5", "m_Group": { "m_Id": "" }, "m_Name": "Out_Vector3", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": 299.0, "y": -60.9999885559082, "width": 117.0, "height": 76.99998474121094 } }, "m_Slots": [ { "m_Id": "2f9190d597ebbb8585ec84d25d75b75d" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "IsFirstSlotValid": true } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.PropertyNode", "m_ObjectId": "742b9cba34c14f839bfff52c4d32f612", "m_Group": { "m_Id": "" }, "m_Name": "Property", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -237.0000457763672, "y": 42.9999885559082, "width": 139.0000457763672, "height": 34.00002670288086 } }, "m_Slots": [ { "m_Id": "e26e24cfb71a988687625c46674b47f8" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_Property": { "m_Id": "3679d601969ecf859fbb5c117b7a3819" } } { "m_SGVersion": 1, "m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode", "m_ObjectId": "78b78d3380e64bbfb13e1fc5482ae5db", "m_Group": { "m_Id": "896afbc0d6b949ba95ce219f5bbc36ba" }, "m_Name": "NormalInTangentSpace (Custom Function)", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -27.0, "y": -61.0, "width": 287.0, "height": 142.0 } }, "m_Slots": [ { "m_Id": "e09242f306954c2e87a1d1ea1fdae6c2" }, { "m_Id": "967ee419913f4a95a1c5c4dcf5aa4437" }, { "m_Id": "be7829f9a7ce47bfbe579dc864d8f48b" }, { "m_Id": "c35c7faea3ff4e60a387ce086243fd2b" } ], "synonyms": [ "code", "HLSL" ], "m_Precision": 1, "m_PreviewExpanded": false, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_SourceType": 0, "m_FunctionName": "NormalInTangentSpace", "m_FunctionSource": "30d0f0e3f526585408342f8854723a88", "m_FunctionBody": "#if defined(UNITY_ASTC_NORMALMAP_ENCODING)\r\n return UnpackScaleNormalDXT5nm(tex2D (normalTexture, texcoords), normalTexture_scale);\r\n#else\r\n return UnpackScaleNormal(tex2D (normalTexture, texcoords), normalTexture_scale);\r\n#endif" } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Internal.Texture2DShaderProperty", "m_ObjectId": "7c6f440c17ec218ea6f919de3d5da19b", "m_Guid": { "m_GuidSerialized": "ce3ef69d-a0a0-44bb-9390-4e669bbe6176" }, "m_Name": "normalTexture", "m_DefaultRefNameVersion": 0, "m_RefNameGeneratedByDisplayName": "", "m_DefaultReferenceName": "Texture2D_56E509E5", "m_OverrideReferenceName": "", "m_GeneratePropertyBlock": true, "m_UseCustomSlotLabel": false, "m_CustomSlotLabel": "", "m_DismissedVersion": 0, "m_Precision": 0, "overrideHLSLDeclaration": false, "hlslDeclarationOverride": 0, "m_Hidden": false, "m_Value": { "m_SerializedTexture": "", "m_Guid": "" }, "isMainTexture": false, "useTilingAndOffset": false, "m_Modifiable": true, "m_DefaultType": 0 } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.GroupData", "m_ObjectId": "896afbc0d6b949ba95ce219f5bbc36ba", "m_Title": "Normal", "m_Position": { "x": -52.0, "y": -120.0 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.CategoryData", "m_ObjectId": "918f573a5b7947ae96cd81f1daf5c783", "m_Name": "", "m_ChildObjectList": [ { "m_Id": "7c6f440c17ec218ea6f919de3d5da19b" }, { "m_Id": "3679d601969ecf859fbb5c117b7a3819" }, { "m_Id": "94f81e536675538baaab95cc72b69fc0" } ] } { "m_SGVersion": 1, "m_Type": "UnityEditor.ShaderGraph.Internal.Vector2ShaderProperty", "m_ObjectId": "94f81e536675538baaab95cc72b69fc0", "m_Guid": { "m_GuidSerialized": "10c62b64-e10d-4a43-8035-41ea282aa3b7" }, "m_Name": "UV", "m_DefaultRefNameVersion": 0, "m_RefNameGeneratedByDisplayName": "", "m_DefaultReferenceName": "Vector2_465B70E0", "m_OverrideReferenceName": "", "m_GeneratePropertyBlock": true, "m_UseCustomSlotLabel": false, "m_CustomSlotLabel": "", "m_DismissedVersion": 0, "m_Precision": 0, "overrideHLSLDeclaration": false, "hlslDeclarationOverride": 0, "m_Hidden": false, "m_Value": { "x": 0.0, "y": 0.0, "z": 0.0, "w": 0.0 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot", "m_ObjectId": "967ee419913f4a95a1c5c4dcf5aa4437", "m_Id": 4, "m_DisplayName": "uv", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "uv", "m_StageCapability": 3, "m_Value": { "x": 0.0, "y": 0.0 }, "m_DefaultValue": { "x": 0.0, "y": 0.0 }, "m_Labels": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.PropertyNode", "m_ObjectId": "99936726453a9d83af52710fa8eaff75", "m_Group": { "m_Id": "" }, "m_Name": "Property", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -237.0000457763672, "y": -36.99995803833008, "width": 159.00003051757813, "height": 33.99996566772461 } }, "m_Slots": [ { "m_Id": "6f2d19642148808ab6ad6978617d07b8" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_Property": { "m_Id": "7c6f440c17ec218ea6f919de3d5da19b" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "be7829f9a7ce47bfbe579dc864d8f48b", "m_Id": 2, "m_DisplayName": "normal_scale", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "normal_scale", "m_StageCapability": 3, "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", "m_ObjectId": "c35c7faea3ff4e60a387ce086243fd2b", "m_Id": 3, "m_DisplayName": "normal", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "normal", "m_StageCapability": 3, "m_Value": { "x": 0.0, "y": 0.0, "z": 0.0 }, "m_DefaultValue": { "x": 0.0, "y": 0.0, "z": 0.0 }, "m_Labels": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Texture2DInputMaterialSlot", "m_ObjectId": "e09242f306954c2e87a1d1ea1fdae6c2", "m_Id": 0, "m_DisplayName": "normal_texture", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "normal_texture", "m_StageCapability": 3, "m_BareResource": false, "m_Texture": { "m_SerializedTexture": "", "m_Guid": "" }, "m_DefaultType": 0 } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "e26e24cfb71a988687625c46674b47f8", "m_Id": 0, "m_DisplayName": "normalScale", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "Out", "m_StageCapability": 3, "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [ "X" ] }