UnityGame/Library/PackageCache/com.unity.shadergraph/Samples~/NodeReference/Math/Floor.shadergraph

3009 lines
68 KiB
Plaintext
Raw Normal View History

2024-10-27 10:53:47 +03:00
{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "e028ffef219a487fbd5ce99b603d540c",
"m_Properties": [],
"m_Keywords": [],
"m_Dropdowns": [],
"m_CategoryData": [
{
"m_Id": "1c6b991632d54013b5ea2ae2f733d375"
}
],
"m_Nodes": [
{
"m_Id": "127d7c7b2aa94479b8cf4f814396181c"
},
{
"m_Id": "cfcc17fc2224459a8511d2ff68bdb350"
},
{
"m_Id": "55193deaf9e64388be03d8b51d37bb0e"
},
{
"m_Id": "90bec8c0ea634717b57ef96f0af59b1d"
},
{
"m_Id": "514dc0af00784651b1371398f3103cfe"
},
{
"m_Id": "ae78ae48369b43238ef4d5ee7cf68706"
},
{
"m_Id": "bf336d74b8474918bcebd80433d73dd8"
},
{
"m_Id": "24a78de9ad794501bd0a42b9a7434712"
},
{
"m_Id": "4629f3daab9249439f490cfd53212c49"
},
{
"m_Id": "0683a23a028947b9803fd2be405c5245"
},
{
"m_Id": "008b8b52d3bd4a3eb5e15306835f2bd5"
},
{
"m_Id": "4d7a7edbb83c4685a40c1fa3cb53ad63"
},
{
"m_Id": "11139aa782d04d8ea69f245cbe496f90"
},
{
"m_Id": "7552be1346b145469e37f8d835499c44"
},
{
"m_Id": "719ef97abb364e9c85aba21ab84bba3c"
},
{
"m_Id": "c7a64a807be24ff3b6e2979610482fac"
},
{
"m_Id": "29bf07f99f104af7919e2ccbaa0c198c"
},
{
"m_Id": "6407a67187254c24bb169ac36489b59e"
},
{
"m_Id": "dd5b5588acbb4c7aab08ef0f35d840ee"
},
{
"m_Id": "00add0b910a8414288e1c7fc7d74980a"
},
{
"m_Id": "6d3796d2c8bc4324ae0e2aa46f562de0"
},
{
"m_Id": "e5bd9277c38d4eeb8c8fe67bde6763ba"
},
{
"m_Id": "64a588f9f3d14dd1aab136301aff92b5"
},
{
"m_Id": "640c1f4b6c5641aba56f0e68f7e28974"
}
],
"m_GroupDatas": [
{
"m_Id": "7c45b1d24356454abce98c2f811dd3b9"
},
{
"m_Id": "155e2e0943c24f50919f984d58cbf44f"
},
{
"m_Id": "f9db6ea9fdae4d39984ccdcb956b3b49"
}
],
"m_StickyNoteDatas": [
{
"m_Id": "edb063d2b63f45fd959f235e6f63ee7e"
},
{
"m_Id": "308a88346a64494fb1fc9cfe0490ddf3"
},
{
"m_Id": "7751dd1eb16e4bdeac5eace9f9b3dcab"
},
{
"m_Id": "7ab7ace98e624fdc851ea891ac9e2f42"
},
{
"m_Id": "2355f50a8a2a4e7fbcc68909ba3c177d"
},
{
"m_Id": "065e4a0ac97245a0ad9442a5aeb51bbe"
},
{
"m_Id": "fe9aac2fa0754b909bb4d7134f9ddcf9"
},
{
"m_Id": "8cd2575d302948d786e7d95948f691df"
},
{
"m_Id": "ce108c76e8b6416db9547962e0fdf7db"
},
{
"m_Id": "26ba94256053474f89b12bf0000dc0c9"
},
{
"m_Id": "69200794be9043c1aba5e8101d6b587a"
}
],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "008b8b52d3bd4a3eb5e15306835f2bd5"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "11139aa782d04d8ea69f245cbe496f90"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "00add0b910a8414288e1c7fc7d74980a"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "6d3796d2c8bc4324ae0e2aa46f562de0"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "0683a23a028947b9803fd2be405c5245"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "24a78de9ad794501bd0a42b9a7434712"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "29bf07f99f104af7919e2ccbaa0c198c"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "6407a67187254c24bb169ac36489b59e"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "4d7a7edbb83c4685a40c1fa3cb53ad63"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "7552be1346b145469e37f8d835499c44"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "514dc0af00784651b1371398f3103cfe"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "ae78ae48369b43238ef4d5ee7cf68706"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "6407a67187254c24bb169ac36489b59e"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "dd5b5588acbb4c7aab08ef0f35d840ee"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "719ef97abb364e9c85aba21ab84bba3c"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "c7a64a807be24ff3b6e2979610482fac"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "ae78ae48369b43238ef4d5ee7cf68706"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "bf336d74b8474918bcebd80433d73dd8"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "bf336d74b8474918bcebd80433d73dd8"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "0683a23a028947b9803fd2be405c5245"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "c7a64a807be24ff3b6e2979610482fac"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "29bf07f99f104af7919e2ccbaa0c198c"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "dd5b5588acbb4c7aab08ef0f35d840ee"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "00add0b910a8414288e1c7fc7d74980a"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "e5bd9277c38d4eeb8c8fe67bde6763ba"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "6d3796d2c8bc4324ae0e2aa46f562de0"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "e5bd9277c38d4eeb8c8fe67bde6763ba"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "dd5b5588acbb4c7aab08ef0f35d840ee"
},
"m_SlotId": 1
}
}
],
"m_VertexContext": {
"m_Position": {
"x": 0.0,
"y": 0.0
},
"m_Blocks": [
{
"m_Id": "127d7c7b2aa94479b8cf4f814396181c"
},
{
"m_Id": "cfcc17fc2224459a8511d2ff68bdb350"
},
{
"m_Id": "55193deaf9e64388be03d8b51d37bb0e"
}
]
},
"m_FragmentContext": {
"m_Position": {
"x": 0.0,
"y": 200.0
},
"m_Blocks": [
{
"m_Id": "90bec8c0ea634717b57ef96f0af59b1d"
},
{
"m_Id": "64a588f9f3d14dd1aab136301aff92b5"
},
{
"m_Id": "640c1f4b6c5641aba56f0e68f7e28974"
}
]
},
"m_PreviewData": {
"serializedMesh": {
"m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}",
"m_Guid": ""
},
"preventRotation": false
},
"m_Path": "Shader Graphs",
"m_GraphPrecision": 1,
"m_PreviewMode": 2,
"m_OutputNode": {
"m_Id": ""
},
"m_SubDatas": [],
"m_ActiveTargets": [
{
"m_Id": "e1e5a109a35c48618d38079c750e6fc5"
},
{
"m_Id": "d6922bbe45e3400890fb859867a89f3f"
},
{
"m_Id": "a68ebebc7fcd4bd59d23349dbb33bd07"
}
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "004dd6460f5f4af39a824ee335e19209",
"m_Id": 0,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1Node",
"m_ObjectId": "008b8b52d3bd4a3eb5e15306835f2bd5",
"m_Group": {
"m_Id": "155e2e0943c24f50919f984d58cbf44f"
},
"m_Name": "Float",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -3151.500244140625,
"y": 225.0000457763672,
"width": 125.5,
"height": 76.99998474121094
}
},
"m_Slots": [
{
"m_Id": "161a1a9ac781431eb4d50c3862cbe0cc"
},
{
"m_Id": "a5b72fa8e5964820aff7b6f8dbf606b8"
}
],
"synonyms": [
"Vector 1",
"1",
"v1",
"vec1",
"scalar"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Value": 0.0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.FloorNode",
"m_ObjectId": "00add0b910a8414288e1c7fc7d74980a",
"m_Group": {
"m_Id": "f9db6ea9fdae4d39984ccdcb956b3b49"
},
"m_Name": "Floor",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -548.0,
"y": 514.0000610351563,
"width": 127.50006103515625,
"height": 94.0
}
},
"m_Slots": [
{
"m_Id": "26d94dc167ca4ecf8503ba6359565960"
},
{
"m_Id": "0aec65050c3742de92c84e2343596aec"
}
],
"synonyms": [
"down"
],
"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": "065e4a0ac97245a0ad9442a5aeb51bbe",
"m_Title": "",
"m_Content": "All values between zero and one get rounded down to zero.",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -3200.000244140625,
"y": 361.5000305175781,
"width": 200.0,
"height": 100.0
},
"m_Group": {
"m_Id": "155e2e0943c24f50919f984d58cbf44f"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.FloorNode",
"m_ObjectId": "0683a23a028947b9803fd2be405c5245",
"m_Group": {
"m_Id": "7c45b1d24356454abce98c2f811dd3b9"
},
"m_Name": "Floor",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -2020.0,
"y": 225.99998474121095,
"width": 127.5,
"height": 94.00001525878906
}
},
"m_Slots": [
{
"m_Id": "dfb9e5b088564f639ff41c2c573a4825"
},
{
"m_Id": "1761f60f0aaf450480a2b6993a0d95a1"
}
],
"synonyms": [
"down"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "0aec65050c3742de92c84e2343596aec",
"m_Id": 1,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.FloorNode",
"m_ObjectId": "11139aa782d04d8ea69f245cbe496f90",
"m_Group": {
"m_Id": "155e2e0943c24f50919f984d58cbf44f"
},
"m_Name": "Floor",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -2980.000244140625,
"y": 225.0000457763672,
"width": 208.0,
"height": 278.0
}
},
"m_Slots": [
{
"m_Id": "fd9f25b15bc544b19c5e64f74e15b6c6"
},
{
"m_Id": "3faba322512f48b2ac2ed637efa8b18f"
}
],
"synonyms": [
"down"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.BuiltinData",
"m_ObjectId": "121db5d35b734ee7bc4f0387ba86e3d7",
"m_Distortion": false,
"m_DistortionMode": 0,
"m_DistortionDepthTest": true,
"m_AddPrecomputedVelocity": false,
"m_TransparentWritesMotionVec": false,
"m_DepthOffset": false,
"m_ConservativeDepthOffset": false,
"m_TransparencyFog": true,
"m_AlphaTestShadow": false,
"m_BackThenFrontRendering": false,
"m_TransparentDepthPrepass": false,
"m_TransparentDepthPostpass": false,
"m_TransparentPerPixelSorting": false,
"m_SupportLodCrossFade": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "127d7c7b2aa94479b8cf4f814396181c",
"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": "3b9c2216ff1d42f3906ad5d466d4bff2"
}
],
"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.GroupData",
"m_ObjectId": "155e2e0943c24f50919f984d58cbf44f",
"m_Title": "Rounding Down",
"m_Position": {
"x": -3225.000244140625,
"y": 166.50001525878907
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "161a1a9ac781431eb4d50c3862cbe0cc",
"m_Id": 1,
"m_DisplayName": "X",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "X",
"m_StageCapability": 3,
"m_Value": 0.30000001192092898,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "1761f60f0aaf450480a2b6993a0d95a1",
"m_Id": 1,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.CategoryData",
"m_ObjectId": "1c6b991632d54013b5ea2ae2f733d375",
"m_Name": "",
"m_ChildObjectList": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "1fcaa000595e49fd94f7c9cf00572bbe",
"m_Id": 0,
"m_DisplayName": "A",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "A",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
"m_ObjectId": "2355f50a8a2a4e7fbcc68909ba3c177d",
"m_Title": "Floor Node",
"m_Content": "The Floor Node rounds the input value down to the nearest whole number.",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -1668.5001220703125,
"y": -3.0,
"width": 200.0,
"height": 100.00001525878906
},
"m_Group": {
"m_Id": ""
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DivideNode",
"m_ObjectId": "24a78de9ad794501bd0a42b9a7434712",
"m_Group": {
"m_Id": "7c45b1d24356454abce98c2f811dd3b9"
},
"m_Name": "Divide",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1812.0,
"y": 225.99998474121095,
"width": 208.0,
"height": 302.00006103515627
}
},
"m_Slots": [
{
"m_Id": "1fcaa000595e49fd94f7c9cf00572bbe"
},
{
"m_Id": "92e8f9352dc64cf196c50ff4e0932ce7"
},
{
"m_Id": "3ce3420d86264c3ea5f5a62957ab9146"
}
],
"synonyms": [
"division",
"divided by"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
"m_ObjectId": "26ba94256053474f89b12bf0000dc0c9",
"m_Title": "",
"m_Content": "I can use this value to control the number of bands I want.",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -896.0000610351563,
"y": 711.5000610351563,
"width": 200.0,
"height": 100.0
},
"m_Group": {
"m_Id": "f9db6ea9fdae4d39984ccdcb956b3b49"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "26d94dc167ca4ecf8503ba6359565960",
"m_Id": 0,
"m_DisplayName": "In",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "In",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.MultiplyNode",
"m_ObjectId": "29bf07f99f104af7919e2ccbaa0c198c",
"m_Group": {
"m_Id": "f9db6ea9fdae4d39984ccdcb956b3b49"
},
"m_Name": "Multiply",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -993.9999389648438,
"y": 337.0,
"width": 125.99993896484375,
"height": 118.0
}
},
"m_Slots": [
{
"m_Id": "c3bd3f889b4c49048008c404ef67de87"
},
{
"m_Id": "844f028c7dea475085fd09f44e5a9856"
},
{
"m_Id": "bc971b2254ed4d12ae838fc09df55785"
}
],
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "2f8bab1ed0db404d995e5a0d3b463237",
"m_Id": 0,
"m_DisplayName": "A",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "A",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
"m_ObjectId": "308a88346a64494fb1fc9cfe0490ddf3",
"m_Title": "",
"m_Content": "We create a horizontal gradient using the UV coordinates.",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -2559.000244140625,
"y": 539.0000610351563,
"width": 200.0,
"height": 100.0
},
"m_Group": {
"m_Id": "7c45b1d24356454abce98c2f811dd3b9"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PositionMaterialSlot",
"m_ObjectId": "3b9c2216ff1d42f3906ad5d466d4bff2",
"m_Id": 0,
"m_DisplayName": "Position",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Position",
"m_StageCapability": 1,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_Labels": [],
"m_Space": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
"m_ObjectId": "3bddac1c451b41fdb7752bff8c174368",
"m_Id": 2,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "3ce3420d86264c3ea5f5a62957ab9146",
"m_Id": 2,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
"m_ObjectId": "3d9e504cc1674762983de972a2539ec6",
"m_Id": 0,
"m_DisplayName": "Base Color",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "BaseColor",
"m_StageCapability": 2,
"m_Value": {
"x": 0.5,
"y": 0.5,
"z": 0.5
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_Labels": [],
"m_ColorMode": 0,
"m_DefaultColor": {
"r": 0.5,
"g": 0.5,
"b": 0.5,
"a": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "3dd8a6babeb1499fbc3b68182b7122a3",
"m_Id": 1,
"m_DisplayName": "X",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "X",
"m_StageCapability": 3,
"m_Value": 0.699999988079071,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "3faba322512f48b2ac2ed637efa8b18f",
"m_Id": 1,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
"m_ObjectId": "45dae4f40b394061b2a76761d8ec7328",
"m_Id": 1,
"m_DisplayName": "B",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"m_StageCapability": 3,
"m_Value": {
"e00": 5.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.FloorNode",
"m_ObjectId": "4629f3daab9249439f490cfd53212c49",
"m_Group": {
"m_Id": ""
},
"m_Name": "Floor",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1813.000244140625,
"y": -0.9999867081642151,
"width": 127.5,
"height": 93.99998474121094
}
},
"m_Slots": [
{
"m_Id": "60d432579cd540c68da572a8108bdeea"
},
{
"m_Id": "c57ac42386d54142bdbf5cad5812e6a7"
}
],
"synonyms": [
"down"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "47314e57dc7044ba809bc70c6de2df75",
"m_Id": 0,
"m_DisplayName": "In",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "In",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1Node",
"m_ObjectId": "4d7a7edbb83c4685a40c1fa3cb53ad63",
"m_Group": {
"m_Id": "155e2e0943c24f50919f984d58cbf44f"
},
"m_Name": "Float",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -3151.000244140625,
"y": 522.5000610351563,
"width": 125.5,
"height": 76.99993896484375
}
},
"m_Slots": [
{
"m_Id": "3dd8a6babeb1499fbc3b68182b7122a3"
},
{
"m_Id": "004dd6460f5f4af39a824ee335e19209"
}
],
"synonyms": [
"Vector 1",
"1",
"v1",
"vec1",
"scalar"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Value": 0.0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "50f07f894ce84afca8d98e739cd5322b",
"m_Id": 1,
"m_DisplayName": "B",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"m_StageCapability": 3,
"m_Value": {
"x": -0.699999988079071,
"y": 0.699999988079071,
"z": -0.699999988079071,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.UVNode",
"m_ObjectId": "514dc0af00784651b1371398f3103cfe",
"m_Group": {
"m_Id": "7c45b1d24356454abce98c2f811dd3b9"
},
"m_Name": "UV",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -2711.5,
"y": 225.99998474121095,
"width": 145.0,
"height": 128.50001525878907
}
},
"m_Slots": [
{
"m_Id": "bd3f8a351793405c96ce2595d42825a6"
}
],
"synonyms": [
"texcoords",
"coords",
"coordinates"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_OutputChannel": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "55193deaf9e64388be03d8b51d37bb0e",
"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": "5b4ca4f4cfbe415ea23f5156208e581c"
}
],
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "57ef5862064845c5aea5d545c972339d",
"m_Id": 2,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.TangentMaterialSlot",
"m_ObjectId": "5b4ca4f4cfbe415ea23f5156208e581c",
"m_Id": 0,
"m_DisplayName": "Tangent",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Tangent",
"m_StageCapability": 1,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_Labels": [],
"m_Space": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "5cc6c3e69f9544fb9ab256ea9a3f77c5",
"m_Id": 1,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "60d432579cd540c68da572a8108bdeea",
"m_Id": 0,
"m_DisplayName": "In",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "In",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.AddNode",
"m_ObjectId": "6407a67187254c24bb169ac36489b59e",
"m_Group": {
"m_Id": "f9db6ea9fdae4d39984ccdcb956b3b49"
},
"m_Name": "Add",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -845.0001220703125,
"y": 396.0000305175781,
"width": 126.00018310546875,
"height": 118.00003051757813
}
},
"m_Slots": [
{
"m_Id": "84d3e88eaf094bd797831b45a186f4b5"
},
{
"m_Id": "6cc4c2febe5c4505851b45d3eb1ee371"
},
{
"m_Id": "ed164532e5ac40279e9f9763cee4e567"
}
],
"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.BlockNode",
"m_ObjectId": "640c1f4b6c5641aba56f0e68f7e28974",
"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": "d8f1c55680864f5c831038088d43c9e1"
}
],
"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.BlockNode",
"m_ObjectId": "64a588f9f3d14dd1aab136301aff92b5",
"m_Group": {
"m_Id": ""
},
"m_Name": "SurfaceDescription.Emission",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 0.0,
"y": 0.0,
"width": 0.0,
"height": 0.0
}
},
"m_Slots": [
{
"m_Id": "e91f0873000a4140a192f14afda05320"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedDescriptor": "SurfaceDescription.Emission"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "6620f0fb6b144a1283759b014b6d0c30",
"m_Id": 0,
"m_DisplayName": "A",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "A",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
"m_ObjectId": "69200794be9043c1aba5e8101d6b587a",
"m_Title": "",
"m_Content": "The Floor Node splits the smooth gradient into distinct bands.",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -545.5000610351563,
"y": 411.0000305175781,
"width": 200.00003051757813,
"height": 100.00003051757813
},
"m_Group": {
"m_Id": "f9db6ea9fdae4d39984ccdcb956b3b49"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "6cc4c2febe5c4505851b45d3eb1ee371",
"m_Id": 1,
"m_DisplayName": "B",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"m_StageCapability": 3,
"m_Value": {
"x": 0.5,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DivideNode",
"m_ObjectId": "6d3796d2c8bc4324ae0e2aa46f562de0",
"m_Group": {
"m_Id": "f9db6ea9fdae4d39984ccdcb956b3b49"
},
"m_Name": "Divide",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -398.9999084472656,
"y": 542.0000610351563,
"width": 208.00001525878907,
"height": 302.0
}
},
"m_Slots": [
{
"m_Id": "6620f0fb6b144a1283759b014b6d0c30"
},
{
"m_Id": "b1cda479074b4e3c9909491dd37e67df"
},
{
"m_Id": "57ef5862064845c5aea5d545c972339d"
}
],
"synonyms": [
"division",
"divided by"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.NormalVectorNode",
"m_ObjectId": "719ef97abb364e9c85aba21ab84bba3c",
"m_Group": {
"m_Id": "f9db6ea9fdae4d39984ccdcb956b3b49"
},
"m_Name": "Normal Vector",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1520.5001220703125,
"y": 225.50001525878907,
"width": 206.0001220703125,
"height": 130.49998474121095
}
},
"m_Slots": [
{
"m_Id": "ed5386e30c51421c9208c2d37ada8251"
}
],
"synonyms": [
"surface direction"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 2,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Space": 2
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.FloorNode",
"m_ObjectId": "7552be1346b145469e37f8d835499c44",
"m_Group": {
"m_Id": "155e2e0943c24f50919f984d58cbf44f"
},
"m_Name": "Floor",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -2980.000244140625,
"y": 522.5000610351563,
"width": 208.0,
"height": 278.0
}
},
"m_Slots": [
{
"m_Id": "47314e57dc7044ba809bc70c6de2df75"
},
{
"m_Id": "5cc6c3e69f9544fb9ab256ea9a3f77c5"
}
],
"synonyms": [
"down"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
"m_ObjectId": "7598cb2db74741fb91d2e73304062672",
"m_Id": 0,
"m_DisplayName": "A",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "A",
"m_StageCapability": 3,
"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.DynamicValueMaterialSlot",
"m_ObjectId": "769b32cf66a14368a49d2455812edfa6",
"m_Id": 0,
"m_DisplayName": "A",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "A",
"m_StageCapability": 3,
"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.Vector1MaterialSlot",
"m_ObjectId": "76dfa3829836447b908bfebb3824983c",
"m_Id": 2,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
"m_ObjectId": "7751dd1eb16e4bdeac5eace9f9b3dcab",
"m_Title": "",
"m_Content": "We multiply the gradient by 5 so it has a range of 0 to 5.",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -2297.500244140625,
"y": 361.5000305175781,
"width": 200.0,
"height": 100.0
},
"m_Group": {
"m_Id": "7c45b1d24356454abce98c2f811dd3b9"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "7991f95f48274ae8aaaa504c7487683c",
"m_Id": 0,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
"m_ObjectId": "7ab7ace98e624fdc851ea891ac9e2f42",
"m_Title": "",
"m_Content": "Dividing by 5 brings the data back into the 0-1 range so we can visualize the effect of the Floor node in the preview.",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -1808.5001220703125,
"y": 531.0000610351563,
"width": 200.0,
"height": 100.0
},
"m_Group": {
"m_Id": "7c45b1d24356454abce98c2f811dd3b9"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.GroupData",
"m_ObjectId": "7c45b1d24356454abce98c2f811dd3b9",
"m_Title": "Posterization",
"m_Position": {
"x": -2736.5,
"y": 167.49990844726563
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.Rendering.BuiltIn.ShaderGraph.BuiltInUnlitSubTarget",
"m_ObjectId": "8128973c2c8449908c22f32d28919d86"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
"m_ObjectId": "844f028c7dea475085fd09f44e5a9856",
"m_Id": 1,
"m_DisplayName": "B",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"m_StageCapability": 3,
"m_Value": {
"e00": 0.5,
"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": "84d3e88eaf094bd797831b45a186f4b5",
"m_Id": 0,
"m_DisplayName": "A",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "A",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
"m_ObjectId": "8cd2575d302948d786e7d95948f691df",
"m_Title": "",
"m_Content": "A Dot Product between the Normal Vector and the Light Vector gives me standard diffuse lighting - which is 1 where the Normal is parallel with the light vector and -1 on the opposite side.",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -1285.5001220703125,
"y": 234.50003051757813,
"width": 200.0,
"height": 100.0
},
"m_Group": {
"m_Id": "f9db6ea9fdae4d39984ccdcb956b3b49"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "90bec8c0ea634717b57ef96f0af59b1d",
"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": "3d9e504cc1674762983de972a2539ec6"
}
],
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "92e8f9352dc64cf196c50ff4e0932ce7",
"m_Id": 1,
"m_DisplayName": "B",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"m_StageCapability": 3,
"m_Value": {
"x": 5.0,
"y": 2.0,
"z": 2.0,
"w": 2.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "a5b72fa8e5964820aff7b6f8dbf606b8",
"m_Id": 0,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget",
"m_ObjectId": "a68ebebc7fcd4bd59d23349dbb33bd07",
"m_Datas": [],
"m_ActiveSubTarget": {
"m_Id": "daabc9724507446cb62ac81a726f13e1"
},
"m_AllowMaterialOverride": false,
"m_SurfaceType": 0,
"m_ZTestMode": 4,
"m_ZWriteControl": 0,
"m_AlphaMode": 0,
"m_RenderFace": 2,
"m_AlphaClip": false,
"m_CastShadows": true,
"m_ReceiveShadows": true,
"m_DisableTint": false,
"m_AdditionalMotionVectorMode": 0,
"m_AlembicMotionVectors": false,
"m_SupportsLODCrossFade": false,
"m_CustomEditorGUI": "",
"m_SupportVFX": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot",
"m_ObjectId": "accc5fc84d0e4a499cc375ffca5fbc78",
"m_Id": 0,
"m_DisplayName": "Normal",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Normal",
"m_StageCapability": 1,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_Labels": [],
"m_Space": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "acefbabda76d489dbf0f548fe3018b20",
"m_Id": 1,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.SwizzleNode",
"m_ObjectId": "ae78ae48369b43238ef4d5ee7cf68706",
"m_Group": {
"m_Id": "7c45b1d24356454abce98c2f811dd3b9"
},
"m_Name": "Swizzle",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -2566.5,
"y": 225.99998474121095,
"width": 208.0,
"height": 305.5
}
},
"m_Slots": [
{
"m_Id": "cb46770d306a4c1282dc625679f829c8"
},
{
"m_Id": "acefbabda76d489dbf0f548fe3018b20"
}
],
"synonyms": [
"swap",
"reorder",
"component mask"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"_maskInput": "x",
"convertedMask": "x"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "b1cda479074b4e3c9909491dd37e67df",
"m_Id": 1,
"m_DisplayName": "B",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"m_StageCapability": 3,
"m_Value": {
"x": 5.0,
"y": 2.0,
"z": 2.0,
"w": 2.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "b4e54ed3b568468096096fd304cec159",
"m_Id": 1,
"m_DisplayName": "X",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "X",
"m_StageCapability": 3,
"m_Value": 5.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.SystemData",
"m_ObjectId": "b67aaae238d547e1a7216f61ed0cbfac",
"m_MaterialNeedsUpdateHash": 0,
"m_SurfaceType": 0,
"m_RenderingPass": 1,
"m_BlendMode": 0,
"m_ZTest": 4,
"m_ZWrite": false,
"m_TransparentCullMode": 2,
"m_OpaqueCullMode": 2,
"m_SortPriority": 0,
"m_AlphaTest": false,
"m_TransparentDepthPrepass": false,
"m_TransparentDepthPostpass": false,
"m_SupportLodCrossFade": false,
"m_DoubleSidedMode": 0,
"m_DOTSInstancing": false,
"m_CustomVelocity": false,
"m_Tessellation": false,
"m_TessellationMode": 0,
"m_TessellationFactorMinDistance": 20.0,
"m_TessellationFactorMaxDistance": 50.0,
"m_TessellationFactorTriangleSize": 100.0,
"m_TessellationShapeFactor": 0.75,
"m_TessellationBackFaceCullEpsilon": -0.25,
"m_TessellationMaxDisplacement": 0.009999999776482582,
"m_DebugSymbols": false,
"m_Version": 2,
"inspectorFoldoutMask": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.HDUnlitData",
"m_ObjectId": "bc734a2290244b41bfbdb5fa3f12fe93",
"m_EnableShadowMatte": false,
"m_DistortionOnly": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
"m_ObjectId": "bc971b2254ed4d12ae838fc09df55785",
"m_Id": 2,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"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": "bd3f8a351793405c96ce2595d42825a6",
"m_Id": 0,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.HDUnlitSubTarget",
"m_ObjectId": "bea45c40369a4bea8d7404b8508d1254"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.MultiplyNode",
"m_ObjectId": "bf336d74b8474918bcebd80433d73dd8",
"m_Group": {
"m_Id": "7c45b1d24356454abce98c2f811dd3b9"
},
"m_Name": "Multiply",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -2264.500244140625,
"y": 225.99998474121095,
"width": 126.0,
"height": 118.00001525878906
}
},
"m_Slots": [
{
"m_Id": "7598cb2db74741fb91d2e73304062672"
},
{
"m_Id": "45dae4f40b394061b2a76761d8ec7328"
},
{
"m_Id": "ee7160e062b94f06b96d44afbdea4004"
}
],
"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.DynamicValueMaterialSlot",
"m_ObjectId": "bf714ec1d8754e408ab382592d899e36",
"m_Id": 1,
"m_DisplayName": "B",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"m_StageCapability": 3,
"m_Value": {
"e00": 5.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.DynamicValueMaterialSlot",
"m_ObjectId": "c3bd3f889b4c49048008c404ef67de87",
"m_Id": 0,
"m_DisplayName": "A",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "A",
"m_StageCapability": 3,
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "c57ac42386d54142bdbf5cad5812e6a7",
"m_Id": 1,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DotProductNode",
"m_ObjectId": "c7a64a807be24ff3b6e2979610482fac",
"m_Group": {
"m_Id": "f9db6ea9fdae4d39984ccdcb956b3b49"
},
"m_Name": "Dot Product",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1290.5001220703125,
"y": 337.0,
"width": 208.0001220703125,
"height": 302.00006103515627
}
},
"m_Slots": [
{
"m_Id": "2f8bab1ed0db404d995e5a0d3b463237"
},
{
"m_Id": "50f07f894ce84afca8d98e739cd5322b"
},
{
"m_Id": "76dfa3829836447b908bfebb3824983c"
}
],
"synonyms": [
"scalar product"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "cb46770d306a4c1282dc625679f829c8",
"m_Id": 0,
"m_DisplayName": "In",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "In",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
"m_ObjectId": "ce108c76e8b6416db9547962e0fdf7db",
"m_Title": "",
"m_Content": "By multiplying by 0.5 and then adding 0.5, I change the range from -1 to 1, to 0 to 1.",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -1019.5000610351563,
"y": 514.5000610351563,
"width": 200.0,
"height": 100.0
},
"m_Group": {
"m_Id": "f9db6ea9fdae4d39984ccdcb956b3b49"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "cfcc17fc2224459a8511d2ff68bdb350",
"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": "accc5fc84d0e4a499cc375ffca5fbc78"
}
],
"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.Rendering.HighDefinition.ShaderGraph.HDTarget",
"m_ObjectId": "d6922bbe45e3400890fb859867a89f3f",
"m_ActiveSubTarget": {
"m_Id": "bea45c40369a4bea8d7404b8508d1254"
},
"m_Datas": [
{
"m_Id": "121db5d35b734ee7bc4f0387ba86e3d7"
},
{
"m_Id": "b67aaae238d547e1a7216f61ed0cbfac"
},
{
"m_Id": "bc734a2290244b41bfbdb5fa3f12fe93"
}
],
"m_CustomEditorGUI": "",
"m_SupportVFX": false,
"m_SupportLineRendering": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "d8f1c55680864f5c831038088d43c9e1",
"m_Id": 0,
"m_DisplayName": "Alpha",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Alpha",
"m_StageCapability": 2,
"m_Value": 1.0,
"m_DefaultValue": 1.0,
"m_Labels": []
}
{
"m_SGVersion": 2,
"m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalUnlitSubTarget",
"m_ObjectId": "daabc9724507446cb62ac81a726f13e1"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.MultiplyNode",
"m_ObjectId": "dd5b5588acbb4c7aab08ef0f35d840ee",
"m_Group": {
"m_Id": "f9db6ea9fdae4d39984ccdcb956b3b49"
},
"m_Name": "Multiply",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -697.0000610351563,
"y": 455.0,
"width": 125.99993896484375,
"height": 118.00006103515625
}
},
"m_Slots": [
{
"m_Id": "769b32cf66a14368a49d2455812edfa6"
},
{
"m_Id": "bf714ec1d8754e408ab382592d899e36"
},
{
"m_Id": "3bddac1c451b41fdb7752bff8c174368"
}
],
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "dfb9e5b088564f639ff41c2c573a4825",
"m_Id": 0,
"m_DisplayName": "In",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "In",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 2,
"m_Type": "UnityEditor.Rendering.BuiltIn.ShaderGraph.BuiltInTarget",
"m_ObjectId": "e1e5a109a35c48618d38079c750e6fc5",
"m_Datas": [],
"m_ActiveSubTarget": {
"m_Id": "8128973c2c8449908c22f32d28919d86"
},
"m_AllowMaterialOverride": false,
"m_SurfaceType": 0,
"m_ZWriteControl": 0,
"m_ZTestMode": 4,
"m_AlphaMode": 0,
"m_RenderFace": 2,
"m_AlphaClip": false,
"m_CustomEditorGUI": ""
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1Node",
"m_ObjectId": "e5bd9277c38d4eeb8c8fe67bde6763ba",
"m_Group": {
"m_Id": "f9db6ea9fdae4d39984ccdcb956b3b49"
},
"m_Name": "Float",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -845.4998779296875,
"y": 630.5,
"width": 125.49993896484375,
"height": 77.00006103515625
}
},
"m_Slots": [
{
"m_Id": "b4e54ed3b568468096096fd304cec159"
},
{
"m_Id": "7991f95f48274ae8aaaa504c7487683c"
}
],
"synonyms": [
"Vector 1",
"1",
"v1",
"vec1",
"scalar"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Value": 0.0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
"m_ObjectId": "e91f0873000a4140a192f14afda05320",
"m_Id": 0,
"m_DisplayName": "Emission",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Emission",
"m_StageCapability": 2,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_Labels": [],
"m_ColorMode": 1,
"m_DefaultColor": {
"r": 0.0,
"g": 0.0,
"b": 0.0,
"a": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "ed164532e5ac40279e9f9763cee4e567",
"m_Id": 2,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "ed5386e30c51421c9208c2d37ada8251",
"m_Id": 0,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 1.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 1.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
"m_ObjectId": "edb063d2b63f45fd959f235e6f63ee7e",
"m_Title": "",
"m_Content": "The Floor node rounds all of the values down to the nearest whole number - giving us 5 distinct bands with the values 0, 1, 2, 3, and 4.",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -2048.000244140625,
"y": 363.0000305175781,
"width": 200.0,
"height": 100.0
},
"m_Group": {
"m_Id": "7c45b1d24356454abce98c2f811dd3b9"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
"m_ObjectId": "ee7160e062b94f06b96d44afbdea4004",
"m_Id": 2,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"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.GroupData",
"m_ObjectId": "f9db6ea9fdae4d39984ccdcb956b3b49",
"m_Title": "Toon Shading",
"m_Position": {
"x": -1545.5001220703125,
"y": 167.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "fd9f25b15bc544b19c5e64f74e15b6c6",
"m_Id": 0,
"m_DisplayName": "In",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "In",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
"m_ObjectId": "fe9aac2fa0754b909bb4d7134f9ddcf9",
"m_Title": "",
"m_Content": "This hard-coded value here represents the light vector.",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -1504.5001220703125,
"y": 439.0000305175781,
"width": 200.0,
"height": 100.00003051757813
},
"m_Group": {
"m_Id": "f9db6ea9fdae4d39984ccdcb956b3b49"
}
}