{ "m_SGVersion": 3, "m_Type": "UnityEditor.ShaderGraph.GraphData", "m_ObjectId": "6ede961201ec4e039938d90323345d3a", "m_Properties": [], "m_Keywords": [], "m_Dropdowns": [], "m_CategoryData": [ { "m_Id": "5090fb8e6f754c109fea9d0dd88f5cc7" } ], "m_Nodes": [ { "m_Id": "7bf1166be7484e618d1655ab47cc168b" }, { "m_Id": "46d8a6e8124446e08f11ca6e0b9ed890" }, { "m_Id": "409b2b8a091d48d693c5d89cb4559fc5" }, { "m_Id": "0b8b05b8ca914d99b7c2aa4472897680" }, { "m_Id": "7b376931c64f4a92b0449f05e3e5d1d4" }, { "m_Id": "cbddd487454e49788cb3d119498dafd1" }, { "m_Id": "8e9e4a47bfb54f3c9a91a8068ba31bde" }, { "m_Id": "410660cb18cf403d801ad9a36884937d" }, { "m_Id": "866e8721665647028258218cf8168271" }, { "m_Id": "03989c994fd54d23a3ea863932c0f145" }, { "m_Id": "7ffa0a34c89840b897b9ed9ad5773797" }, { "m_Id": "99d8a15ec91744c3a69805bc3be3d4df" }, { "m_Id": "d76c45512a9b48aca250bb4ebbbd8aef" }, { "m_Id": "cc6264bba642465bbf1a3cc6d2059738" }, { "m_Id": "a0cd74d6fe61452fa1a72093bbc050d3" }, { "m_Id": "d3d1c5f6c6fb4826876c7643db1bf7e9" }, { "m_Id": "fbcd31f799f446459eb6e4427e6dd5b1" }, { "m_Id": "89d56a2f38124a56b9ef778824c610ec" }, { "m_Id": "643cc3d3f0544d9d8cf1fef5742d4c93" }, { "m_Id": "bcc261bee5bd4d7180f8984d4ab9c52e" }, { "m_Id": "dce8a6099a7243e48d878215d429b0ef" }, { "m_Id": "950c1f682d044de7895cef5db917a787" }, { "m_Id": "516817136f5b427eb1b684c1f4eeae76" }, { "m_Id": "cb1e49334a344b4ab4a0f8f1dc4a4cf5" }, { "m_Id": "770782c726d64429b5b4d2c1a5e1d912" }, { "m_Id": "8103ffdc531c40c1964c4712ea2b6f00" }, { "m_Id": "45eeae7aab4d4c499805960f568e95fc" }, { "m_Id": "e853b9e06a5e42c0bc752d6d77a80408" }, { "m_Id": "f45b51da2803449c83859952e28e4b85" }, { "m_Id": "8dbc4d96191f4d03a1f3765d98729bb2" }, { "m_Id": "3a4010eed5544bde9b3d9d4e824c5415" }, { "m_Id": "b9450bb77d1a4e1f9db31b3c546072ed" }, { "m_Id": "3e71080c9bc34bc6ab87ba7d67b7869a" }, { "m_Id": "1f05f16528be403ea2335093d53b3ea2" }, { "m_Id": "a3bb0e41fac940948839fcbacdb233d2" }, { "m_Id": "3f5900b6dbad4f10a972758d7676197f" }, { "m_Id": "e34776ba035e444581dda83ed9f6150a" } ], "m_GroupDatas": [ { "m_Id": "587f4a8a5290432a99a318c534102216" }, { "m_Id": "06668ed6c3894e69ba26c62e92cba30b" }, { "m_Id": "0917fa34a2534125a5502fdaf5d26666" }, { "m_Id": "395e687c1c3844b5928a6c0f9b0db35d" }, { "m_Id": "fb7001c484e442778b74cc94d1d09c4e" }, { "m_Id": "72636737d68045df848d96f5349455ec" }, { "m_Id": "a336489e22914f4a9470f05854e32387" }, { "m_Id": "3215710ee5574d53b4f5115b4fa2ca3b" }, { "m_Id": "45d837fe36d5481d96d2af7ed2d45e80" } ], "m_StickyNoteDatas": [ { "m_Id": "a969794fd7694e05b735f5d87a7c5368" }, { "m_Id": "247130bf3875444f81b20436820239fd" }, { "m_Id": "a9d5d744fb7b4a7e9ab4f9bfa0cdc1a7" }, { "m_Id": "757c17bba5e44b679138da67f0388ca8" }, { "m_Id": "28e6b95fce0143b59bf91030eede55e9" }, { "m_Id": "dfb68d35b2db4a95873ed16d388b2e30" }, { "m_Id": "401ff46c9a1641aea7a99cbd40d6e205" }, { "m_Id": "82547848cbc445c597d67f716f175fe4" }, { "m_Id": "8fe8c3aac55d450ca3c8d3e6bc7c46bc" }, { "m_Id": "f6737123fbeb437b97d2046900252fe0" }, { "m_Id": "f10027bf57de454cb3fb662a899d58b1" } ], "m_Edges": [ { "m_OutputSlot": { "m_Node": { "m_Id": "03989c994fd54d23a3ea863932c0f145" }, "m_SlotId": 0 }, "m_InputSlot": { "m_Node": { "m_Id": "866e8721665647028258218cf8168271" }, "m_SlotId": 1 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "3a4010eed5544bde9b3d9d4e824c5415" }, "m_SlotId": 2 }, "m_InputSlot": { "m_Node": { "m_Id": "f45b51da2803449c83859952e28e4b85" }, "m_SlotId": 1 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "3e71080c9bc34bc6ab87ba7d67b7869a" }, "m_SlotId": 1 }, "m_InputSlot": { "m_Node": { "m_Id": "1f05f16528be403ea2335093d53b3ea2" }, "m_SlotId": 0 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "410660cb18cf403d801ad9a36884937d" }, "m_SlotId": 0 }, "m_InputSlot": { "m_Node": { "m_Id": "7ffa0a34c89840b897b9ed9ad5773797" }, "m_SlotId": 0 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "45eeae7aab4d4c499805960f568e95fc" }, "m_SlotId": 2 }, "m_InputSlot": { "m_Node": { "m_Id": "8103ffdc531c40c1964c4712ea2b6f00" }, "m_SlotId": 1 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "643cc3d3f0544d9d8cf1fef5742d4c93" }, "m_SlotId": 0 }, "m_InputSlot": { "m_Node": { "m_Id": "45eeae7aab4d4c499805960f568e95fc" }, "m_SlotId": 4 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "7b376931c64f4a92b0449f05e3e5d1d4" }, "m_SlotId": 0 }, "m_InputSlot": { "m_Node": { "m_Id": "cbddd487454e49788cb3d119498dafd1" }, "m_SlotId": 0 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "7ffa0a34c89840b897b9ed9ad5773797" }, "m_SlotId": 2 }, "m_InputSlot": { "m_Node": { "m_Id": "866e8721665647028258218cf8168271" }, "m_SlotId": 0 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "8103ffdc531c40c1964c4712ea2b6f00" }, "m_SlotId": 0 }, "m_InputSlot": { "m_Node": { "m_Id": "0b8b05b8ca914d99b7c2aa4472897680" }, "m_SlotId": 0 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "8103ffdc531c40c1964c4712ea2b6f00" }, "m_SlotId": 6 }, "m_InputSlot": { "m_Node": { "m_Id": "cc6264bba642465bbf1a3cc6d2059738" }, "m_SlotId": 0 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "8103ffdc531c40c1964c4712ea2b6f00" }, "m_SlotId": 6 }, "m_InputSlot": { "m_Node": { "m_Id": "e853b9e06a5e42c0bc752d6d77a80408" }, "m_SlotId": 1 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "866e8721665647028258218cf8168271" }, "m_SlotId": 2 }, "m_InputSlot": { "m_Node": { "m_Id": "8e9e4a47bfb54f3c9a91a8068ba31bde" }, "m_SlotId": 0 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "8dbc4d96191f4d03a1f3765d98729bb2" }, "m_SlotId": 4 }, "m_InputSlot": { "m_Node": { "m_Id": "3a4010eed5544bde9b3d9d4e824c5415" }, "m_SlotId": 1 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "8e9e4a47bfb54f3c9a91a8068ba31bde" }, "m_SlotId": 2 }, "m_InputSlot": { "m_Node": { "m_Id": "cbddd487454e49788cb3d119498dafd1" }, "m_SlotId": 1 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "99d8a15ec91744c3a69805bc3be3d4df" }, "m_SlotId": 0 }, "m_InputSlot": { "m_Node": { "m_Id": "7ffa0a34c89840b897b9ed9ad5773797" }, "m_SlotId": 1 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "a0cd74d6fe61452fa1a72093bbc050d3" }, "m_SlotId": 1 }, "m_InputSlot": { "m_Node": { "m_Id": "3a4010eed5544bde9b3d9d4e824c5415" }, "m_SlotId": 3 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "b9450bb77d1a4e1f9db31b3c546072ed" }, "m_SlotId": 0 }, "m_InputSlot": { "m_Node": { "m_Id": "a3bb0e41fac940948839fcbacdb233d2" }, "m_SlotId": 0 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "b9450bb77d1a4e1f9db31b3c546072ed" }, "m_SlotId": 2 }, "m_InputSlot": { "m_Node": { "m_Id": "3f5900b6dbad4f10a972758d7676197f" }, "m_SlotId": 0 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "cbddd487454e49788cb3d119498dafd1" }, "m_SlotId": 2 }, "m_InputSlot": { "m_Node": { "m_Id": "a0cd74d6fe61452fa1a72093bbc050d3" }, "m_SlotId": 0 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "d76c45512a9b48aca250bb4ebbbd8aef" }, "m_SlotId": 0 }, "m_InputSlot": { "m_Node": { "m_Id": "8e9e4a47bfb54f3c9a91a8068ba31bde" }, "m_SlotId": 1 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "f45b51da2803449c83859952e28e4b85" }, "m_SlotId": 2 }, "m_InputSlot": { "m_Node": { "m_Id": "7bf1166be7484e618d1655ab47cc168b" }, "m_SlotId": 0 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "f45b51da2803449c83859952e28e4b85" }, "m_SlotId": 3 }, "m_InputSlot": { "m_Node": { "m_Id": "46d8a6e8124446e08f11ca6e0b9ed890" }, "m_SlotId": 0 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "f45b51da2803449c83859952e28e4b85" }, "m_SlotId": 4 }, "m_InputSlot": { "m_Node": { "m_Id": "409b2b8a091d48d693c5d89cb4559fc5" }, "m_SlotId": 0 } } ], "m_VertexContext": { "m_Position": { "x": -1486.000244140625, "y": 782.0001220703125 }, "m_Blocks": [ { "m_Id": "7bf1166be7484e618d1655ab47cc168b" }, { "m_Id": "46d8a6e8124446e08f11ca6e0b9ed890" }, { "m_Id": "409b2b8a091d48d693c5d89cb4559fc5" } ] }, "m_FragmentContext": { "m_Position": { "x": -1485.9998779296875, "y": 1486.9998779296875 }, "m_Blocks": [ { "m_Id": "0b8b05b8ca914d99b7c2aa4472897680" }, { "m_Id": "cc6264bba642465bbf1a3cc6d2059738" } ] }, "m_PreviewData": { "serializedMesh": { "m_SerializedMesh": "{\"mesh\":{\"fileID\":10200,\"guid\":\"0000000000000000e000000000000000\",\"type\":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": "5468ac27d6574da593d00428fddce641" }, { "m_Id": "c14afcd87ebe46a8a770ba66c3b40cde" }, { "m_Id": "54bb74188f1b4f1ebf5c6024d74e7325" } ] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.ColorRGBAMaterialSlot", "m_ObjectId": "0345bc9038b0476ca3b0188b617e26b9", "m_Id": 3, "m_DisplayName": "color", "m_SlotType": 0, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "color", "m_StageCapability": 3, "m_CustomBinding": "", "m_Value": { "x": 0.5471698045730591, "y": 0.29165181517601013, "z": 0.29165181517601013, "w": 1.0 }, "m_DefaultValue": { "x": 1.0, "y": 1.0, "z": 1.0, "w": 1.0 }, "m_Labels": [] } { "m_SGVersion": 1, "m_Type": "UnityEditor.ShaderGraph.PositionNode", "m_ObjectId": "03989c994fd54d23a3ea863932c0f145", "m_Group": { "m_Id": "06668ed6c3894e69ba26c62e92cba30b" }, "m_Name": "Position", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -3204.999755859375, "y": 1075.9998779296875, "width": 206.0, "height": 130.0 } }, "m_Slots": [ { "m_Id": "1ff6002362f5489d8e6a455aa426d605" } ], "synonyms": [ "location" ], "m_Precision": 1, "m_PreviewExpanded": false, "m_DismissedVersion": 0, "m_PreviewMode": 2, "m_CustomColors": { "m_SerializableColors": [] }, "m_Space": 2, "m_PositionSource": 0 } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot", "m_ObjectId": "042ff503b62843ca9b9f64445fbde212", "m_Id": 0, "m_DisplayName": "A", "m_SlotType": 0, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "A", "m_StageCapability": 3, "m_CustomBinding": "", "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.Vector4MaterialSlot", "m_ObjectId": "063e347714ad42d0b4b6f5d2bcbaa2ce", "m_Id": 0, "m_DisplayName": "Out", "m_SlotType": 1, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "Out", "m_StageCapability": 3, "m_CustomBinding": "", "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.GroupData", "m_ObjectId": "06668ed6c3894e69ba26c62e92cba30b", "m_Title": "Using Structs", "m_Position": { "x": -3462.0, "y": 723.0 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "07b44f630450449da7b55e4e262a5835", "m_Id": 2, "m_DisplayName": "Cosine Time", "m_SlotType": 1, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "Cosine Time", "m_StageCapability": 3, "m_CustomBinding": "", "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [], "m_LiteralMode": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot", "m_ObjectId": "08593919df534513b51507fb21a0abea", "m_Id": 2, "m_DisplayName": "uv", "m_SlotType": 1, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "uv", "m_StageCapability": 3, "m_CustomBinding": "", "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.BooleanMaterialSlot", "m_ObjectId": "08886ae2b3134582829ec420b2125b74", "m_Id": 3, "m_DisplayName": "animated", "m_SlotType": 0, "m_Hidden": false, "m_HideConnector": true, "m_ShaderOutputName": "animated", "m_StageCapability": 3, "m_CustomBinding": "", "m_Value": false, "m_DefaultValue": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.GroupData", "m_ObjectId": "0917fa34a2534125a5502fdaf5d26666", "m_Title": "Dynamic Vectors", "m_Position": { "x": -4079.0, "y": 91.0 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.BlockNode", "m_ObjectId": "0b8b05b8ca914d99b7c2aa4472897680", "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": "12f2c2097ee14c7ba3ea5cd3570e9d26" } ], "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.ProviderSystem.ExternalMaterialSlot", "m_ObjectId": "0c7d3b07884846638acc1879bf4bb0e3", "m_Id": 1, "m_DisplayName": "Vertex Data", "m_SlotType": 0, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "vertex", "m_StageCapability": 3, "m_CustomBinding": "", "m_typeName": "ShaderFunctionReflectionStructExample::VertexData", "m_rawDefaultValueString": "0" } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot", "m_ObjectId": "107c85e296314b3daf89bcca3e90f884", "m_Id": 1, "m_DisplayName": "color", "m_SlotType": 0, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "color", "m_StageCapability": 3, "m_CustomBinding": "", "m_Value": { "x": 0.30588236451148987, "y": 0.7176470756530762, "z": 1.0 }, "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.ColorRGBMaterialSlot", "m_ObjectId": "12f2c2097ee14c7ba3ea5cd3570e9d26", "m_Id": 0, "m_DisplayName": "Base Color", "m_SlotType": 0, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "BaseColor", "m_StageCapability": 2, "m_CustomBinding": "", "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": "12fa3e39ff814c4ab115664fd00aea40", "m_Id": 5, "m_DisplayName": "Z Buffer Sign", "m_SlotType": 1, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "Z Buffer Sign", "m_StageCapability": 3, "m_CustomBinding": "", "m_Value": 1.0, "m_DefaultValue": 1.0, "m_Labels": [], "m_LiteralMode": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.Rendering.BuiltIn.ShaderGraph.BuiltInUnlitSubTarget", "m_ObjectId": "14a5c917c8ca4236a2338d2e39a7ae3d" } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "14d5d8e93e484aea851e9ef4890a46e7", "m_Id": 1, "m_DisplayName": "X", "m_SlotType": 0, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "X", "m_StageCapability": 3, "m_CustomBinding": "", "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [], "m_LiteralMode": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "1506e6162ae44a9ebd92c55e409dbfe6", "m_Id": 1, "m_DisplayName": "Sine Time", "m_SlotType": 1, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "Sine Time", "m_StageCapability": 3, "m_CustomBinding": "", "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [], "m_LiteralMode": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "195ab6ab771341b4bc0e6b3cba2be2b3", "m_Id": 3, "m_DisplayName": "Near Plane", "m_SlotType": 1, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "Near Plane", "m_StageCapability": 3, "m_CustomBinding": "", "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [], "m_LiteralMode": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.RedirectNodeData", "m_ObjectId": "1f05f16528be403ea2335093d53b3ea2", "m_Group": { "m_Id": "72636737d68045df848d96f5349455ec" }, "m_Name": "Redirect Node", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -2781.0, "y": 243.0, "width": 56.0, "height": 24.0 } }, "m_Slots": [ { "m_Id": "9f0d45be4873482fa18f2c4cdb9b7359" }, { "m_Id": "8b0492e3d54e4a0fa6e486b7077e0e28" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": false, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", "m_ObjectId": "1ff6002362f5489d8e6a455aa426d605", "m_Id": 0, "m_DisplayName": "Out", "m_SlotType": 1, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "Out", "m_StageCapability": 3, "m_CustomBinding": "", "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.Vector1MaterialSlot", "m_ObjectId": "214e0b8cec0746cfae4f8b1a5951d793", "m_Id": 4, "m_DisplayName": "Smooth Delta", "m_SlotType": 1, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "Smooth Delta", "m_StageCapability": 3, "m_CustomBinding": "", "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [], "m_LiteralMode": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot", "m_ObjectId": "233042094a01446bb75f367bf5b09495", "m_Id": 5, "m_DisplayName": "center", "m_SlotType": 0, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "center", "m_StageCapability": 3, "m_CustomBinding": "", "m_Value": { "x": 0.5, "y": 0.5 }, "m_DefaultValue": { "x": 0.5, "y": 0.5 }, "m_Labels": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "23d145713d9048c68b350d904fa6452a", "m_Id": 4, "m_DisplayName": "Smooth Delta", "m_SlotType": 1, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "Smooth Delta", "m_StageCapability": 3, "m_CustomBinding": "", "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [], "m_LiteralMode": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.StickyNoteData", "m_ObjectId": "247130bf3875444f81b20436820239fd", "m_Title": "", "m_Content": "In this basic example, we're multiplying the 'inout' color parameter by a multiplier parameter.\n\nReflected Functions can use a return type, out or inout parameters to feature an Output Port.\n\nThe multiplier shows as a slider with no input port by using the hint.", "m_TextSize": 0, "m_Theme": 0, "m_Position": { "serializedVersion": "2", "x": -4417.0, "y": 475.0, "width": 200.0, "height": 199.0 }, "m_Group": { "m_Id": "587f4a8a5290432a99a318c534102216" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", "m_ObjectId": "289df4b795604ab7b97bc654a55c42a3", "m_Id": 0, "m_DisplayName": "Position", "m_SlotType": 1, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "Position", "m_StageCapability": 3, "m_CustomBinding": "", "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.ProviderSystem.ExternalMaterialSlot", "m_ObjectId": "28e5c14972d4439a9b04650651933ad4", "m_Id": 1, "m_DisplayName": "Vertex Data", "m_SlotType": 0, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "vertex", "m_StageCapability": 3, "m_CustomBinding": "", "m_typeName": "ShaderFunctionReflectionStructExample::VertexData", "m_rawDefaultValueString": "0" } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.StickyNoteData", "m_ObjectId": "28e6b95fce0143b59bf91030eede55e9", "m_Title": "", "m_Content": "This function features the hint.\n\nYou can change its precision in the Node Settings. ", "m_TextSize": 0, "m_Theme": 0, "m_Position": { "serializedVersion": "2", "x": -3519.0, "y": 293.0, "width": 200.0, "height": 106.0 }, "m_Group": { "m_Id": "395e687c1c3844b5928a6c0f9b0db35d" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot", "m_ObjectId": "2a86e53b5ad648958c79ebfde23d1e16", "m_Id": 2, "m_DisplayName": "uv", "m_SlotType": 1, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "uv", "m_StageCapability": 3, "m_CustomBinding": "", "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.BooleanMaterialSlot", "m_ObjectId": "2ca7b70f63264419b565bb60f1d1e62d", "m_Id": 4, "m_DisplayName": "overrideGroundColor", "m_SlotType": 0, "m_Hidden": true, "m_HideConnector": false, "m_ShaderOutputName": "overrideGroundColor", "m_StageCapability": 3, "m_CustomBinding": "", "m_Value": false, "m_DefaultValue": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "2d17a49a3483480bbb23ea244db26a63", "m_Id": 3, "m_DisplayName": "thickness", "m_SlotType": 0, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "thickness", "m_StageCapability": 3, "m_CustomBinding": "", "m_Value": 0.009999999776482582, "m_DefaultValue": 0.009999999776482582, "m_Labels": [], "m_LiteralMode": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.UVMaterialSlot", "m_ObjectId": "2fea7068c87f4d0c894bc0e64d2c33f8", "m_Id": 0, "m_DisplayName": "UV", "m_SlotType": 0, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "UV", "m_StageCapability": 3, "m_CustomBinding": "", "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": "3192fd7038ae493d991ea487b6afc7ea", "m_Id": 2, "m_DisplayName": "Out", "m_SlotType": 1, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "Out", "m_StageCapability": 3, "m_CustomBinding": "", "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [], "m_LiteralMode": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.GroupData", "m_ObjectId": "3215710ee5574d53b4f5115b4fa2ca3b", "m_Title": "Function Examples", "m_Position": { "x": -3114.000244140625, "y": 1428.0 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "35731b4e41a54e7a994cb2857082e89c", "m_Id": 3, "m_DisplayName": "Delta Time", "m_SlotType": 1, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "Delta Time", "m_StageCapability": 3, "m_CustomBinding": "", "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [], "m_LiteralMode": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot", "m_ObjectId": "3695a57810344f91a2339471ef195f1e", "m_Id": 3, "m_DisplayName": "color", "m_SlotType": 1, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "color", "m_StageCapability": 3, "m_CustomBinding": "", "m_Value": { "x": 1.0, "y": 1.0, "z": 1.0 }, "m_DefaultValue": { "x": 1.0, "y": 1.0, "z": 1.0 }, "m_Labels": [], "m_ColorMode": 0, "m_DefaultColor": { "r": 1.0, "g": 1.0, "b": 1.0, "a": 1.0 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.VertexColorMaterialSlot", "m_ObjectId": "384d3991b2d1423291930959f1c5a0a8", "m_Id": 3, "m_DisplayName": "vc", "m_SlotType": 0, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "vc", "m_StageCapability": 3, "m_CustomBinding": "", "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.GroupData", "m_ObjectId": "395e687c1c3844b5928a6c0f9b0db35d", "m_Title": "Dual Precision", "m_Position": { "x": -3544.0, "y": 91.0 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.ProviderSystem.ProviderNode", "m_ObjectId": "3a4010eed5544bde9b3d9d4e824c5415", "m_Group": { "m_Id": "06668ed6c3894e69ba26c62e92cba30b" }, "m_Name": "Push Vertex", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -2110.999755859375, "y": 781.9998779296875, "width": 224.9998779296875, "height": 127.0001220703125 } }, "m_Slots": [ { "m_Id": "28e5c14972d4439a9b04650651933ad4" }, { "m_Id": "f1b29fa0c7934661a912fd0f9c63332b" }, { "m_Id": "a33b4a6cf3e84ca982997d1d39afcd81" } ], "synonyms": [ "Reference", "Struct" ], "m_Precision": 0, "m_PreviewExpanded": false, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_provider": { "rid": 1000 }, "references": { "version": 2, "RefIds": [ { "rid": 1000, "type": { "class": "ReflectedFunctionProvider", "ns": "UnityEditor.ShaderGraph.ProviderSystem", "asm": "Unity.ShaderGraph.Editor" }, "data": { "m_providerKey": "SG.NodeReference.Struct.PushVertex.Example", "m_sourceAssetId": "0882c87d582a0a04ba360b2e13db6129" } } ] } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "3ab7645ebbd446e99acb782375852392", "m_Id": 0, "m_DisplayName": "Alpha", "m_SlotType": 0, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "Alpha", "m_StageCapability": 2, "m_CustomBinding": "", "m_Value": 1.0, "m_DefaultValue": 1.0, "m_Labels": [], "m_LiteralMode": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.CameraNode", "m_ObjectId": "3e71080c9bc34bc6ab87ba7d67b7869a", "m_Group": { "m_Id": "72636737d68045df848d96f5349455ec" }, "m_Name": "Camera", "m_DrawState": { "m_Expanded": false, "m_Position": { "serializedVersion": "2", "x": -2913.0, "y": 251.0, "width": 102.0, "height": 77.0 } }, "m_Slots": [ { "m_Id": "289df4b795604ab7b97bc654a55c42a3" }, { "m_Id": "e00b15aa165d4c61bdb6158d63020536" }, { "m_Id": "7c00a084444f46e2bf1a188d3f4eb800" }, { "m_Id": "195ab6ab771341b4bc0e6b3cba2be2b3" }, { "m_Id": "6cf14c0ea7584308904120683f954382" }, { "m_Id": "12fa3e39ff814c4ab115664fd00aea40" }, { "m_Id": "605254ead2234370b5de5cdf849ca72b" }, { "m_Id": "f3cb5b8cb9944d71a42fcfdb33f15596" } ], "synonyms": [ "position", "direction", "orthographic", "near plane", "far plane", "width", "height" ], "m_Precision": 0, "m_PreviewExpanded": false, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot", "m_ObjectId": "3f508dc39ea847f7b900ba366badb294", "m_Id": 2, "m_DisplayName": "color", "m_SlotType": 1, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "color", "m_StageCapability": 3, "m_CustomBinding": "", "m_Value": { "x": 0.5, "y": 0.5, "z": 0.5 }, "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.RedirectNodeData", "m_ObjectId": "3f5900b6dbad4f10a972758d7676197f", "m_Group": { "m_Id": "72636737d68045df848d96f5349455ec" }, "m_Name": "Redirect Node", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -2781.0, "y": 219.0, "width": 56.0, "height": 24.0 } }, "m_Slots": [ { "m_Id": "b194855189fb474593ba5e0ec560500f" }, { "m_Id": "ab94aa41b5164dbdabf3cebcb1fec181" } ], "synonyms": [], "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": "401ff46c9a1641aea7a99cbd40d6e205", "m_Title": "", "m_Content": "For missing Varying Reference Types, the hint allows querying the input connection state.\n\nThis is similar to using BranchOnInputConnection in a Subgraph.\n\nFor instance, this allows to default to built-in variables such as unity_AmbientSky or UNITY_MATRIX_V[2].\n\nThe hint allows for labeling inputs ports of linked parameters.", "m_TextSize": 0, "m_Theme": 0, "m_Position": { "serializedVersion": "2", "x": -2906.0, "y": 346.0, "width": 348.0, "height": 169.47763061523438 }, "m_Group": { "m_Id": "72636737d68045df848d96f5349455ec" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.BlockNode", "m_ObjectId": "409b2b8a091d48d693c5d89cb4559fc5", "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": "fbb76735c8f541b790e2bd2f33a9ff16" } ], "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.TimeNode", "m_ObjectId": "410660cb18cf403d801ad9a36884937d", "m_Group": { "m_Id": "06668ed6c3894e69ba26c62e92cba30b" }, "m_Name": "Time", "m_DrawState": { "m_Expanded": false, "m_Position": { "serializedVersion": "2", "x": -3203.999755859375, "y": 958.0, "width": 79.0, "height": 76.0 } }, "m_Slots": [ { "m_Id": "ae81bf7aaa284e8b88ee60b8bb566feb" }, { "m_Id": "942b7d8c94864ce78dd6988eb0daf45a" }, { "m_Id": "f95c92c3cb1348c388a423be137bb109" }, { "m_Id": "aeceb72964e0446db41b7b120ab184d3" }, { "m_Id": "214e0b8cec0746cfae4f8b1a5951d793" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": false, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "43c1b4bd3db64142a986e5d07ad6a35b", "m_Id": 0, "m_DisplayName": "Out", "m_SlotType": 1, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "__UNITY_SHADERGRAPH_UNUSED", "m_StageCapability": 3, "m_CustomBinding": "", "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [], "m_LiteralMode": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot", "m_ObjectId": "4403773f925142888d9ccefde293c62c", "m_Id": 0, "m_DisplayName": "Normal", "m_SlotType": 0, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "Normal", "m_StageCapability": 1, "m_CustomBinding": "", "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.Rendering.HighDefinition.ShaderGraph.HDUnlitData", "m_ObjectId": "44f2536efb364e8db6fafa129c0747bc", "m_EnableShadowMatte": false, "m_DistortionOnly": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.GroupData", "m_ObjectId": "45d837fe36d5481d96d2af7ed2d45e80", "m_Title": "Texture", "m_Position": { "x": -1821.0001220703125, "y": 91.0 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.ProviderSystem.ProviderNode", "m_ObjectId": "45eeae7aab4d4c499805960f568e95fc", "m_Group": { "m_Id": "3215710ee5574d53b4f5115b4fa2ca3b" }, "m_Name": "UV Swirl", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -2865.999755859375, "y": 1491.0, "width": 207.999755859375, "height": 376.999755859375 } }, "m_Slots": [ { "m_Id": "73043648200344ce89d5e5a8ceb801ba" }, { "m_Id": "08593919df534513b51507fb21a0abea" }, { "m_Id": "08886ae2b3134582829ec420b2125b74" }, { "m_Id": "8815eb2014e64e75866636c361aee390" }, { "m_Id": "233042094a01446bb75f367bf5b09495" }, { "m_Id": "e0d46824d7ba47c283ec8e96076e72be" } ], "synonyms": [ "UV", "Distorion", "Swirl" ], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_provider": { "rid": 1000 }, "references": { "version": 2, "RefIds": [ { "rid": 1000, "type": { "class": "ReflectedFunctionProvider", "ns": "UnityEditor.ShaderGraph.ProviderSystem", "asm": "Unity.ShaderGraph.Editor" }, "data": { "m_providerKey": "SG.NodeReference.UV_Swirl.Example", "m_sourceAssetId": "e5651e7a10dac2c47be6fbcdbc98b287" } } ] } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.BlockNode", "m_ObjectId": "46d8a6e8124446e08f11ca6e0b9ed890", "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": "4403773f925142888d9ccefde293c62c" } ], "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.ColorRGBMaterialSlot", "m_ObjectId": "47af7d80f1564591843a688eefdbcec5", "m_Id": 0, "m_DisplayName": "Color/Sky", "m_SlotType": 1, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "Color/Sky", "m_StageCapability": 3, "m_CustomBinding": "", "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": 0, "m_DefaultColor": { "r": 0.0, "g": 0.0, "b": 0.0, "a": 0.0 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "4852203eb268467b96a808cfec3baf1a", "m_Id": 2, "m_DisplayName": "b", "m_SlotType": 0, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "b", "m_StageCapability": 3, "m_CustomBinding": "", "m_Value": 1.0, "m_DefaultValue": 1.0, "m_Labels": [], "m_LiteralMode": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "4a05246350b3431ba6c4febb146c9617", "m_Id": 2, "m_DisplayName": "cutoff", "m_SlotType": 0, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "cutoff", "m_StageCapability": 3, "m_CustomBinding": "", "m_Value": 0.5, "m_DefaultValue": 0.5, "m_Labels": [], "m_LiteralMode": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.CategoryData", "m_ObjectId": "5090fb8e6f754c109fea9d0dd88f5cc7", "m_Name": "", "m_ChildObjectList": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "509f882f19c64b2f8077ca31cbad636c", "m_Id": 2, "m_DisplayName": "Y", "m_SlotType": 0, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "Y", "m_StageCapability": 3, "m_CustomBinding": "", "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [ "Y" ], "m_LiteralMode": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "50dbbcd6cd664d978ff4a4379d11d1f4", "m_Id": 0, "m_DisplayName": "Dot Product", "m_SlotType": 1, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "__UNITY_SHADERGRAPH_UNUSED", "m_StageCapability": 3, "m_CustomBinding": "", "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [], "m_LiteralMode": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.ProviderSystem.ProviderNode", "m_ObjectId": "516817136f5b427eb1b684c1f4eeae76", "m_Group": { "m_Id": "fb7001c484e442778b74cc94d1d09c4e" }, "m_Name": "Reference Example", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -3168.000244140625, "y": 150.00003051757813, "width": 187.000244140625, "height": 151.0 } }, "m_Slots": [ { "m_Id": "85aad1f0b4f3488b97ecb57ada0bfd93" }, { "m_Id": "2a86e53b5ad648958c79ebfde23d1e16" }, { "m_Id": "384d3991b2d1423291930959f1c5a0a8" }, { "m_Id": "e00af0a8a01b40cfb942717a7c580563" }, { "m_Id": "60a859b4ebff4e308ca8d61218367e5e" }, { "m_Id": "dc1dbefb11aa469c820ad6f9d29bafc0" } ], "synonyms": [ "Reference", "Hint" ], "m_Precision": 0, "m_PreviewExpanded": false, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_provider": { "rid": 1000 }, "references": { "version": 2, "RefIds": [ { "rid": 1000, "type": { "class": "ReflectedFunctionProvider", "ns": "UnityEditor.ShaderGraph.ProviderSystem", "asm": "Unity.ShaderGraph.Editor" }, "data": { "m_providerKey": "SG.NodeReference.Reference.Example", "m_sourceAssetId": "a9e2b4c78c7e11c4a98ae1e60be55112" } } ] } } { "m_SGVersion": 2, "m_Type": "UnityEditor.Rendering.BuiltIn.ShaderGraph.BuiltInTarget", "m_ObjectId": "5468ac27d6574da593d00428fddce641", "m_Datas": [], "m_ActiveSubTarget": { "m_Id": "14a5c917c8ca4236a2338d2e39a7ae3d" }, "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": 1, "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget", "m_ObjectId": "54bb74188f1b4f1ebf5c6024d74e7325", "m_Datas": [], "m_ActiveSubTarget": { "m_Id": "95e6edf6bfa1454ca0673681bc8ac466" }, "m_AllowMaterialOverride": false, "m_SurfaceType": 1, "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_Sort3DAs2DCompatible": false, "m_AdditionalMotionVectorMode": 0, "m_AlembicMotionVectors": false, "m_SupportsLODCrossFade": false, "m_CustomEditorGUI": "", "m_SupportVFX": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.GroupData", "m_ObjectId": "587f4a8a5290432a99a318c534102216", "m_Title": "Static", "m_Position": { "x": -4445.0, "y": 91.0 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", "m_ObjectId": "58b4b8e282dd40598cad4543960514be", "m_Id": 2, "m_DisplayName": "position", "m_SlotType": 1, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "position", "m_StageCapability": 3, "m_CustomBinding": "", "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.NormalMaterialSlot", "m_ObjectId": "593fd313ddac4cdfa164f9e2b21898ab", "m_Id": 2, "m_DisplayName": "normal", "m_SlotType": 0, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "normal", "m_StageCapability": 3, "m_CustomBinding": "", "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.Vector1MaterialSlot", "m_ObjectId": "5dc644db237749749af5f7ccb7661144", "m_Id": 3, "m_DisplayName": "Z", "m_SlotType": 0, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "Z", "m_StageCapability": 3, "m_CustomBinding": "", "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [ "Z" ], "m_LiteralMode": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "5f5665fa590447e1aaa2b57a1f3607fb", "m_Id": 0, "m_DisplayName": "Out", "m_SlotType": 1, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "__UNITY_SHADERGRAPH_UNUSED", "m_StageCapability": 3, "m_CustomBinding": "", "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [], "m_LiteralMode": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "605254ead2234370b5de5cdf849ca72b", "m_Id": 6, "m_DisplayName": "Width", "m_SlotType": 1, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "Width", "m_StageCapability": 3, "m_CustomBinding": "", "m_Value": 1.0, "m_DefaultValue": 1.0, "m_Labels": [], "m_LiteralMode": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.PositionMaterialSlot", "m_ObjectId": "60a859b4ebff4e308ca8d61218367e5e", "m_Id": 5, "m_DisplayName": "position", "m_SlotType": 0, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "position", "m_StageCapability": 3, "m_CustomBinding": "", "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.ColorRGBMaterialSlot", "m_ObjectId": "610d5e304adf439980668de3066f9e1d", "m_Id": 2, "m_DisplayName": "color", "m_SlotType": 0, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "color", "m_StageCapability": 3, "m_CustomBinding": "", "m_Value": { "x": 1.0, "y": 1.0, "z": 1.0 }, "m_DefaultValue": { "x": 1.0, "y": 1.0, "z": 1.0 }, "m_Labels": [], "m_ColorMode": 0, "m_DefaultColor": { "r": 1.0, "g": 1.0, "b": 1.0, "a": 1.0 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.TimeNode", "m_ObjectId": "643cc3d3f0544d9d8cf1fef5742d4c93", "m_Group": { "m_Id": "3215710ee5574d53b4f5115b4fa2ca3b" }, "m_Name": "Time", "m_DrawState": { "m_Expanded": false, "m_Position": { "serializedVersion": "2", "x": -3088.999755859375, "y": 1510.9998779296875, "width": 79.0, "height": 76.0001220703125 } }, "m_Slots": [ { "m_Id": "b7ce321a9e3e4712b6c75b236b75a80e" }, { "m_Id": "1506e6162ae44a9ebd92c55e409dbfe6" }, { "m_Id": "07b44f630450449da7b55e4e262a5835" }, { "m_Id": "35731b4e41a54e7a994cb2857082e89c" }, { "m_Id": "23d145713d9048c68b350d904fa6452a" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": false, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.UVMaterialSlot", "m_ObjectId": "6a1ea647d3b3489580d1fcdbfd444d2d", "m_Id": 2, "m_DisplayName": "uv", "m_SlotType": 0, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "uv", "m_StageCapability": 3, "m_CustomBinding": "", "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": "6cf14c0ea7584308904120683f954382", "m_Id": 4, "m_DisplayName": "Far Plane", "m_SlotType": 1, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "Far Plane", "m_StageCapability": 3, "m_CustomBinding": "", "m_Value": 1.0, "m_DefaultValue": 1.0, "m_Labels": [], "m_LiteralMode": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "6d5a767e443c4af8b0c0e45e35f56577", "m_Id": 1, "m_DisplayName": "Scale", "m_SlotType": 0, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "Scale", "m_StageCapability": 3, "m_CustomBinding": "", "m_Value": 3.0, "m_DefaultValue": 10.0, "m_Labels": [], "m_LiteralMode": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", "m_ObjectId": "711d5d9dbda24136832d8bc00e45d78e", "m_Id": 0, "m_DisplayName": "Out", "m_SlotType": 1, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "Out", "m_StageCapability": 3, "m_CustomBinding": "", "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.GroupData", "m_ObjectId": "72636737d68045df848d96f5349455ec", "m_Title": "Linkage & CustomBinding", "m_Position": { "x": -2942.0, "y": 91.0 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.UVMaterialSlot", "m_ObjectId": "73043648200344ce89d5e5a8ceb801ba", "m_Id": 1, "m_DisplayName": "uv", "m_SlotType": 0, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "uv", "m_StageCapability": 3, "m_CustomBinding": "", "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": "73cda139335d419f9eff5bd730294baf", "m_Id": 6, "m_DisplayName": "mask", "m_SlotType": 1, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "mask", "m_StageCapability": 3, "m_CustomBinding": "", "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [], "m_LiteralMode": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.StickyNoteData", "m_ObjectId": "757c17bba5e44b679138da67f0388ca8", "m_Title": "", "m_Content": "\"a\" is an 'inout' Dynamic Vector.\nIn the function body, it gets multiplied by \"b\".\n\n\"b\" is a 'in' Dynamic Vector.\n\n\"Dot Product\" is the function return value (float).\n\n\"sum\" is an 'out' Dynamic Vector.\n\n\"a\", \"b\" and \"sum\" all use the hint.\n\nTry connecting the vectors of different sizes to the inputs to see how Dynamic Vectors adapt.", "m_TextSize": 0, "m_Theme": 0, "m_Position": { "serializedVersion": "2", "x": -3914.0, "y": 504.0, "width": 287.0, "height": 211.0 }, "m_Group": { "m_Id": "0917fa34a2534125a5502fdaf5d26666" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", "m_ObjectId": "767fff9e6fca49c5847036238a037fc1", "m_Id": 2, "m_DisplayName": "groundColor", "m_SlotType": 0, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "groundColor", "m_StageCapability": 3, "m_CustomBinding": "Ambient Ground Color", "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.UVMaterialSlot", "m_ObjectId": "768abad2b16c4f2591c42a4889b15c50", "m_Id": 1, "m_DisplayName": "uv", "m_SlotType": 0, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "uv", "m_StageCapability": 3, "m_CustomBinding": "", "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.ProviderSystem.ProviderNode", "m_ObjectId": "770782c726d64429b5b4d2c1a5e1d912", "m_Group": { "m_Id": "45d837fe36d5481d96d2af7ed2d45e80" }, "m_Name": "Texture Example", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -1796.000244140625, "y": 150.0, "width": 208.0, "height": 335.00006103515625 } }, "m_Slots": [ { "m_Id": "94fc1037d21b46f08af0d9c3744ad252" }, { "m_Id": "9b36d52cd4d44aef8067eaa93cd1f3dc" }, { "m_Id": "6a1ea647d3b3489580d1fcdbfd444d2d" }, { "m_Id": "0345bc9038b0476ca3b0188b617e26b9" } ], "synonyms": [ "Reference", "Hint" ], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_provider": { "rid": 1000 }, "references": { "version": 2, "RefIds": [ { "rid": 1000, "type": { "class": "ReflectedFunctionProvider", "ns": "UnityEditor.ShaderGraph.ProviderSystem", "asm": "Unity.ShaderGraph.Editor" }, "data": { "m_providerKey": "SG.NodeReference.Texture.Example", "m_sourceAssetId": "a9e2b4c78c7e11c4a98ae1e60be55112" } } ] } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot", "m_ObjectId": "778cf013dd5e4e1690604d774e6dfe5b", "m_Id": 0, "m_DisplayName": "A", "m_SlotType": 0, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "A", "m_StageCapability": 3, "m_CustomBinding": "", "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.ColorRGBMaterialSlot", "m_ObjectId": "78ef71280eda4c8e896e01724e21427b", "m_Id": 2, "m_DisplayName": "Ground", "m_SlotType": 1, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "Ground", "m_StageCapability": 3, "m_CustomBinding": "", "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": 0, "m_DefaultColor": { "r": 0.0, "g": 0.0, "b": 0.0, "a": 0.0 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.TangentMaterialSlot", "m_ObjectId": "7922fdf9a073436397e08c1a8ca9733e", "m_Id": 3, "m_DisplayName": "tangent", "m_SlotType": 0, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "tangent", "m_StageCapability": 3, "m_CustomBinding": "", "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.SliderNode", "m_ObjectId": "7b376931c64f4a92b0449f05e3e5d1d4", "m_Group": { "m_Id": "06668ed6c3894e69ba26c62e92cba30b" }, "m_Name": "Slider", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -2903.999755859375, "y": 811.9999389648438, "width": 232.0, "height": 146.00006103515625 } }, "m_Slots": [ { "m_Id": "a38f58e49b7e45edbc363b0ddd24b817" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": false, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_Value": { "x": 0.36000001430511475, "y": -1.0, "z": 1.0 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.BlockNode", "m_ObjectId": "7bf1166be7484e618d1655ab47cc168b", "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": "cabc1f6561334be2aba206fcc517a02c" } ], "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.Vector1MaterialSlot", "m_ObjectId": "7c00a084444f46e2bf1a188d3f4eb800", "m_Id": 2, "m_DisplayName": "Orthographic", "m_SlotType": 1, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "Orthographic", "m_StageCapability": 3, "m_CustomBinding": "", "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [], "m_LiteralMode": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", "m_ObjectId": "7c22b6b5f7cf4b6790526693fa88445d", "m_Id": 0, "m_DisplayName": "A", "m_SlotType": 0, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "A", "m_StageCapability": 3, "m_CustomBinding": "", "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_LiteralMode": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot", "m_ObjectId": "7da419ca74bb4e0eabfc89f91edc4fd2", "m_Id": 2, "m_DisplayName": "Out", "m_SlotType": 1, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "Out", "m_StageCapability": 3, "m_CustomBinding": "", "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.Vector3MaterialSlot", "m_ObjectId": "7ed61c92ba364bd488875685187b6f58", "m_Id": 3, "m_DisplayName": "normal", "m_SlotType": 1, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "normal", "m_StageCapability": 3, "m_CustomBinding": "", "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.MultiplyNode", "m_ObjectId": "7ffa0a34c89840b897b9ed9ad5773797", "m_Group": { "m_Id": "06668ed6c3894e69ba26c62e92cba30b" }, "m_Name": "Multiply", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -3124.999755859375, "y": 958.0, "width": 126.0, "height": 117.9998779296875 } }, "m_Slots": [ { "m_Id": "778cf013dd5e4e1690604d774e6dfe5b" }, { "m_Id": "d0d6182a684f4cff8e227effceb778a0" }, { "m_Id": "7da419ca74bb4e0eabfc89f91edc4fd2" } ], "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.ProviderSystem.ProviderNode", "m_ObjectId": "8103ffdc531c40c1964c4712ea2b6f00", "m_Group": { "m_Id": "3215710ee5574d53b4f5115b4fa2ca3b" }, "m_Name": "Grid", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -2460.0, "y": 1486.9998779296875, "width": 208.000244140625, "height": 377.0 } }, "m_Slots": [ { "m_Id": "a037683eb22f46d0bc4f231c3fc42cdd" }, { "m_Id": "768abad2b16c4f2591c42a4889b15c50" }, { "m_Id": "c47ca82cbb954d8aba18a0583853b63f" }, { "m_Id": "2d17a49a3483480bbb23ea244db26a63" }, { "m_Id": "dd7d3ed40dd04cf7b41b19d0e69041b8" }, { "m_Id": "ab9c71457ad04fb5b41843345c1586c8" }, { "m_Id": "73cda139335d419f9eff5bd730294baf" } ], "synonyms": [ "Grid" ], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_provider": { "rid": 1000 }, "references": { "version": 2, "RefIds": [ { "rid": 1000, "type": { "class": "ReflectedFunctionProvider", "ns": "UnityEditor.ShaderGraph.ProviderSystem", "asm": "Unity.ShaderGraph.Editor" }, "data": { "m_providerKey": "SG.NodeReference.Grid.Example", "m_sourceAssetId": "e5651e7a10dac2c47be6fbcdbc98b287" } } ] } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialRangeSlot", "m_ObjectId": "81d5e86f887a46bb99640921d71f34ae", "m_Id": 3, "m_DisplayName": "Multiplier", "m_SlotType": 0, "m_Hidden": false, "m_HideConnector": true, "m_ShaderOutputName": "multiplier", "m_StageCapability": 3, "m_CustomBinding": "", "m_Value": 0.23999999463558197, "m_DefaultValue": 1.0, "m_Labels": [], "m_LiteralMode": false, "m_sliderRange": { "x": 0.0, "y": 1.0 }, "m_SliderType": 0, "m_SliderPower": 3.0 } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.StickyNoteData", "m_ObjectId": "82547848cbc445c597d67f716f175fe4", "m_Title": "", "m_Content": "This function makes use of the local parameter hint.\n\nIt uses a Local parameter tied to Vertex Color to multiply the incoming color.\n\nThis is using ", "m_TextSize": 0, "m_Theme": 0, "m_Position": { "serializedVersion": "2", "x": -2195.0, "y": 448.0, "width": 200.0, "height": 133.0 }, "m_Group": { "m_Id": "a336489e22914f4a9470f05854e32387" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot", "m_ObjectId": "8539c4d277004860a5e0b526273a4605", "m_Id": 2, "m_DisplayName": "Out", "m_SlotType": 1, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "Out", "m_StageCapability": 3, "m_CustomBinding": "", "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.UVMaterialSlot", "m_ObjectId": "85aad1f0b4f3488b97ecb57ada0bfd93", "m_Id": 1, "m_DisplayName": "uv", "m_SlotType": 0, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "uv", "m_StageCapability": 3, "m_CustomBinding": "", "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.Vector3MaterialSlot", "m_ObjectId": "85b3f2b315994cb29450cf3354062a11", "m_Id": 5, "m_DisplayName": "cameraDirectionWS", "m_SlotType": 0, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "cameraDirectionWS", "m_StageCapability": 3, "m_CustomBinding": "Camera Direction WS", "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.AddNode", "m_ObjectId": "866e8721665647028258218cf8168271", "m_Group": { "m_Id": "06668ed6c3894e69ba26c62e92cba30b" }, "m_Name": "Add", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -2974.999755859375, "y": 958.0, "width": 130.0, "height": 117.9998779296875 } }, "m_Slots": [ { "m_Id": "7c22b6b5f7cf4b6790526693fa88445d" }, { "m_Id": "bc771854b9e841daa7672bdaa35c5d42" }, { "m_Id": "ac2512ec9aa54c39a05288e0e1a6a165" } ], "synonyms": [ "addition", "sum", "plus" ], "m_Precision": 0, "m_PreviewExpanded": false, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "8815eb2014e64e75866636c361aee390", "m_Id": 4, "m_DisplayName": "time", "m_SlotType": 0, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "time", "m_StageCapability": 3, "m_CustomBinding": "", "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [], "m_LiteralMode": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector4Node", "m_ObjectId": "89d56a2f38124a56b9ef778824c610ec", "m_Group": { "m_Id": "0917fa34a2534125a5502fdaf5d26666" }, "m_Name": "Vector 4", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -4054.0, "y": 375.99993896484375, "width": 131.0, "height": 149.00006103515625 } }, "m_Slots": [ { "m_Id": "e36c45c34dd346369d73ba1d2c3dfed7" }, { "m_Id": "509f882f19c64b2f8077ca31cbad636c" }, { "m_Id": "5dc644db237749749af5f7ccb7661144" }, { "m_Id": "b67de59fa29c46c9ad46cc5a2604a667" }, { "m_Id": "063e347714ad42d0b4b6f5d2bcbaa2ce" } ], "synonyms": [ "4", "v4", "vec4", "float4" ], "m_Precision": 0, "m_PreviewExpanded": false, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_Value": { "x": 0.0, "y": 0.0, "z": 0.0, "w": 0.0 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot", "m_ObjectId": "8aca4ab90860435ab4d36a2ceb986c01", "m_Id": 1, "m_DisplayName": "B", "m_SlotType": 0, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "B", "m_StageCapability": 3, "m_CustomBinding": "", "m_Value": { "e00": 2.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.DynamicVectorMaterialSlot", "m_ObjectId": "8b0492e3d54e4a0fa6e486b7077e0e28", "m_Id": 1, "m_DisplayName": "", "m_SlotType": 1, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "", "m_StageCapability": 3, "m_CustomBinding": "", "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_LiteralMode": true } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.ProviderSystem.ProviderNode", "m_ObjectId": "8dbc4d96191f4d03a1f3765d98729bb2", "m_Group": { "m_Id": "06668ed6c3894e69ba26c62e92cba30b" }, "m_Name": "Set Vertex", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -2403.999755859375, "y": 781.9998779296875, "width": 206.0, "height": 151.0 } }, "m_Slots": [ { "m_Id": "ae18ba124f414511ab587432e9cf5ee3" }, { "m_Id": "593fd313ddac4cdfa164f9e2b21898ab" }, { "m_Id": "7922fdf9a073436397e08c1a8ca9733e" }, { "m_Id": "ed4a9431a40c41538ee717bd94313762" } ], "synonyms": [ "Reference", "Struct" ], "m_Precision": 0, "m_PreviewExpanded": false, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_provider": { "rid": 1000 }, "references": { "version": 2, "RefIds": [ { "rid": 1000, "type": { "class": "ReflectedFunctionProvider", "ns": "UnityEditor.ShaderGraph.ProviderSystem", "asm": "Unity.ShaderGraph.Editor" }, "data": { "m_providerKey": "SG.NodeReference.Struct.SetVertex.Example", "m_sourceAssetId": "0882c87d582a0a04ba360b2e13db6129" } } ] } } { "m_SGVersion": 1, "m_Type": "UnityEditor.ShaderGraph.GradientNoiseNode", "m_ObjectId": "8e9e4a47bfb54f3c9a91a8068ba31bde", "m_Group": { "m_Id": "06668ed6c3894e69ba26c62e92cba30b" }, "m_Name": "Gradient Noise", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -2820.999755859375, "y": 958.0, "width": 147.0, "height": 151.9998779296875 } }, "m_Slots": [ { "m_Id": "2fea7068c87f4d0c894bc0e64d2c33f8" }, { "m_Id": "6d5a767e443c4af8b0c0e45e35f56577" }, { "m_Id": "3192fd7038ae493d991ea487b6afc7ea" } ], "synonyms": [ "perlin noise" ], "m_Precision": 0, "m_PreviewExpanded": false, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_HashType": 0 } { "m_SGVersion": 0, "m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.HDUnlitSubTarget", "m_ObjectId": "8f7ffd8c635b4de086a7fdd8a4bc2080" } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.StickyNoteData", "m_ObjectId": "8fe8c3aac55d450ca3c8d3e6bc7c46bc", "m_Title": "", "m_Content": "This is an example of a UV distortion function.\n\nIt uses an inout float2 parameter, referencing the UV.", "m_TextSize": 0, "m_Theme": 0, "m_Position": { "serializedVersion": "2", "x": -2863.0, "y": 1904.0, "width": 200.0, "height": 100.0 }, "m_Group": { "m_Id": "3215710ee5574d53b4f5115b4fa2ca3b" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.BooleanMaterialSlot", "m_ObjectId": "90f8b9848b074f44b436879c4a1ac2d7", "m_Id": 6, "m_DisplayName": "overrideCameraDirectionWS", "m_SlotType": 0, "m_Hidden": true, "m_HideConnector": false, "m_ShaderOutputName": "overrideCameraDirectionWS", "m_StageCapability": 3, "m_CustomBinding": "", "m_Value": false, "m_DefaultValue": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "942b7d8c94864ce78dd6988eb0daf45a", "m_Id": 1, "m_DisplayName": "Sine Time", "m_SlotType": 1, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "Sine Time", "m_StageCapability": 3, "m_CustomBinding": "", "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [], "m_LiteralMode": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", "m_ObjectId": "9433dce918b948f8bb80d66f5b7817cf", "m_Id": 3, "m_DisplayName": "b", "m_SlotType": 0, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "b", "m_StageCapability": 3, "m_CustomBinding": "", "m_Value": { "x": 0.5, "y": 0.5, "z": 0.5, "w": 0.5 }, "m_DefaultValue": { "x": 0.0, "y": 0.0, "z": 0.0, "w": 0.0 }, "m_LiteralMode": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot", "m_ObjectId": "94fc1037d21b46f08af0d9c3744ad252", "m_Id": 0, "m_DisplayName": "Out", "m_SlotType": 1, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "__UNITY_SHADERGRAPH_UNUSED", "m_StageCapability": 3, "m_CustomBinding": "", "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.ProviderSystem.ProviderNode", "m_ObjectId": "950c1f682d044de7895cef5db917a787", "m_Group": { "m_Id": "395e687c1c3844b5928a6c0f9b0db35d" }, "m_Name": "Precision Example", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -3468.000244140625, "y": 149.9999237060547, "width": 150.0, "height": 127.00007629394531 } }, "m_Slots": [ { "m_Id": "5f5665fa590447e1aaa2b57a1f3607fb" }, { "m_Id": "b6faa06cf94345e2920fef5346b45926" }, { "m_Id": "4852203eb268467b96a808cfec3baf1a" } ], "synonyms": [ "Reference", "Hint" ], "m_Precision": 0, "m_PreviewExpanded": false, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_provider": { "rid": 1000 }, "references": { "version": 2, "RefIds": [ { "rid": 1000, "type": { "class": "ReflectedFunctionProvider", "ns": "UnityEditor.ShaderGraph.ProviderSystem", "asm": "Unity.ShaderGraph.Editor" }, "data": { "m_providerKey": "SG.NodeReference.Precision.Example", "m_sourceAssetId": "a9e2b4c78c7e11c4a98ae1e60be55112" } } ] } } { "m_SGVersion": 2, "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalUnlitSubTarget", "m_ObjectId": "95e6edf6bfa1454ca0673681bc8ac466", "m_KeepLightingVariants": false, "m_DefaultDecalBlending": true, "m_DefaultSSAO": true } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.SliderNode", "m_ObjectId": "99d8a15ec91744c3a69805bc3be3d4df", "m_Group": { "m_Id": "06668ed6c3894e69ba26c62e92cba30b" }, "m_Name": "Slider", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -3436.999755859375, "y": 981.9998779296875, "width": 232.0, "height": 146.0 } }, "m_Slots": [ { "m_Id": "9ca89f44a3694c15b3d55eb62eaa8b0b" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": false, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_Value": { "x": 0.30000001192092896, "y": 0.0, "z": 2.0 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Texture2DInputMaterialSlot", "m_ObjectId": "9b36d52cd4d44aef8067eaa93cd1f3dc", "m_Id": 1, "m_DisplayName": "Tex", "m_SlotType": 0, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "Tex", "m_StageCapability": 3, "m_CustomBinding": "", "m_BareResource": false, "m_Texture": { "m_SerializedTexture": "{\"texture\":{\"fileID\":10309,\"guid\":\"0000000000000000f000000000000000\",\"type\":0}}", "m_Guid": "" }, "m_DefaultType": 0 } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot", "m_ObjectId": "9b9f653f857b4d3384c77c519736b158", "m_Id": 0, "m_DisplayName": "Out", "m_SlotType": 1, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "Out", "m_StageCapability": 3, "m_CustomBinding": "", "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.Vector1MaterialSlot", "m_ObjectId": "9ca89f44a3694c15b3d55eb62eaa8b0b", "m_Id": 0, "m_DisplayName": "Out", "m_SlotType": 1, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "Out", "m_StageCapability": 3, "m_CustomBinding": "", "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [], "m_LiteralMode": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", "m_ObjectId": "9f0d45be4873482fa18f2c4cdb9b7359", "m_Id": 0, "m_DisplayName": "", "m_SlotType": 0, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "", "m_StageCapability": 3, "m_CustomBinding": "", "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_LiteralMode": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", "m_ObjectId": "a037683eb22f46d0bc4f231c3fc42cdd", "m_Id": 0, "m_DisplayName": "Out", "m_SlotType": 1, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "__UNITY_SHADERGRAPH_UNUSED", "m_StageCapability": 3, "m_CustomBinding": "", "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": "a03c1c3b6b704f0c8c2e363a1327a37e", "m_Id": 2, "m_DisplayName": "a", "m_SlotType": 1, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "a", "m_StageCapability": 3, "m_CustomBinding": "", "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_LiteralMode": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.RedirectNodeData", "m_ObjectId": "a0cd74d6fe61452fa1a72093bbc050d3", "m_Group": { "m_Id": "06668ed6c3894e69ba26c62e92cba30b" }, "m_Name": "Redirect Node", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -2253.999755859375, "y": 932.9998779296875, "width": 56.0, "height": 24.00006103515625 } }, "m_Slots": [ { "m_Id": "e89ec6f60b3545fe9638263aed4e94b0" }, { "m_Id": "f5659d0b00064a2c8ddd959f82596974" } ], "synonyms": [], "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.SystemData", "m_ObjectId": "a252687d5f5c49da955fc66968eebac8", "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.BuiltinData", "m_ObjectId": "a300931a25914bdfb9693626948d22ca", "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.GroupData", "m_ObjectId": "a336489e22914f4a9470f05854e32387", "m_Title": "Local", "m_Position": { "x": -2223.0, "y": 91.0 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "a33b4a6cf3e84ca982997d1d39afcd81", "m_Id": 3, "m_DisplayName": "amount", "m_SlotType": 0, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "amount", "m_StageCapability": 3, "m_CustomBinding": "", "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [], "m_LiteralMode": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "a38f58e49b7e45edbc363b0ddd24b817", "m_Id": 0, "m_DisplayName": "Out", "m_SlotType": 1, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "Out", "m_StageCapability": 3, "m_CustomBinding": "", "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [], "m_LiteralMode": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.RedirectNodeData", "m_ObjectId": "a3bb0e41fac940948839fcbacdb233d2", "m_Group": { "m_Id": "72636737d68045df848d96f5349455ec" }, "m_Name": "Redirect Node", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -2781.0, "y": 195.0, "width": 56.0, "height": 24.0 } }, "m_Slots": [ { "m_Id": "f7c9a62b53544ff69f1489a4d7f4896a" }, { "m_Id": "ed833b052dfb4dcdace0eae473c3de18" } ], "synonyms": [], "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": "a969794fd7694e05b735f5d87a7c5368", "m_Title": "Reflected Function Node", "m_Content": "Unlike Custom Function Nodes, Reflected Function Nodes do not have to, nor cannot, be created empty.\nInstead, they are 'reflected' from Shader Includes using the Shader Function Reflection API, and get automatically available in Shader Graph through Node Search.\n\nThis allows you to create your own node with any custom functionality inside Shader Graph.\n\nTo create a new Custom Function, you can create a new Empty HLSL file from Assets/Create/Shader/Empty HLSL.\n\nDouble click on a Node to open the source file.\nSelect a node and use F1 to read the documentation and learn more about the Shader Function Reflection API.", "m_TextSize": 0, "m_Theme": 0, "m_Position": { "serializedVersion": "2", "x": -3397.0, "y": -297.0, "width": 615.0, "height": 200.0 }, "m_Group": { "m_Id": "" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "a97cb84891ed488d9052726fb1333cd0", "m_Id": 2, "m_DisplayName": "Y", "m_SlotType": 0, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "Y", "m_StageCapability": 3, "m_CustomBinding": "", "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [ "Y" ], "m_LiteralMode": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.StickyNoteData", "m_ObjectId": "a9d5d744fb7b4a7e9ab4f9bfa0cdc1a7", "m_Title": "", "m_Content": "In this example, we're using a custom \"VertexData\" struct, with three nodes.\n\nThe first node initializes the data from vertex data.\nThe second processes the data, adding the normal multiplied by the amount to the position.\nThe last node splits the data again.", "m_TextSize": 0, "m_Theme": 0, "m_Position": { "serializedVersion": "2", "x": -2283.0, "y": 969.0, "width": 319.0, "height": 131.0 }, "m_Group": { "m_Id": "06668ed6c3894e69ba26c62e92cba30b" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", "m_ObjectId": "ab94aa41b5164dbdabf3cebcb1fec181", "m_Id": 1, "m_DisplayName": "", "m_SlotType": 1, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "", "m_StageCapability": 3, "m_CustomBinding": "", "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_LiteralMode": true } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.BooleanMaterialSlot", "m_ObjectId": "ab9c71457ad04fb5b41843345c1586c8", "m_Id": 5, "m_DisplayName": "antialiased", "m_SlotType": 0, "m_Hidden": false, "m_HideConnector": true, "m_ShaderOutputName": "antialiased", "m_StageCapability": 3, "m_CustomBinding": "", "m_Value": false, "m_DefaultValue": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", "m_ObjectId": "ac2512ec9aa54c39a05288e0e1a6a165", "m_Id": 2, "m_DisplayName": "Out", "m_SlotType": 1, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "Out", "m_StageCapability": 3, "m_CustomBinding": "", "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_LiteralMode": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.PositionMaterialSlot", "m_ObjectId": "ae18ba124f414511ab587432e9cf5ee3", "m_Id": 1, "m_DisplayName": "position", "m_SlotType": 0, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "position", "m_StageCapability": 3, "m_CustomBinding": "", "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.Vector1MaterialSlot", "m_ObjectId": "ae81bf7aaa284e8b88ee60b8bb566feb", "m_Id": 0, "m_DisplayName": "Time", "m_SlotType": 1, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "Time", "m_StageCapability": 3, "m_CustomBinding": "", "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [], "m_LiteralMode": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "aeceb72964e0446db41b7b120ab184d3", "m_Id": 3, "m_DisplayName": "Delta Time", "m_SlotType": 1, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "Delta Time", "m_StageCapability": 3, "m_CustomBinding": "", "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [], "m_LiteralMode": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", "m_ObjectId": "aff3fbb927c74cd89639a598b83d2390", "m_Id": 0, "m_DisplayName": "Out", "m_SlotType": 1, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "__UNITY_SHADERGRAPH_UNUSED", "m_StageCapability": 3, "m_CustomBinding": "", "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": "b194855189fb474593ba5e0ec560500f", "m_Id": 0, "m_DisplayName": "", "m_SlotType": 0, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "", "m_StageCapability": 3, "m_CustomBinding": "", "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_LiteralMode": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot", "m_ObjectId": "b4a91b3ea95347e4b05a5b83c9a7ebde", "m_Id": 1, "m_DisplayName": "Equator", "m_SlotType": 1, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "Equator", "m_StageCapability": 3, "m_CustomBinding": "", "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": 0, "m_DefaultColor": { "r": 0.0, "g": 0.0, "b": 0.0, "a": 0.0 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "b67de59fa29c46c9ad46cc5a2604a667", "m_Id": 4, "m_DisplayName": "W", "m_SlotType": 0, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "W", "m_StageCapability": 3, "m_CustomBinding": "", "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [ "W" ], "m_LiteralMode": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "b6faa06cf94345e2920fef5346b45926", "m_Id": 1, "m_DisplayName": "a", "m_SlotType": 0, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "a", "m_StageCapability": 3, "m_CustomBinding": "", "m_Value": 1.0, "m_DefaultValue": 1.0, "m_Labels": [], "m_LiteralMode": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "b7ce321a9e3e4712b6c75b236b75a80e", "m_Id": 0, "m_DisplayName": "Time", "m_SlotType": 1, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "Time", "m_StageCapability": 3, "m_CustomBinding": "", "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [], "m_LiteralMode": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.AmbientNode", "m_ObjectId": "b9450bb77d1a4e1f9db31b3c546072ed", "m_Group": { "m_Id": "72636737d68045df848d96f5349455ec" }, "m_Name": "Ambient", "m_DrawState": { "m_Expanded": false, "m_Position": { "serializedVersion": "2", "x": -2917.0, "y": 150.0, "width": 106.0, "height": 101.0 } }, "m_Slots": [ { "m_Id": "47af7d80f1564591843a688eefdbcec5" }, { "m_Id": "b4a91b3ea95347e4b05a5b83c9a7ebde" }, { "m_Id": "78ef71280eda4c8e896e01724e21427b" } ], "synonyms": [ "scene color" ], "m_Precision": 0, "m_PreviewExpanded": false, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", "m_ObjectId": "ba25886e22e74bca9375b961c824d2b1", "m_Id": 4, "m_DisplayName": "tangent", "m_SlotType": 1, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "tangent", "m_StageCapability": 3, "m_CustomBinding": "", "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": "bc771854b9e841daa7672bdaa35c5d42", "m_Id": 1, "m_DisplayName": "B", "m_SlotType": 0, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "B", "m_StageCapability": 3, "m_CustomBinding": "", "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_LiteralMode": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.ProviderSystem.ProviderNode", "m_ObjectId": "bcc261bee5bd4d7180f8984d4ab9c52e", "m_Group": { "m_Id": "587f4a8a5290432a99a318c534102216" }, "m_Name": "Static Example", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -4420.0, "y": 149.99996948242188, "width": 208.0, "height": 304.9999694824219 } }, "m_Slots": [ { "m_Id": "107c85e296314b3daf89bcca3e90f884" }, { "m_Id": "3f508dc39ea847f7b900ba366badb294" }, { "m_Id": "81d5e86f887a46bb99640921d71f34ae" } ], "synonyms": [ "Reference", "Hint" ], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_provider": { "rid": 1000 }, "references": { "version": 2, "RefIds": [ { "rid": 1000, "type": { "class": "ReflectedFunctionProvider", "ns": "UnityEditor.ShaderGraph.ProviderSystem", "asm": "Unity.ShaderGraph.Editor" }, "data": { "m_providerKey": "SG.NodeReference.Static.Example", "m_sourceAssetId": "a9e2b4c78c7e11c4a98ae1e60be55112" } } ] } } { "m_SGVersion": 0, "m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.HDTarget", "m_ObjectId": "c14afcd87ebe46a8a770ba66c3b40cde", "m_ActiveSubTarget": { "m_Id": "8f7ffd8c635b4de086a7fdd8a4bc2080" }, "m_Datas": [ { "m_Id": "a300931a25914bdfb9693626948d22ca" }, { "m_Id": "a252687d5f5c49da955fc66968eebac8" }, { "m_Id": "44f2536efb364e8db6fafa129c0747bc" } ], "m_CustomEditorGUI": "", "m_SupportVFX": false, "m_SupportLineRendering": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot", "m_ObjectId": "c47ca82cbb954d8aba18a0583853b63f", "m_Id": 2, "m_DisplayName": "spacing", "m_SlotType": 0, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "spacing", "m_StageCapability": 3, "m_CustomBinding": "", "m_Value": { "x": 5.0, "y": 5.0 }, "m_DefaultValue": { "x": 5.0, "y": 5.0 }, "m_Labels": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.PositionMaterialSlot", "m_ObjectId": "cabc1f6561334be2aba206fcc517a02c", "m_Id": 0, "m_DisplayName": "Position", "m_SlotType": 0, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "Position", "m_StageCapability": 1, "m_CustomBinding": "", "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.ProviderSystem.ProviderNode", "m_ObjectId": "cb1e49334a344b4ab4a0f8f1dc4a4cf5", "m_Group": { "m_Id": "a336489e22914f4a9470f05854e32387" }, "m_Name": "Local Example", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -2198.000244140625, "y": 150.0, "width": 207.9998779296875, "height": 287.00006103515625 } }, "m_Slots": [ { "m_Id": "e995ee4bd554453291bf2cb73c041d69" }, { "m_Id": "610d5e304adf439980668de3066f9e1d" }, { "m_Id": "3695a57810344f91a2339471ef195f1e" } ], "synonyms": [ "Reference", "Hint" ], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_provider": { "rid": 1000 }, "references": { "version": 2, "RefIds": [ { "rid": 1000, "type": { "class": "ReflectedFunctionProvider", "ns": "UnityEditor.ShaderGraph.ProviderSystem", "asm": "Unity.ShaderGraph.Editor" }, "data": { "m_providerKey": "SG.NodeReference.Local.Example", "m_sourceAssetId": "a9e2b4c78c7e11c4a98ae1e60be55112" } } ] } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.MultiplyNode", "m_ObjectId": "cbddd487454e49788cb3d119498dafd1", "m_Group": { "m_Id": "06668ed6c3894e69ba26c62e92cba30b" }, "m_Name": "Multiply", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -2648.999755859375, "y": 889.0, "width": 126.0, "height": 117.99993896484375 } }, "m_Slots": [ { "m_Id": "042ff503b62843ca9b9f64445fbde212" }, { "m_Id": "8aca4ab90860435ab4d36a2ceb986c01" }, { "m_Id": "8539c4d277004860a5e0b526273a4605" } ], "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.BlockNode", "m_ObjectId": "cc6264bba642465bbf1a3cc6d2059738", "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": "3ab7645ebbd446e99acb782375852392" } ], "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": "cdf62f044cbf4ba188174fc245cf521e", "m_Id": 4, "m_DisplayName": "sum", "m_SlotType": 1, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "sum", "m_StageCapability": 3, "m_CustomBinding": "", "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_LiteralMode": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot", "m_ObjectId": "d0d6182a684f4cff8e227effceb778a0", "m_Id": 1, "m_DisplayName": "B", "m_SlotType": 0, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "B", "m_StageCapability": 3, "m_CustomBinding": "", "m_Value": { "e00": 2.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.Vector1MaterialSlot", "m_ObjectId": "d1e3fd77ed5d4ae0965376d3737f41ab", "m_Id": 0, "m_DisplayName": "Out", "m_SlotType": 1, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "Out", "m_StageCapability": 3, "m_CustomBinding": "", "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [], "m_LiteralMode": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector2Node", "m_ObjectId": "d3d1c5f6c6fb4826876c7643db1bf7e9", "m_Group": { "m_Id": "0917fa34a2534125a5502fdaf5d26666" }, "m_Name": "Vector 2", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -4054.0, "y": 149.99996948242188, "width": 128.0, "height": 101.00006103515625 } }, "m_Slots": [ { "m_Id": "e9ee89dcf0fe46deb98429091da34ad0" }, { "m_Id": "a97cb84891ed488d9052726fb1333cd0" }, { "m_Id": "9b9f653f857b4d3384c77c519736b158" } ], "synonyms": [ "2", "v2", "vec2", "float2" ], "m_Precision": 0, "m_PreviewExpanded": false, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_Value": { "x": 0.0, "y": 0.0 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.SliderNode", "m_ObjectId": "d76c45512a9b48aca250bb4ebbbd8aef", "m_Group": { "m_Id": "06668ed6c3894e69ba26c62e92cba30b" }, "m_Name": "Slider", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -3076.999755859375, "y": 1205.9998779296875, "width": 232.0, "height": 146.0 } }, "m_Slots": [ { "m_Id": "d1e3fd77ed5d4ae0965376d3737f41ab" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": false, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_Value": { "x": 3.0, "y": 0.0, "z": 10.0 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.BooleanMaterialSlot", "m_ObjectId": "da8a89c6421e4f65aa16ff0572fca368", "m_Id": 3, "m_DisplayName": "overrideSkyColor", "m_SlotType": 0, "m_Hidden": true, "m_HideConnector": false, "m_ShaderOutputName": "overrideSkyColor", "m_StageCapability": 3, "m_CustomBinding": "", "m_Value": false, "m_DefaultValue": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", "m_ObjectId": "dc1dbefb11aa469c820ad6f9d29bafc0", "m_Id": 6, "m_DisplayName": "position", "m_SlotType": 1, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "position", "m_StageCapability": 3, "m_CustomBinding": "", "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.ProviderSystem.ProviderNode", "m_ObjectId": "dce8a6099a7243e48d878215d429b0ef", "m_Group": { "m_Id": "0917fa34a2534125a5502fdaf5d26666" }, "m_Name": "Dynamic Example", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -3832.0, "y": 149.99996948242188, "width": 208.0, "height": 335.0000305175781 } }, "m_Slots": [ { "m_Id": "50dbbcd6cd664d978ff4a4379d11d1f4" }, { "m_Id": "fb4ff9aa7f034879b4a4e166908d7a7e" }, { "m_Id": "a03c1c3b6b704f0c8c2e363a1327a37e" }, { "m_Id": "9433dce918b948f8bb80d66f5b7817cf" }, { "m_Id": "cdf62f044cbf4ba188174fc245cf521e" } ], "synonyms": [ "Reference", "Hint" ], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_provider": { "rid": 1000 }, "references": { "version": 2, "RefIds": [ { "rid": 1000, "type": { "class": "ReflectedFunctionProvider", "ns": "UnityEditor.ShaderGraph.ProviderSystem", "asm": "Unity.ShaderGraph.Editor" }, "data": { "m_providerKey": "SG.NodeReference.Dynamic.Example", "m_sourceAssetId": "a9e2b4c78c7e11c4a98ae1e60be55112" } } ] } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot", "m_ObjectId": "dd7d3ed40dd04cf7b41b19d0e69041b8", "m_Id": 4, "m_DisplayName": "lineColor", "m_SlotType": 0, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "lineColor", "m_StageCapability": 3, "m_CustomBinding": "", "m_Value": { "x": 0.20000000298023224, "y": 0.699999988079071, "z": 0.800000011920929 }, "m_DefaultValue": { "x": 0.20000000298023224, "y": 0.699999988079071, "z": 0.800000011920929 }, "m_Labels": [], "m_ColorMode": 0, "m_DefaultColor": { "r": 0.20000000298023224, "g": 0.699999988079071, "b": 0.800000011920929, "a": 1.0 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.StickyNoteData", "m_ObjectId": "dfb68d35b2db4a95873ed16d388b2e30", "m_Title": "", "m_Content": "This function features inout parameters with reference type and default hints, such as:\n\n\nUV0", "m_TextSize": 0, "m_Theme": 0, "m_Position": { "serializedVersion": "2", "x": -3183.0, "y": 310.0, "width": 200.0, "height": 108.0 }, "m_Group": { "m_Id": "fb7001c484e442778b74cc94d1d09c4e" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot", "m_ObjectId": "e00af0a8a01b40cfb942717a7c580563", "m_Id": 4, "m_DisplayName": "vc", "m_SlotType": 1, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "vc", "m_StageCapability": 3, "m_CustomBinding": "", "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.Vector3MaterialSlot", "m_ObjectId": "e00b15aa165d4c61bdb6158d63020536", "m_Id": 1, "m_DisplayName": "Direction", "m_SlotType": 1, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "Direction", "m_StageCapability": 3, "m_CustomBinding": "", "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.Vector1MaterialSlot", "m_ObjectId": "e0d46824d7ba47c283ec8e96076e72be", "m_Id": 6, "m_DisplayName": "strength", "m_SlotType": 0, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "strength", "m_StageCapability": 3, "m_CustomBinding": "", "m_Value": 4.03000020980835, "m_DefaultValue": 0.0, "m_Labels": [], "m_LiteralMode": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.ProviderSystem.ProviderNode", "m_ObjectId": "e34776ba035e444581dda83ed9f6150a", "m_Group": { "m_Id": "72636737d68045df848d96f5349455ec" }, "m_Name": "Linkage Example", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -2542.999755859375, "y": 149.99998474121094, "width": 225.0, "height": 150.99998474121094 } }, "m_Slots": [ { "m_Id": "aff3fbb927c74cd89639a598b83d2390" }, { "m_Id": "e3b3802ff06a4267a06c6638a4829f49" }, { "m_Id": "767fff9e6fca49c5847036238a037fc1" }, { "m_Id": "da8a89c6421e4f65aa16ff0572fca368" }, { "m_Id": "2ca7b70f63264419b565bb60f1d1e62d" }, { "m_Id": "85b3f2b315994cb29450cf3354062a11" }, { "m_Id": "90f8b9848b074f44b436879c4a1ac2d7" } ], "synonyms": [ "Reference", "Hint" ], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_provider": { "rid": 1000 }, "references": { "version": 2, "RefIds": [ { "rid": 1000, "type": { "class": "ReflectedFunctionProvider", "ns": "UnityEditor.ShaderGraph.ProviderSystem", "asm": "Unity.ShaderGraph.Editor" }, "data": { "m_providerKey": "SG.NodeReference.Linkage.Example", "m_sourceAssetId": "a9e2b4c78c7e11c4a98ae1e60be55112" } } ] } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "e36c45c34dd346369d73ba1d2c3dfed7", "m_Id": 1, "m_DisplayName": "X", "m_SlotType": 0, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "X", "m_StageCapability": 3, "m_CustomBinding": "", "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [], "m_LiteralMode": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", "m_ObjectId": "e3b3802ff06a4267a06c6638a4829f49", "m_Id": 1, "m_DisplayName": "skyColor", "m_SlotType": 0, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "skyColor", "m_StageCapability": 3, "m_CustomBinding": "Ambient Sky Color", "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.ProviderSystem.ProviderNode", "m_ObjectId": "e853b9e06a5e42c0bc752d6d77a80408", "m_Group": { "m_Id": "3215710ee5574d53b4f5115b4fa2ca3b" }, "m_Name": "Antialias", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -2155.0, "y": 1611.0001220703125, "width": 207.9998779296875, "height": 311.0 } }, "m_Slots": [ { "m_Id": "43c1b4bd3db64142a986e5d07ad6a35b" }, { "m_Id": "f5cd4b75aa5d4e9e9acdc80817160c4f" }, { "m_Id": "4a05246350b3431ba6c4febb146c9617" } ], "synonyms": [ "Antialias" ], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_provider": { "rid": 1000 }, "references": { "version": 2, "RefIds": [ { "rid": 1000, "type": { "class": "ReflectedFunctionProvider", "ns": "UnityEditor.ShaderGraph.ProviderSystem", "asm": "Unity.ShaderGraph.Editor" }, "data": { "m_providerKey": "SG.NodeReference.Antialias.Example", "m_sourceAssetId": "e5651e7a10dac2c47be6fbcdbc98b287" } } ] } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", "m_ObjectId": "e89ec6f60b3545fe9638263aed4e94b0", "m_Id": 0, "m_DisplayName": "", "m_SlotType": 0, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "", "m_StageCapability": 3, "m_CustomBinding": "", "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_LiteralMode": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.VertexColorMaterialSlot", "m_ObjectId": "e995ee4bd554453291bf2cb73c041d69", "m_Id": 1, "m_DisplayName": "vc", "m_SlotType": 0, "m_Hidden": true, "m_HideConnector": false, "m_ShaderOutputName": "vc", "m_StageCapability": 3, "m_CustomBinding": "", "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": "e9ee89dcf0fe46deb98429091da34ad0", "m_Id": 1, "m_DisplayName": "X", "m_SlotType": 0, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "X", "m_StageCapability": 3, "m_CustomBinding": "", "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [], "m_LiteralMode": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "ed22dfa0757b4d51827205dd5d5ac74a", "m_Id": 3, "m_DisplayName": "Z", "m_SlotType": 0, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "Z", "m_StageCapability": 3, "m_CustomBinding": "", "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [ "Z" ], "m_LiteralMode": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.ProviderSystem.ExternalMaterialSlot", "m_ObjectId": "ed4a9431a40c41538ee717bd94313762", "m_Id": 4, "m_DisplayName": "Vertex Data", "m_SlotType": 1, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "vertex", "m_StageCapability": 3, "m_CustomBinding": "", "m_typeName": "ShaderFunctionReflectionStructExample::VertexData", "m_rawDefaultValueString": "0" } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", "m_ObjectId": "ed833b052dfb4dcdace0eae473c3de18", "m_Id": 1, "m_DisplayName": "", "m_SlotType": 1, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "", "m_StageCapability": 3, "m_CustomBinding": "", "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_LiteralMode": true } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "f028b117705147938d2dada0c98714b5", "m_Id": 2, "m_DisplayName": "Y", "m_SlotType": 0, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "Y", "m_StageCapability": 3, "m_CustomBinding": "", "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [ "Y" ], "m_LiteralMode": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.StickyNoteData", "m_ObjectId": "f10027bf57de454cb3fb662a899d58b1", "m_Title": "", "m_Content": "This function provides an example of how to reference and sample a texture.", "m_TextSize": 0, "m_Theme": 0, "m_Position": { "serializedVersion": "2", "x": -1794.0, "y": 502.0, "width": 200.0, "height": 100.0 }, "m_Group": { "m_Id": "45d837fe36d5481d96d2af7ed2d45e80" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.ProviderSystem.ExternalMaterialSlot", "m_ObjectId": "f1b29fa0c7934661a912fd0f9c63332b", "m_Id": 2, "m_DisplayName": "Vertex Data", "m_SlotType": 1, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "vertex", "m_StageCapability": 3, "m_CustomBinding": "", "m_typeName": "ShaderFunctionReflectionStructExample::VertexData", "m_rawDefaultValueString": "0" } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "f3cb5b8cb9944d71a42fcfdb33f15596", "m_Id": 7, "m_DisplayName": "Height", "m_SlotType": 1, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "Height", "m_StageCapability": 3, "m_CustomBinding": "", "m_Value": 1.0, "m_DefaultValue": 1.0, "m_Labels": [], "m_LiteralMode": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.ProviderSystem.ProviderNode", "m_ObjectId": "f45b51da2803449c83859952e28e4b85", "m_Group": { "m_Id": "06668ed6c3894e69ba26c62e92cba30b" }, "m_Name": "Get Vertex", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -1861.9998779296875, "y": 781.9998779296875, "width": 205.9998779296875, "height": 151.0 } }, "m_Slots": [ { "m_Id": "0c7d3b07884846638acc1879bf4bb0e3" }, { "m_Id": "58b4b8e282dd40598cad4543960514be" }, { "m_Id": "7ed61c92ba364bd488875685187b6f58" }, { "m_Id": "ba25886e22e74bca9375b961c824d2b1" } ], "synonyms": [ "Reference", "Struct" ], "m_Precision": 0, "m_PreviewExpanded": false, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_provider": { "rid": 1000 }, "references": { "version": 2, "RefIds": [ { "rid": 1000, "type": { "class": "ReflectedFunctionProvider", "ns": "UnityEditor.ShaderGraph.ProviderSystem", "asm": "Unity.ShaderGraph.Editor" }, "data": { "m_providerKey": "SG.NodeReference.Struct.GetVertex.Example", "m_sourceAssetId": "0882c87d582a0a04ba360b2e13db6129" } } ] } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", "m_ObjectId": "f5659d0b00064a2c8ddd959f82596974", "m_Id": 1, "m_DisplayName": "", "m_SlotType": 1, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "", "m_StageCapability": 3, "m_CustomBinding": "", "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_LiteralMode": true } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "f5cd4b75aa5d4e9e9acdc80817160c4f", "m_Id": 1, "m_DisplayName": "gradient", "m_SlotType": 0, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "gradient", "m_StageCapability": 3, "m_CustomBinding": "", "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [], "m_LiteralMode": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.StickyNoteData", "m_ObjectId": "f6737123fbeb437b97d2046900252fe0", "m_Title": "", "m_Content": "This is an example of a pattern generator.\n\nIt uses a float2 referencing the UV, which can be overriden.\n\nIt also uses hint as to initialize other paremeters.\n\nThe antialiased parameter makes for built-in anti-aliasing, that can otherwise be added as another node. ", "m_TextSize": 0, "m_Theme": 0, "m_Position": { "serializedVersion": "2", "x": -2456.0, "y": 1899.0, "width": 200.0, "height": 211.0 }, "m_Group": { "m_Id": "3215710ee5574d53b4f5115b4fa2ca3b" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", "m_ObjectId": "f7c9a62b53544ff69f1489a4d7f4896a", "m_Id": 0, "m_DisplayName": "", "m_SlotType": 0, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "", "m_StageCapability": 3, "m_CustomBinding": "", "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_LiteralMode": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "f95c92c3cb1348c388a423be137bb109", "m_Id": 2, "m_DisplayName": "Cosine Time", "m_SlotType": 1, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "Cosine Time", "m_StageCapability": 3, "m_CustomBinding": "", "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [], "m_LiteralMode": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", "m_ObjectId": "fb4ff9aa7f034879b4a4e166908d7a7e", "m_Id": 1, "m_DisplayName": "a", "m_SlotType": 0, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "a", "m_StageCapability": 3, "m_CustomBinding": "", "m_Value": { "x": 0.5, "y": 0.5, "z": 0.5, "w": 0.5 }, "m_DefaultValue": { "x": 0.0, "y": 0.0, "z": 0.0, "w": 0.0 }, "m_LiteralMode": false } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.GroupData", "m_ObjectId": "fb7001c484e442778b74cc94d1d09c4e", "m_Title": "Reference Types", "m_Position": { "x": -3208.0, "y": 91.0 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.TangentMaterialSlot", "m_ObjectId": "fbb76735c8f541b790e2bd2f33a9ff16", "m_Id": 0, "m_DisplayName": "Tangent", "m_SlotType": 0, "m_Hidden": false, "m_HideConnector": false, "m_ShaderOutputName": "Tangent", "m_StageCapability": 1, "m_CustomBinding": "", "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.Vector3Node", "m_ObjectId": "fbcd31f799f446459eb6e4427e6dd5b1", "m_Group": { "m_Id": "0917fa34a2534125a5502fdaf5d26666" }, "m_Name": "Vector 3", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -4054.0, "y": 251.00003051757813, "width": 128.0, "height": 124.99990844726563 } }, "m_Slots": [ { "m_Id": "14d5d8e93e484aea851e9ef4890a46e7" }, { "m_Id": "f028b117705147938d2dada0c98714b5" }, { "m_Id": "ed22dfa0757b4d51827205dd5d5ac74a" }, { "m_Id": "711d5d9dbda24136832d8bc00e45d78e" } ], "synonyms": [ "3", "v3", "vec3", "float3" ], "m_Precision": 0, "m_PreviewExpanded": false, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_Value": { "x": 0.0, "y": 0.0, "z": 0.0 } }