{ "m_SGVersion": 3, "m_Type": "UnityEditor.ShaderGraph.GraphData", "m_ObjectId": "a6a2c084b83c48dd8da3ccd3c87a8680", "m_Properties": [], "m_Keywords": [], "m_Dropdowns": [], "m_CategoryData": [ { "m_Id": "fe4c3cc527364c06b551d113c4e0fb2f" } ], "m_Nodes": [ { "m_Id": "60b69faeaa0b4a2bb8158bfebe048214" }, { "m_Id": "45f91cf7fd434f8a91c5ef6ff7fd6043" }, { "m_Id": "e05ec86b78a747e982591b586d73fa7f" }, { "m_Id": "d1e9246b2c0c441786c33e492c72e7d8" }, { "m_Id": "c52ad94f45004847a9a858af379b2cdb" }, { "m_Id": "502f9eb8b4d54c549f374a170bf3c6c5" }, { "m_Id": "d5750300ed654bab86d8bc4c2a237d5a" }, { "m_Id": "7d60ed2d45894499bfd63a62a3480828" }, { "m_Id": "1d29654110be4cb0bb650a6622f5d732" }, { "m_Id": "657f1cf219a94cd7a2310cb268b68f65" }, { "m_Id": "c8f8e7f6846d46b196fb24d3efa0cf0c" } ], "m_GroupDatas": [ { "m_Id": "6251f5292d5b4c228867ceded03d9afe" } ], "m_StickyNoteDatas": [ { "m_Id": "aa110b4d7c0b482eaed378ff91dbd031" }, { "m_Id": "f6e28907f1984a54bb766b660adddbd6" }, { "m_Id": "3792d264843e49b2a45b266a0c9f30e5" }, { "m_Id": "858faf9f38fb4cbbb5b37f9bd006bc9b" }, { "m_Id": "14a4a7ad6ec74a649a3185d23e7ee435" } ], "m_Edges": [ { "m_OutputSlot": { "m_Node": { "m_Id": "1d29654110be4cb0bb650a6622f5d732" }, "m_SlotId": 2 }, "m_InputSlot": { "m_Node": { "m_Id": "657f1cf219a94cd7a2310cb268b68f65" }, "m_SlotId": 0 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "502f9eb8b4d54c549f374a170bf3c6c5" }, "m_SlotId": 0 }, "m_InputSlot": { "m_Node": { "m_Id": "7d60ed2d45894499bfd63a62a3480828" }, "m_SlotId": 0 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "502f9eb8b4d54c549f374a170bf3c6c5" }, "m_SlotId": 0 }, "m_InputSlot": { "m_Node": { "m_Id": "d5750300ed654bab86d8bc4c2a237d5a" }, "m_SlotId": 0 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "657f1cf219a94cd7a2310cb268b68f65" }, "m_SlotId": 1 }, "m_InputSlot": { "m_Node": { "m_Id": "c8f8e7f6846d46b196fb24d3efa0cf0c" }, "m_SlotId": 0 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "7d60ed2d45894499bfd63a62a3480828" }, "m_SlotId": 1 }, "m_InputSlot": { "m_Node": { "m_Id": "1d29654110be4cb0bb650a6622f5d732" }, "m_SlotId": 0 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "d5750300ed654bab86d8bc4c2a237d5a" }, "m_SlotId": 1 }, "m_InputSlot": { "m_Node": { "m_Id": "1d29654110be4cb0bb650a6622f5d732" }, "m_SlotId": 1 } } ], "m_VertexContext": { "m_Position": { "x": 0.0, "y": 0.0 }, "m_Blocks": [ { "m_Id": "60b69faeaa0b4a2bb8158bfebe048214" }, { "m_Id": "45f91cf7fd434f8a91c5ef6ff7fd6043" }, { "m_Id": "e05ec86b78a747e982591b586d73fa7f" } ] }, "m_FragmentContext": { "m_Position": { "x": 0.0, "y": 200.0 }, "m_Blocks": [ { "m_Id": "d1e9246b2c0c441786c33e492c72e7d8" } ] }, "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": "e8a1ef8522294f28bc9b276c58745a33" }, { "m_Id": "9f28618838ba45e3a33e14db214db778" }, { "m_Id": "ee1e4c88cb064cf88766bfda4fb0106b" } ] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", "m_ObjectId": "03e21359f2304ae892036fa830a2e2be", "m_Id": 1, "m_DisplayName": "B", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "B", "m_StageCapability": 3, "m_Value": { "x": 0.0, "y": 1.0, "z": 0.0 }, "m_DefaultValue": { "x": 0.0, "y": 0.0, "z": 0.0 }, "m_Labels": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.HDUnlitSubTarget", "m_ObjectId": "0c36a0cb6f0540d19e52e321f3ce5947" } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.StickyNoteData", "m_ObjectId": "14a4a7ad6ec74a649a3185d23e7ee435", "m_Title": "", "m_Content": "This illustrates how to create Face Normals using DDX and DDY. This is useful for meshes where you've altered the vertex normals - like you might for foliage - but you still need to use the real normal for some things.", "m_TextSize": 0, "m_Theme": 0, "m_Position": { "serializedVersion": "2", "x": -1445.5001220703125, "y": 405.0000305175781, "width": 200.0, "height": 118.50003051757813 }, "m_Group": { "m_Id": "6251f5292d5b4c228867ceded03d9afe" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", "m_ObjectId": "162162b5d3fa403393ac21e67c0d6529", "m_Id": 1, "m_DisplayName": "Out", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "Out", "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_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.CrossProductNode", "m_ObjectId": "1d29654110be4cb0bb650a6622f5d732", "m_Group": { "m_Id": "6251f5292d5b4c228867ceded03d9afe" }, "m_Name": "Cross Product", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -1028.0001220703125, "y": 79.99996948242188, "width": 129.50006103515626, "height": 117.99995422363281 } }, "m_Slots": [ { "m_Id": "93355243d2cb4a958865044033e8ebd7" }, { "m_Id": "03e21359f2304ae892036fa830a2e2be" }, { "m_Id": "a915288d689b4ea1ae429469c9a34c38" } ], "synonyms": [ "perpendicular" ], "m_Precision": 0, "m_PreviewExpanded": false, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", "m_ObjectId": "1e6fe2c5e7834a709519e5d31d54cbe1", "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.Vector3MaterialSlot", "m_ObjectId": "2505d721f0514a0e9afa9633771a0692", "m_Id": 1, "m_DisplayName": "Out", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "Out", "m_StageCapability": 3, "m_Value": { "x": 0.0, "y": 0.0, "z": 0.0 }, "m_DefaultValue": { "x": 0.0, "y": 0.0, "z": 0.0 }, "m_Labels": [] } { "m_SGVersion": 2, "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalUnlitSubTarget", "m_ObjectId": "316c1535eded4ac9bf05c74ad5c2fb3d" } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.StickyNoteData", "m_ObjectId": "3792d264843e49b2a45b266a0c9f30e5", "m_Title": "", "m_Content": "Doing a cross product between those two slope vectors creates a surface normal. Notice that it's faceted. This is because we're not using the smoothed vertex normals, but instead, we're generating the normals purely from the shape of the geometry.", "m_TextSize": 0, "m_Theme": 0, "m_Position": { "serializedVersion": "2", "x": -987.0000610351563, "y": 365.5000305175781, "width": 200.0, "height": 125.00003051757813 }, "m_Group": { "m_Id": "6251f5292d5b4c228867ceded03d9afe" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.BlockNode", "m_ObjectId": "45f91cf7fd434f8a91c5ef6ff7fd6043", "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": "8187c346069145e3bfbf5e8d27025cf9" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_SerializedDescriptor": "VertexDescription.Normal" } { "m_SGVersion": 1, "m_Type": "UnityEditor.ShaderGraph.PositionNode", "m_ObjectId": "502f9eb8b4d54c549f374a170bf3c6c5", "m_Group": { "m_Id": "6251f5292d5b4c228867ceded03d9afe" }, "m_Name": "Position", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -1443.0001220703125, "y": 89.00000762939453, "width": 206.0, "height": 130.49996948242188 } }, "m_Slots": [ { "m_Id": "65ee3446f8ca4b74a7e93f35ccc30c0e" } ], "synonyms": [ "location" ], "m_Precision": 1, "m_PreviewExpanded": false, "m_PreviewMode": 2, "m_CustomColors": { "m_SerializableColors": [] }, "m_Space": 2, "m_PositionSource": 0 } { "m_SGVersion": 0, "m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.BuiltinData", "m_ObjectId": "54f18cfc71e14a4984aa0f2a344d84eb", "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.BuiltIn.ShaderGraph.BuiltInUnlitSubTarget", "m_ObjectId": "5fe42c351be04b7789ad62f15f001d6f" } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.BlockNode", "m_ObjectId": "60b69faeaa0b4a2bb8158bfebe048214", "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": "efdf4183f23b467ca4bd049122142568" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_SerializedDescriptor": "VertexDescription.Position" } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.GroupData", "m_ObjectId": "6251f5292d5b4c228867ceded03d9afe", "m_Title": "Generating Face Normals", "m_Position": { "x": -1470.5001220703125, "y": -25.500030517578126 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", "m_ObjectId": "63fb1cfc046546db992e7a697ed1b372", "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 }, "m_DefaultValue": { "x": 0.0, "y": 0.0, "z": 0.0 }, "m_Labels": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.NormalizeNode", "m_ObjectId": "657f1cf219a94cd7a2310cb268b68f65", "m_Group": { "m_Id": "6251f5292d5b4c228867ceded03d9afe" }, "m_Name": "Normalize", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -898.5000610351563, "y": 79.99996948242188, "width": 208.0, "height": 278.0 } }, "m_Slots": [ { "m_Id": "8f8236f0e3eb4ed7866febf3dbe4ecbf" }, { "m_Id": "1e6fe2c5e7834a709519e5d31d54cbe1" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", "m_ObjectId": "65ee3446f8ca4b74a7e93f35ccc30c0e", "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 }, "m_DefaultValue": { "x": 0.0, "y": 0.0, "z": 0.0 }, "m_Labels": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.HDUnlitData", "m_ObjectId": "6a5f47ae933c41e99f226b6e60ba57ce", "m_EnableShadowMatte": false, "m_DistortionOnly": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DDYNode", "m_ObjectId": "7d60ed2d45894499bfd63a62a3480828", "m_Group": { "m_Id": "6251f5292d5b4c228867ceded03d9afe" }, "m_Name": "DDY", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -1200.0001220703125, "y": 32.99996566772461, "width": 131.5, "height": 94.0 } }, "m_Slots": [ { "m_Id": "85cc5228dd8546338a8aefc6c0946192" }, { "m_Id": "162162b5d3fa403393ac21e67c0d6529" } ], "synonyms": [ "derivative" ], "m_Precision": 0, "m_PreviewExpanded": false, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot", "m_ObjectId": "8187c346069145e3bfbf5e8d27025cf9", "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.DynamicVectorMaterialSlot", "m_ObjectId": "843e28aca1ea4059a9038add136eaa51", "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": "858faf9f38fb4cbbb5b37f9bd006bc9b", "m_Title": "", "m_Content": "The results are in World space, so we have to transform to Tangent space if we want to plug the result into the Master Stack.", "m_TextSize": 0, "m_Theme": 0, "m_Position": { "serializedVersion": "2", "x": -665.0000610351563, "y": 423.0000305175781, "width": 200.00003051757813, "height": 100.00003051757813 }, "m_Group": { "m_Id": "6251f5292d5b4c228867ceded03d9afe" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", "m_ObjectId": "85cc5228dd8546338a8aefc6c0946192", "m_Id": 0, "m_DisplayName": "In", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "In", "m_StageCapability": 3, "m_Value": { "x": 0.0, "y": 0.0, "z": 0.0, "w": 0.0 }, "m_DefaultValue": { "x": 0.0, "y": 0.0, "z": 0.0, "w": 0.0 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.SystemData", "m_ObjectId": "8baa8a4e83434c26836a078408b015b9", "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.Rendering.HighDefinition.ShaderGraph.HDUnlitData", "m_ObjectId": "8d23bdc81d6841b49626e72f5bc59ab1", "m_EnableShadowMatte": false, "m_DistortionOnly": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", "m_ObjectId": "8f8236f0e3eb4ed7866febf3dbe4ecbf", "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.Vector3MaterialSlot", "m_ObjectId": "93355243d2cb4a958865044033e8ebd7", "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 }, "m_DefaultValue": { "x": 0.0, "y": 0.0, "z": 0.0 }, "m_Labels": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", "m_ObjectId": "9ea975d2954b4edc86fb5d0d133d5965", "m_Id": 1, "m_DisplayName": "Out", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "Out", "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_SGVersion": 0, "m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.HDTarget", "m_ObjectId": "9f28618838ba45e3a33e14db214db778", "m_ActiveSubTarget": { "m_Id": "0c36a0cb6f0540d19e52e321f3ce5947" }, "m_Datas": [ { "m_Id": "dd748b3793824a8fb308932007f01b4c" }, { "m_Id": "f3526e0cf4ce4d72bcd7f5d8c68fe538" }, { "m_Id": "6a5f47ae933c41e99f226b6e60ba57ce" } ], "m_CustomEditorGUI": "", "m_SupportVFX": false, "m_SupportLineRendering": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.TangentMaterialSlot", "m_ObjectId": "a1b8b00a8937468789ac1216bf31e6e3", "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.Vector3MaterialSlot", "m_ObjectId": "a915288d689b4ea1ae429469c9a34c38", "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 }, "m_DefaultValue": { "x": 0.0, "y": 0.0, "z": 0.0 }, "m_Labels": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot", "m_ObjectId": "a9617e2b910c43c5933b5416d6bdae9a", "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.StickyNoteData", "m_ObjectId": "aa110b4d7c0b482eaed378ff91dbd031", "m_Title": "DDX Node", "m_Content": "The DDX Node allows you to find the difference (the partial derivative) between data in the current pixel and data in the next pixel over to the right in screen space.\n\nThis node only works in the fragment stage.", "m_TextSize": 0, "m_Theme": 0, "m_Position": { "serializedVersion": "2", "x": -1013.0000610351563, "y": -199.50001525878907, "width": 200.0, "height": 160.39132690429688 }, "m_Group": { "m_Id": "" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DDXNode", "m_ObjectId": "c52ad94f45004847a9a858af379b2cdb", "m_Group": { "m_Id": "" }, "m_Name": "DDX", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -1149.000244140625, "y": -191.50003051757813, "width": 127.5001220703125, "height": 94.00003051757813 } }, "m_Slots": [ { "m_Id": "f06f2c41a83a430882d6db8d80b5fc14" }, { "m_Id": "dbf1a7fc554d4a36bd40fce78b342b88" } ], "synonyms": [ "derivative" ], "m_Precision": 0, "m_PreviewExpanded": false, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] } } { "m_SGVersion": 2, "m_Type": "UnityEditor.ShaderGraph.TransformNode", "m_ObjectId": "c8f8e7f6846d46b196fb24d3efa0cf0c", "m_Group": { "m_Id": "6251f5292d5b4c228867ceded03d9afe" }, "m_Name": "Transform", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -669.0001220703125, "y": 79.99996948242188, "width": 212.50006103515626, "height": 340.0 } }, "m_Slots": [ { "m_Id": "63fb1cfc046546db992e7a697ed1b372" }, { "m_Id": "2505d721f0514a0e9afa9633771a0692" } ], "synonyms": [ "world", "tangent", "object", "view", "screen", "convert" ], "m_Precision": 0, "m_PreviewExpanded": true, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_Conversion": { "from": 2, "to": 3 }, "m_ConversionType": 2 } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.BlockNode", "m_ObjectId": "d1e9246b2c0c441786c33e492c72e7d8", "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": "a9617e2b910c43c5933b5416d6bdae9a" } ], "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.DDXNode", "m_ObjectId": "d5750300ed654bab86d8bc4c2a237d5a", "m_Group": { "m_Id": "6251f5292d5b4c228867ceded03d9afe" }, "m_Name": "DDX", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -1200.0001220703125, "y": 125.49998474121094, "width": 131.5, "height": 94.0 } }, "m_Slots": [ { "m_Id": "843e28aca1ea4059a9038add136eaa51" }, { "m_Id": "9ea975d2954b4edc86fb5d0d133d5965" } ], "synonyms": [ "derivative" ], "m_Precision": 0, "m_PreviewExpanded": false, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", "m_ObjectId": "dbf1a7fc554d4a36bd40fce78b342b88", "m_Id": 1, "m_DisplayName": "Out", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "Out", "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_SGVersion": 0, "m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.BuiltinData", "m_ObjectId": "dd748b3793824a8fb308932007f01b4c", "m_Distortion": false, "m_DistortionMode": 0, "m_DistortionDepthTest": true, "m_AddPrecomputedVelocity": false, "m_TransparentWritesMotionVec": false, "m_DepthOffset": false, "m_ConservativeDepthOffset": false, "m_TransparencyFog": true, "m_AlphaTestShadow": false, "m_BackThenFrontRendering": false, "m_TransparentDepthPrepass": false, "m_TransparentDepthPostpass": false, "m_TransparentPerPixelSorting": false, "m_SupportLodCrossFade": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.BlockNode", "m_ObjectId": "e05ec86b78a747e982591b586d73fa7f", "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": "a1b8b00a8937468789ac1216bf31e6e3" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_SerializedDescriptor": "VertexDescription.Tangent" } { "m_SGVersion": 2, "m_Type": "UnityEditor.Rendering.BuiltIn.ShaderGraph.BuiltInTarget", "m_ObjectId": "e8a1ef8522294f28bc9b276c58745a33", "m_ActiveSubTarget": { "m_Id": "5fe42c351be04b7789ad62f15f001d6f" }, "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.Rendering.HighDefinition.ShaderGraph.HDUnlitSubTarget", "m_ObjectId": "eca9a1892f5f44619758a8a8f8688630" } { "m_SGVersion": 1, "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget", "m_ObjectId": "ee1e4c88cb064cf88766bfda4fb0106b", "m_ActiveSubTarget": { "m_Id": "316c1535eded4ac9bf05c74ad5c2fb3d" }, "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_CustomEditorGUI": "", "m_SupportVFX": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.PositionMaterialSlot", "m_ObjectId": "efdf4183f23b467ca4bd049122142568", "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.DynamicVectorMaterialSlot", "m_ObjectId": "f06f2c41a83a430882d6db8d80b5fc14", "m_Id": 0, "m_DisplayName": "In", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "In", "m_StageCapability": 3, "m_Value": { "x": 0.0, "y": 0.0, "z": 0.0, "w": 0.0 }, "m_DefaultValue": { "x": 0.0, "y": 0.0, "z": 0.0, "w": 0.0 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.SystemData", "m_ObjectId": "f3526e0cf4ce4d72bcd7f5d8c68fe538", "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": "f6e28907f1984a54bb766b660adddbd6", "m_Title": "", "m_Content": "DDX and DDY find the difference between the position of the current pixel and the one next to it - horizontally (for DDX), and vertically (for DDY). ", "m_TextSize": 0, "m_Theme": 0, "m_Position": { "serializedVersion": "2", "x": -1273.0001220703125, "y": 242.50003051757813, "width": 200.0, "height": 100.0 }, "m_Group": { "m_Id": "6251f5292d5b4c228867ceded03d9afe" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.CategoryData", "m_ObjectId": "fe4c3cc527364c06b551d113c4e0fb2f", "m_Name": "", "m_ChildObjectList": [] }