{ "m_SGVersion": 3, "m_Type": "UnityEditor.ShaderGraph.GraphData", "m_ObjectId": "7406aabacd5b4bac89b39cb9efc9124d", "m_Properties": [], "m_Keywords": [], "m_Dropdowns": [], "m_CategoryData": [ { "m_Id": "4f67cdf401db467da384fb2cea40f5ab" } ], "m_Nodes": [ { "m_Id": "8ff629bb54004b05b165cbde64d5f853" }, { "m_Id": "f9f05bcabdff4e54996999946ac8164f" }, { "m_Id": "6c2e9165c842437d9930cff53cbe2370" }, { "m_Id": "bf72d92645c5476bb81c948cc1b23c8f" }, { "m_Id": "c88348af2f754d5f938fcd0b217af60f" }, { "m_Id": "cb31bc768def4194a882f3ec2ea002b5" }, { "m_Id": "1235ef58947c41888b81412589b3a55f" }, { "m_Id": "a15bb836135e408880ffe51cf9dcd496" }, { "m_Id": "951ac0845893494493ae18205d80ce86" }, { "m_Id": "dd5223f7ac104e64beba3c0782cf9572" }, { "m_Id": "72904f50af0049d19489c4f7b8054636" }, { "m_Id": "f2ccd976097a46f68dd1a29113953050" }, { "m_Id": "1d697787dbb74aaeb8f1756a6fc0857b" }, { "m_Id": "66b460aa1db9464a81df3c7a6ee353ee" }, { "m_Id": "33c9aec84b5f4d3ebedb54a3d2c72b9f" } ], "m_GroupDatas": [ { "m_Id": "918064f3c879489ab4ea041d948e46e8" } ], "m_StickyNoteDatas": [ { "m_Id": "713f063e312f4d4d8f5947da254d7284" }, { "m_Id": "90969903415c4ad6b9a8de6ebb51f23b" }, { "m_Id": "67107d84181d44a99a6ad39be62315ed" }, { "m_Id": "333d173186e64b1599542d479d8c02e5" }, { "m_Id": "19629ff1fa2543acaad5db6586648e54" }, { "m_Id": "997ccff77eb747b29aeec36b07a1365a" }, { "m_Id": "54dda7b327e146038e51a9febeeb49e5" }, { "m_Id": "4373cd9500724baeb2c540c189fccd13" }, { "m_Id": "ae575759e5df4a05874e5d51efea9940" }, { "m_Id": "d328f88f888e49469a3bc03d66c27317" } ], "m_Edges": [ { "m_OutputSlot": { "m_Node": { "m_Id": "1235ef58947c41888b81412589b3a55f" }, "m_SlotId": 2 }, "m_InputSlot": { "m_Node": { "m_Id": "a15bb836135e408880ffe51cf9dcd496" }, "m_SlotId": 0 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "72904f50af0049d19489c4f7b8054636" }, "m_SlotId": 0 }, "m_InputSlot": { "m_Node": { "m_Id": "1d697787dbb74aaeb8f1756a6fc0857b" }, "m_SlotId": 1 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "72904f50af0049d19489c4f7b8054636" }, "m_SlotId": 0 }, "m_InputSlot": { "m_Node": { "m_Id": "951ac0845893494493ae18205d80ce86" }, "m_SlotId": 1 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "a15bb836135e408880ffe51cf9dcd496" }, "m_SlotId": 1 }, "m_InputSlot": { "m_Node": { "m_Id": "951ac0845893494493ae18205d80ce86" }, "m_SlotId": 2 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "a15bb836135e408880ffe51cf9dcd496" }, "m_SlotId": 1 }, "m_InputSlot": { "m_Node": { "m_Id": "f2ccd976097a46f68dd1a29113953050" }, "m_SlotId": 0 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "cb31bc768def4194a882f3ec2ea002b5" }, "m_SlotId": 0 }, "m_InputSlot": { "m_Node": { "m_Id": "1235ef58947c41888b81412589b3a55f" }, "m_SlotId": 0 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "dd5223f7ac104e64beba3c0782cf9572" }, "m_SlotId": 0 }, "m_InputSlot": { "m_Node": { "m_Id": "1d697787dbb74aaeb8f1756a6fc0857b" }, "m_SlotId": 0 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "dd5223f7ac104e64beba3c0782cf9572" }, "m_SlotId": 0 }, "m_InputSlot": { "m_Node": { "m_Id": "951ac0845893494493ae18205d80ce86" }, "m_SlotId": 0 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "f2ccd976097a46f68dd1a29113953050" }, "m_SlotId": 1 }, "m_InputSlot": { "m_Node": { "m_Id": "1d697787dbb74aaeb8f1756a6fc0857b" }, "m_SlotId": 2 } } ], "m_VertexContext": { "m_Position": { "x": 0.0, "y": 0.0 }, "m_Blocks": [ { "m_Id": "8ff629bb54004b05b165cbde64d5f853" }, { "m_Id": "f9f05bcabdff4e54996999946ac8164f" }, { "m_Id": "6c2e9165c842437d9930cff53cbe2370" } ] }, "m_FragmentContext": { "m_Position": { "x": 0.0, "y": 200.0 }, "m_Blocks": [ { "m_Id": "bf72d92645c5476bb81c948cc1b23c8f" }, { "m_Id": "66b460aa1db9464a81df3c7a6ee353ee" }, { "m_Id": "33c9aec84b5f4d3ebedb54a3d2c72b9f" } ] }, "m_PreviewData": { "serializedMesh": { "m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}", "m_Guid": "" }, "preventRotation": false }, "m_Path": "Shader Graphs", "m_GraphPrecision": 1, "m_PreviewMode": 2, "m_OutputNode": { "m_Id": "" }, "m_SubDatas": [], "m_ActiveTargets": [ { "m_Id": "c98a64349fe5474a8c93e1bd013477d1" }, { "m_Id": "d77cd43f40fe48a784f2a99594340196" }, { "m_Id": "02e3d6a073a34e848116e63f00c03ab8" } ] } { "m_SGVersion": 1, "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget", "m_ObjectId": "02e3d6a073a34e848116e63f00c03ab8", "m_Datas": [], "m_ActiveSubTarget": { "m_Id": "3e437a6c739242e0aaab7dc00c5d3af9" }, "m_AllowMaterialOverride": false, "m_SurfaceType": 0, "m_ZTestMode": 4, "m_ZWriteControl": 0, "m_AlphaMode": 0, "m_RenderFace": 2, "m_AlphaClip": false, "m_CastShadows": true, "m_ReceiveShadows": true, "m_DisableTint": false, "m_AdditionalMotionVectorMode": 0, "m_AlembicMotionVectors": false, "m_SupportsLODCrossFade": false, "m_CustomEditorGUI": "", "m_SupportVFX": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", "m_ObjectId": "0327780910df4efe993613892d8365f8", "m_Id": 0, "m_DisplayName": "A", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "A", "m_StageCapability": 3, "m_Value": { "x": 0.0, "y": 0.0, "z": 0.0, "w": 0.0 }, "m_DefaultValue": { "x": 0.0, "y": 0.0, "z": 0.0, "w": 0.0 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", "m_ObjectId": "07640b48dfbd40b9b92f1ff15717c93d", "m_Id": 3, "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.SplitNode", "m_ObjectId": "1235ef58947c41888b81412589b3a55f", "m_Group": { "m_Id": "918064f3c879489ab4ea041d948e46e8" }, "m_Name": "Split", "m_DrawState": { "m_Expanded": false, "m_Position": { "serializedVersion": "2", "x": -1292.0001220703125, "y": 528.0000610351563, "width": 119.0001220703125, "height": 77.0 } }, "m_Slots": [ { "m_Id": "b03eea5ed0e249d48d33e4d4036c03da" }, { "m_Id": "a8190c8abbfd4a68ae9816fc31aef56b" }, { "m_Id": "23fcd6422b774bc292d885e0fb8de7ac" }, { "m_Id": "be603a597f634764b7a747a7336931a4" }, { "m_Id": "ee79e596168c4a7592fed35695c3f8de" } ], "synonyms": [ "separate" ], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot", "m_ObjectId": "1575863e9c184ea88ef9984d2a0e88df", "m_Id": 0, "m_DisplayName": "Emission", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "Emission", "m_StageCapability": 2, "m_Value": { "x": 0.0, "y": 0.0, "z": 0.0 }, "m_DefaultValue": { "x": 0.0, "y": 0.0, "z": 0.0 }, "m_Labels": [], "m_ColorMode": 1, "m_DefaultColor": { "r": 0.0, "g": 0.0, "b": 0.0, "a": 1.0 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.StickyNoteData", "m_ObjectId": "19629ff1fa2543acaad5db6586648e54", "m_Title": "", "m_Content": "Unwanted yellow where the gradient is negative one. This is the opposite color from our blue value.", "m_TextSize": 0, "m_Theme": 0, "m_Position": { "serializedVersion": "2", "x": -372.5000305175781, "y": 487.00006103515627, "width": 200.00001525878907, "height": 100.0 }, "m_Group": { "m_Id": "918064f3c879489ab4ea041d948e46e8" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", "m_ObjectId": "1c2454b6b1af4aa995c51d7be9eb26ea", "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.DynamicVectorMaterialSlot", "m_ObjectId": "1c86d1f0afcf4ec4a25c27aaa6b7613b", "m_Id": 1, "m_DisplayName": "B", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "B", "m_StageCapability": 3, "m_Value": { "x": 1.0, "y": 1.0, "z": 1.0, "w": 1.0 }, "m_DefaultValue": { "x": 0.0, "y": 0.0, "z": 0.0, "w": 0.0 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.LerpNode", "m_ObjectId": "1d697787dbb74aaeb8f1756a6fc0857b", "m_Group": { "m_Id": "918064f3c879489ab4ea041d948e46e8" }, "m_Name": "Lerp", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -592.4999389648438, "y": 633.0000610351563, "width": 207.99996948242188, "height": 326.0 } }, "m_Slots": [ { "m_Id": "4c5a16480bd94041a4b1afb4f735b125" }, { "m_Id": "1c86d1f0afcf4ec4a25c27aaa6b7613b" }, { "m_Id": "f0226780ccea41e3bf2fd217f9a2eeea" }, { "m_Id": "07640b48dfbd40b9b92f1ff15717c93d" } ], "synonyms": [ "mix", "blend", "linear interpolate" ], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", "m_ObjectId": "1ee9e2a5fee043f78be5f69823b2cdc9", "m_Id": 2, "m_DisplayName": "T", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "T", "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.HDUnlitData", "m_ObjectId": "2301b374432a4dd781b97179f6acc5c2", "m_EnableShadowMatte": false, "m_DistortionOnly": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "23fcd6422b774bc292d885e0fb8de7ac", "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.StickyNoteData", "m_ObjectId": "333d173186e64b1599542d479d8c02e5", "m_Title": "", "m_Content": "Green in the middle where the gradient is zero.", "m_TextSize": 0, "m_Theme": 0, "m_Position": { "serializedVersion": "2", "x": -373.0000305175781, "y": 386.5000305175781, "width": 200.00001525878907, "height": 100.00003051757813 }, "m_Group": { "m_Id": "918064f3c879489ab4ea041d948e46e8" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.BlockNode", "m_ObjectId": "33c9aec84b5f4d3ebedb54a3d2c72b9f", "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": "ab10a67c3be54d4eb0dedd072fc2a5ad" } ], "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": "3c898badb6bd43e98ca0ebc4f3f4adcd", "m_Id": 0, "m_DisplayName": "In", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "In", "m_StageCapability": 3, "m_Value": { "x": 0.0, "y": 0.0, "z": 0.0, "w": 0.0 }, "m_DefaultValue": { "x": 0.0, "y": 0.0, "z": 0.0, "w": 0.0 } } { "m_SGVersion": 2, "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalUnlitSubTarget", "m_ObjectId": "3e437a6c739242e0aaab7dc00c5d3af9" } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", "m_ObjectId": "4176bd0b52c44b05b365b2ac9c110f17", "m_Id": 1, "m_DisplayName": "Out", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "Out", "m_StageCapability": 3, "m_Value": { "x": 0.0, "y": 0.0, "z": 0.0, "w": 0.0 }, "m_DefaultValue": { "x": 0.0, "y": 0.0, "z": 0.0, "w": 0.0 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.StickyNoteData", "m_ObjectId": "4373cd9500724baeb2c540c189fccd13", "m_Title": "", "m_Content": "Now we get the result we want.", "m_TextSize": 0, "m_Theme": 0, "m_Position": { "serializedVersion": "2", "x": -586.0000610351563, "y": 969.5000610351563, "width": 200.00003051757813, "height": 100.00006103515625 }, "m_Group": { "m_Id": "918064f3c879489ab4ea041d948e46e8" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot", "m_ObjectId": "49064a47674743c793c794f23e22377e", "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.DynamicVectorMaterialSlot", "m_ObjectId": "49eae240825a439c811e4e4e4ea23647", "m_Id": 1, "m_DisplayName": "B", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "B", "m_StageCapability": 3, "m_Value": { "x": 1.0, "y": 1.0, "z": 1.0, "w": 1.0 }, "m_DefaultValue": { "x": 0.0, "y": 0.0, "z": 0.0, "w": 0.0 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", "m_ObjectId": "4b4ea79962fa4116af4a7feda5b9a62b", "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.DynamicVectorMaterialSlot", "m_ObjectId": "4c5a16480bd94041a4b1afb4f735b125", "m_Id": 0, "m_DisplayName": "A", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "A", "m_StageCapability": 3, "m_Value": { "x": 0.0, "y": 0.0, "z": 0.0, "w": 0.0 }, "m_DefaultValue": { "x": 0.0, "y": 0.0, "z": 0.0, "w": 0.0 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.TangentMaterialSlot", "m_ObjectId": "4e3d294770984976a7a8f31479dffda7", "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.CategoryData", "m_ObjectId": "4f67cdf401db467da384fb2cea40f5ab", "m_Name": "", "m_ChildObjectList": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.StickyNoteData", "m_ObjectId": "54dda7b327e146038e51a9febeeb49e5", "m_Title": "", "m_Content": "The saturate node limits our range to zero to one, so the unwanted negative values are all just zero now.", "m_TextSize": 0, "m_Theme": 0, "m_Position": { "serializedVersion": "2", "x": -832.0000610351563, "y": 969.5000610351563, "width": 200.0, "height": 106.00006103515625 }, "m_Group": { "m_Id": "918064f3c879489ab4ea041d948e46e8" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot", "m_ObjectId": "5f421b59e322452dbde5915e7a51e562", "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.Rendering.HighDefinition.ShaderGraph.BuiltinData", "m_ObjectId": "611cdadcde3b4d1783e099beacd59115", "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.DynamicVectorMaterialSlot", "m_ObjectId": "660911ceae12448ca1762448afac8c60", "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.BlockNode", "m_ObjectId": "66b460aa1db9464a81df3c7a6ee353ee", "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": "1575863e9c184ea88ef9984d2a0e88df" } ], "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.StickyNoteData", "m_ObjectId": "67107d84181d44a99a6ad39be62315ed", "m_Title": "", "m_Content": "Blue where the gradient is one.", "m_TextSize": 0, "m_Theme": 0, "m_Position": { "serializedVersion": "2", "x": -373.5000305175781, "y": 282.5000305175781, "width": 200.00001525878907, "height": 100.0 }, "m_Group": { "m_Id": "918064f3c879489ab4ea041d948e46e8" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.BlockNode", "m_ObjectId": "6c2e9165c842437d9930cff53cbe2370", "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": "4e3d294770984976a7a8f31479dffda7" } ], "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.StickyNoteData", "m_ObjectId": "713f063e312f4d4d8f5947da254d7284", "m_Title": "Saturate Node", "m_Content": "The Saturate Node limits the range of the input to the zero to one range. It's similar to the Clamp node, but it only clamps between zero and one.\n\nUnlike the Clamp node, this operation can usually be performed with no performance cost on the graphics hardware.", "m_TextSize": 0, "m_Theme": 0, "m_Position": { "serializedVersion": "2", "x": -771.5000610351563, "y": -116.00001525878906, "width": 243.0, "height": 148.00001525878907 }, "m_Group": { "m_Id": "" } } { "m_SGVersion": 1, "m_Type": "UnityEditor.ShaderGraph.ColorNode", "m_ObjectId": "72904f50af0049d19489c4f7b8054636", "m_Group": { "m_Id": "918064f3c879489ab4ea041d948e46e8" }, "m_Name": "Color", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -1173.0, "y": 351.0000305175781, "width": 208.0, "height": 125.0 } }, "m_Slots": [ { "m_Id": "fafedafec76e4159a691607f8d5cd83a" } ], "synonyms": [ "rgba" ], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_Color": { "color": { "r": 0.24705882370471955, "g": 0.8117647171020508, "b": 0.6520833969116211, "a": 0.0 }, "mode": 0 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.BlockNode", "m_ObjectId": "8ff629bb54004b05b165cbde64d5f853", "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": "d31bb53c146b4c2c89b271ed3d423d3b" } ], "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.StickyNoteData", "m_ObjectId": "90969903415c4ad6b9a8de6ebb51f23b", "m_Title": "", "m_Content": "The range of the components of the Normal Vector node are between -1 and 1, so the black area at the bottom of the preview sphere contains negative values.", "m_TextSize": 0, "m_Theme": 0, "m_Position": { "serializedVersion": "2", "x": -1164.0001220703125, "y": 812.0000610351563, "width": 200.00006103515626, "height": 106.0 }, "m_Group": { "m_Id": "918064f3c879489ab4ea041d948e46e8" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.GroupData", "m_ObjectId": "918064f3c879489ab4ea041d948e46e8", "m_Title": "Saturate before Lerp to ensure predictable results", "m_Position": { "x": -1525.0001220703125, "y": 69.99998474121094 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.LerpNode", "m_ObjectId": "951ac0845893494493ae18205d80ce86", "m_Group": { "m_Id": "918064f3c879489ab4ea041d948e46e8" }, "m_Name": "Lerp", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -592.4999389648438, "y": 232.00001525878907, "width": 207.99996948242188, "height": 326.00006103515627 } }, "m_Slots": [ { "m_Id": "0327780910df4efe993613892d8365f8" }, { "m_Id": "49eae240825a439c811e4e4e4ea23647" }, { "m_Id": "1ee9e2a5fee043f78be5f69823b2cdc9" }, { "m_Id": "d5edd53c227c4acaafe6775d9ad3350b" } ], "synonyms": [ "mix", "blend", "linear interpolate" ], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] } } { "m_SGVersion": 0, "m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.SystemData", "m_ObjectId": "959cc63b675043a09dd8c0ac9456a9ad", "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.DynamicVectorMaterialSlot", "m_ObjectId": "98ad8d3aa8cd4f5aa038635a9a66876f", "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": "997ccff77eb747b29aeec36b07a1365a", "m_Title": "", "m_Content": "Not the result we want", "m_TextSize": 0, "m_Theme": 0, "m_Position": { "serializedVersion": "2", "x": -590.5000610351563, "y": 128.50001525878907, "width": 199.50003051757813, "height": 100.00001525878906 }, "m_Group": { "m_Id": "918064f3c879489ab4ea041d948e46e8" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.PreviewNode", "m_ObjectId": "a15bb836135e408880ffe51cf9dcd496", "m_Group": { "m_Id": "918064f3c879489ab4ea041d948e46e8" }, "m_Name": "Preview", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -1173.0, "y": 528.0000610351563, "width": 208.0, "height": 278.00006103515627 } }, "m_Slots": [ { "m_Id": "4b4ea79962fa4116af4a7feda5b9a62b" }, { "m_Id": "4176bd0b52c44b05b365b2ac9c110f17" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_Width": 208.0, "m_Height": 208.0 } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot", "m_ObjectId": "a3ee94c8f7564f709de3730874f13887", "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.Vector3MaterialSlot", "m_ObjectId": "a4a133f9665745c09007761fa64bec83", "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": 1.0 }, "m_DefaultValue": { "x": 0.0, "y": 0.0, "z": 1.0 }, "m_Labels": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "a8190c8abbfd4a68ae9816fc31aef56b", "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": "ab10a67c3be54d4eb0dedd072fc2a5ad", "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.StickyNoteData", "m_ObjectId": "ae575759e5df4a05874e5d51efea9940", "m_Title": "", "m_Content": "Blue where the gradient is one.", "m_TextSize": 0, "m_Theme": 0, "m_Position": { "serializedVersion": "2", "x": -373.5000305175781, "y": 735.0000610351563, "width": 200.00001525878907, "height": 100.0 }, "m_Group": { "m_Id": "918064f3c879489ab4ea041d948e46e8" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", "m_ObjectId": "b03eea5ed0e249d48d33e4d4036c03da", "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.HDUnlitSubTarget", "m_ObjectId": "b2c53dc1258d4c399b915eeb11493387" } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "be603a597f634764b7a747a7336931a4", "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.BlockNode", "m_ObjectId": "bf72d92645c5476bb81c948cc1b23c8f", "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": "5f421b59e322452dbde5915e7a51e562" } ], "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.SaturateNode", "m_ObjectId": "c88348af2f754d5f938fcd0b217af60f", "m_Group": { "m_Id": "" }, "m_Name": "Saturate", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -931.5000610351563, "y": -88.0, "width": 127.5001220703125, "height": 93.99998474121094 } }, "m_Slots": [ { "m_Id": "3c898badb6bd43e98ca0ebc4f3f4adcd" }, { "m_Id": "660911ceae12448ca1762448afac8c60" } ], "synonyms": [ "clamp" ], "m_Precision": 0, "m_PreviewExpanded": false, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] } } { "m_SGVersion": 2, "m_Type": "UnityEditor.Rendering.BuiltIn.ShaderGraph.BuiltInTarget", "m_ObjectId": "c98a64349fe5474a8c93e1bd013477d1", "m_Datas": [], "m_ActiveSubTarget": { "m_Id": "e705ca0ec0f943f0ab320086f0685921" }, "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.NormalVectorNode", "m_ObjectId": "cb31bc768def4194a882f3ec2ea002b5", "m_Group": { "m_Id": "918064f3c879489ab4ea041d948e46e8" }, "m_Name": "Normal Vector", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -1498.0, "y": 528.0, "width": 206.0, "height": 130.5 } }, "m_Slots": [ { "m_Id": "a4a133f9665745c09007761fa64bec83" } ], "synonyms": [ "surface direction" ], "m_Precision": 0, "m_PreviewExpanded": false, "m_DismissedVersion": 0, "m_PreviewMode": 2, "m_CustomColors": { "m_SerializableColors": [] }, "m_Space": 2 } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.PositionMaterialSlot", "m_ObjectId": "d31bb53c146b4c2c89b271ed3d423d3b", "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.StickyNoteData", "m_ObjectId": "d328f88f888e49469a3bc03d66c27317", "m_Title": "", "m_Content": "Green where the gradient is zero.", "m_TextSize": 0, "m_Theme": 0, "m_Position": { "serializedVersion": "2", "x": -372.0000305175781, "y": 840.0000610351563, "width": 200.00001525878907, "height": 100.0 }, "m_Group": { "m_Id": "918064f3c879489ab4ea041d948e46e8" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", "m_ObjectId": "d5edd53c227c4acaafe6775d9ad3350b", "m_Id": 3, "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.Rendering.HighDefinition.ShaderGraph.HDTarget", "m_ObjectId": "d77cd43f40fe48a784f2a99594340196", "m_ActiveSubTarget": { "m_Id": "b2c53dc1258d4c399b915eeb11493387" }, "m_Datas": [ { "m_Id": "611cdadcde3b4d1783e099beacd59115" }, { "m_Id": "959cc63b675043a09dd8c0ac9456a9ad" }, { "m_Id": "2301b374432a4dd781b97179f6acc5c2" } ], "m_CustomEditorGUI": "", "m_SupportVFX": false, "m_SupportLineRendering": false } { "m_SGVersion": 1, "m_Type": "UnityEditor.ShaderGraph.ColorNode", "m_ObjectId": "dd5223f7ac104e64beba3c0782cf9572", "m_Group": { "m_Id": "918064f3c879489ab4ea041d948e46e8" }, "m_Name": "Color", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -1173.0, "y": 226.00003051757813, "width": 208.0, "height": 125.0 } }, "m_Slots": [ { "m_Id": "49064a47674743c793c794f23e22377e" } ], "synonyms": [ "rgba" ], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_Color": { "color": { "r": 0.5880634188652039, "g": 0.8117647171020508, "b": 0.24705882370471955, "a": 0.0 }, "mode": 0 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.Rendering.BuiltIn.ShaderGraph.BuiltInUnlitSubTarget", "m_ObjectId": "e705ca0ec0f943f0ab320086f0685921" } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "ee79e596168c4a7592fed35695c3f8de", "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.DynamicVectorMaterialSlot", "m_ObjectId": "f0226780ccea41e3bf2fd217f9a2eeea", "m_Id": 2, "m_DisplayName": "T", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "T", "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.SaturateNode", "m_ObjectId": "f2ccd976097a46f68dd1a29113953050", "m_Group": { "m_Id": "918064f3c879489ab4ea041d948e46e8" }, "m_Name": "Saturate", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -832.5000610351563, "y": 681.0001220703125, "width": 208.0, "height": 277.99993896484377 } }, "m_Slots": [ { "m_Id": "98ad8d3aa8cd4f5aa038635a9a66876f" }, { "m_Id": "1c2454b6b1af4aa995c51d7be9eb26ea" } ], "synonyms": [ "clamp" ], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.BlockNode", "m_ObjectId": "f9f05bcabdff4e54996999946ac8164f", "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": "a3ee94c8f7564f709de3730874f13887" } ], "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.Vector4MaterialSlot", "m_ObjectId": "fafedafec76e4159a691607f8d5cd83a", "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": [] }