UnityGame/Library/PackageCache/com.unity.shadergraph/Samples~/NodeReference/Math/Length.shadergraph
2024-10-27 10:53:47 +03:00

3570 lines
81 KiB
Plaintext

{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "c0a5e4c00e814e0684690ee447168c4e",
"m_Properties": [],
"m_Keywords": [],
"m_Dropdowns": [],
"m_CategoryData": [
{
"m_Id": "d1b0ce54c2fa4d94a36ddba938653da4"
}
],
"m_Nodes": [
{
"m_Id": "20a444840aa24c2d9bb4bcc566bf0a62"
},
{
"m_Id": "7f59d4373e934f55aa0dc2b9a0764b86"
},
{
"m_Id": "5f641eedc0db474c9c3f2a0b833fc45e"
},
{
"m_Id": "4c24e731d66d411a98136f5937ec116b"
},
{
"m_Id": "12af20a692334bbfa0f80a6235fe8cb0"
},
{
"m_Id": "5efbfbbd9dcd44c48a0fa6e53af8aa32"
},
{
"m_Id": "5258971c0c3f4bb9ab362494f3b309e3"
},
{
"m_Id": "e162b161dbef4e69bcebd06e9a58f327"
},
{
"m_Id": "727fe1c0b9ce43afa02870a5454dcd2d"
},
{
"m_Id": "586dcb6da5604cfdb0b7eeba544587d0"
},
{
"m_Id": "561acf2972f443adb21236e05b11a477"
},
{
"m_Id": "17e7361b707f4c3b876208e0aee44e10"
},
{
"m_Id": "6473a21c133b492cbe9c189c5d471bfa"
},
{
"m_Id": "eb49495cadcd40f3bf4ffb8c17aa1244"
},
{
"m_Id": "28e75dea9dd9431cbfbd884228f86de2"
},
{
"m_Id": "5b4b6bce4580457ba0ef5acf7dc42ccf"
},
{
"m_Id": "47215634347243c3bbc806ec1ea6236b"
},
{
"m_Id": "a70b4f5f76714694815eb84a44f05718"
},
{
"m_Id": "8362226afbb44501ad490556afa50700"
},
{
"m_Id": "b08aaa1c022e4c3fa9a6656082ea1807"
},
{
"m_Id": "6aacbc13464b4452bfab0a590b03c544"
},
{
"m_Id": "813d9f54a072417d829b80dbaff2bb1a"
},
{
"m_Id": "9f5de754c94344a0aad45c3de5dbbe6e"
},
{
"m_Id": "bbaaa67a0dd24e20ac5da18bab798177"
},
{
"m_Id": "627ded58f2274bd982df84ad0844e68b"
},
{
"m_Id": "8028f1b82c0745d587906c60dac4e186"
},
{
"m_Id": "b1fdb1253e70407ea5ee9b8d59f3d3bb"
}
],
"m_GroupDatas": [
{
"m_Id": "9273be04ed09462aad9db1b6156b1675"
},
{
"m_Id": "0a1565fd80cb46d4bcb3317cbc4ec422"
},
{
"m_Id": "370f8fee36d54675bc63d3828e339883"
},
{
"m_Id": "cab4aa5f02334ae38569de5e534f2166"
}
],
"m_StickyNoteDatas": [
{
"m_Id": "0ebd3d9ab2e4481284cdea73853f5abd"
},
{
"m_Id": "4fa6642518cc466a99066f6ae8df76ee"
},
{
"m_Id": "6cf957fb89844c3a940712f4c6bdfba8"
},
{
"m_Id": "2316c108bf594036b2aa776f9a954f34"
},
{
"m_Id": "493161859964478d8d048f7a289cf9a4"
},
{
"m_Id": "d040296bc141467aa607f72400b9bd1a"
},
{
"m_Id": "f7f33b3214e44d85ab1ca172f35ac218"
},
{
"m_Id": "fb8ada894b3e4f498dd4e63f459cc196"
},
{
"m_Id": "8d0195f4e7594cddaa58874cd09ecae6"
},
{
"m_Id": "4c7dc2570a104639a7a568721bb34928"
}
],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "28e75dea9dd9431cbfbd884228f86de2"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "6473a21c133b492cbe9c189c5d471bfa"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "5b4b6bce4580457ba0ef5acf7dc42ccf"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "47215634347243c3bbc806ec1ea6236b"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "5efbfbbd9dcd44c48a0fa6e53af8aa32"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "5258971c0c3f4bb9ab362494f3b309e3"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "627ded58f2274bd982df84ad0844e68b"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "8362226afbb44501ad490556afa50700"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "627ded58f2274bd982df84ad0844e68b"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "8362226afbb44501ad490556afa50700"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "627ded58f2274bd982df84ad0844e68b"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "b08aaa1c022e4c3fa9a6656082ea1807"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "627ded58f2274bd982df84ad0844e68b"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "b08aaa1c022e4c3fa9a6656082ea1807"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "627ded58f2274bd982df84ad0844e68b"
},
"m_SlotId": 3
},
"m_InputSlot": {
"m_Node": {
"m_Id": "6aacbc13464b4452bfab0a590b03c544"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "627ded58f2274bd982df84ad0844e68b"
},
"m_SlotId": 3
},
"m_InputSlot": {
"m_Node": {
"m_Id": "6aacbc13464b4452bfab0a590b03c544"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "6aacbc13464b4452bfab0a590b03c544"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "9f5de754c94344a0aad45c3de5dbbe6e"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "727fe1c0b9ce43afa02870a5454dcd2d"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "586dcb6da5604cfdb0b7eeba544587d0"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "813d9f54a072417d829b80dbaff2bb1a"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "9f5de754c94344a0aad45c3de5dbbe6e"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "8362226afbb44501ad490556afa50700"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "813d9f54a072417d829b80dbaff2bb1a"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "9f5de754c94344a0aad45c3de5dbbe6e"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "bbaaa67a0dd24e20ac5da18bab798177"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "a70b4f5f76714694815eb84a44f05718"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "627ded58f2274bd982df84ad0844e68b"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "b08aaa1c022e4c3fa9a6656082ea1807"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "813d9f54a072417d829b80dbaff2bb1a"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "e162b161dbef4e69bcebd06e9a58f327"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "586dcb6da5604cfdb0b7eeba544587d0"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "e162b161dbef4e69bcebd06e9a58f327"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "727fe1c0b9ce43afa02870a5454dcd2d"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "eb49495cadcd40f3bf4ffb8c17aa1244"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "6473a21c133b492cbe9c189c5d471bfa"
},
"m_SlotId": 0
}
}
],
"m_VertexContext": {
"m_Position": {
"x": 0.0,
"y": 0.0
},
"m_Blocks": [
{
"m_Id": "20a444840aa24c2d9bb4bcc566bf0a62"
},
{
"m_Id": "7f59d4373e934f55aa0dc2b9a0764b86"
},
{
"m_Id": "5f641eedc0db474c9c3f2a0b833fc45e"
}
]
},
"m_FragmentContext": {
"m_Position": {
"x": 0.0,
"y": 200.0
},
"m_Blocks": [
{
"m_Id": "4c24e731d66d411a98136f5937ec116b"
},
{
"m_Id": "8028f1b82c0745d587906c60dac4e186"
},
{
"m_Id": "b1fdb1253e70407ea5ee9b8d59f3d3bb"
}
]
},
"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": "23a27448d7a64529af78bdf4b9825683"
},
{
"m_Id": "37de271e46154ff3adcc851ec1b63f16"
},
{
"m_Id": "09de87ffbfc549eab8256f380f5b483e"
}
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "00af1d95cca04028a2377e4a69190c57",
"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.Vector1MaterialSlot",
"m_ObjectId": "041b638f62e14222bd7be3f8bf27484f",
"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": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "099eec96e3394bbea420ab4f2166b623",
"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.Rendering.Universal.ShaderGraph.UniversalTarget",
"m_ObjectId": "09de87ffbfc549eab8256f380f5b483e",
"m_Datas": [],
"m_ActiveSubTarget": {
"m_Id": "aa1816910b124e539f95963faaaf12ff"
},
"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.GroupData",
"m_ObjectId": "0a1565fd80cb46d4bcb3317cbc4ec422",
"m_Title": "Normalize",
"m_Position": {
"x": -985.5000610351563,
"y": 21.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "0aa9572a09c94e7e85313e7a732a2f56",
"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": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "0eb51757847a49d2aaf4377d350bbc58",
"m_Id": 5,
"m_DisplayName": "Z Buffer Sign",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Z Buffer Sign",
"m_StageCapability": 3,
"m_Value": 1.0,
"m_DefaultValue": 1.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
"m_ObjectId": "0ebd3d9ab2e4481284cdea73853f5abd",
"m_Title": "Length Node",
"m_Content": "The Length Node is used to measure the length of a vector.",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -845.5000610351563,
"y": -136.00001525878907,
"width": 200.0,
"height": 100.00000762939453
},
"m_Group": {
"m_Id": ""
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "11985bc9bed44edbbb4b3cb4c9007f39",
"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": 0,
"m_Type": "UnityEditor.ShaderGraph.LengthNode",
"m_ObjectId": "12af20a692334bbfa0f80a6235fe8cb0",
"m_Group": {
"m_Id": ""
},
"m_Name": "Length",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1000.5,
"y": -140.00001525878907,
"width": 127.5,
"height": 93.99999237060547
}
},
"m_Slots": [
{
"m_Id": "1c2a920ffb1842149ed93fa97d834fd0"
},
{
"m_Id": "099eec96e3394bbea420ab4f2166b623"
}
],
"synonyms": [
"measure"
],
"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": "14736cf9eec84537a229fe02c88bc908",
"m_Id": 1,
"m_DisplayName": "B",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"m_StageCapability": 3,
"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.LengthNode",
"m_ObjectId": "17e7361b707f4c3b876208e0aee44e10",
"m_Group": {
"m_Id": "370f8fee36d54675bc63d3828e339883"
},
"m_Name": "Length",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1453.5001220703125,
"y": 816.5000610351563,
"width": 127.5001220703125,
"height": 94.0
}
},
"m_Slots": [
{
"m_Id": "301892eb287645c2a24bba21981f2f12"
},
{
"m_Id": "11985bc9bed44edbbb4b3cb4c9007f39"
}
],
"synonyms": [
"measure"
],
"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": "183c2f2988b94b99865e132f44f808cb",
"m_Id": 4,
"m_DisplayName": "A",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "A",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "1a8bd2cbfbc44540a091855965d0fbd8",
"m_Id": 4,
"m_DisplayName": "Far Plane",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Far Plane",
"m_StageCapability": 3,
"m_Value": 1.0,
"m_DefaultValue": 1.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "1c2a920ffb1842149ed93fa97d834fd0",
"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.BlockNode",
"m_ObjectId": "20a444840aa24c2d9bb4bcc566bf0a62",
"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": "b23f40d1e7ce4c38ba552809f1ccfe47"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedDescriptor": "VertexDescription.Position"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
"m_ObjectId": "2316c108bf594036b2aa776f9a954f34",
"m_Title": "",
"m_Content": "You can normalize any vector (make it's lenth 1) by dividing the vector by its length. Here we find the length of the vector and then divide the vector by its length. This results in a normalized vector.\n\n(Usually it's easier to just use the Normalize node - but this is an example of what you can do with the Length node.)",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -687.0000610351563,
"y": 302.0000305175781,
"width": 200.00003051757813,
"height": 185.00003051757813
},
"m_Group": {
"m_Id": "0a1565fd80cb46d4bcb3317cbc4ec422"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "2376c76140344052a486836d86573114",
"m_Id": 1,
"m_DisplayName": "B",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"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": "239f915fa158406eabffc59c8845548a",
"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": 2,
"m_Type": "UnityEditor.Rendering.BuiltIn.ShaderGraph.BuiltInTarget",
"m_ObjectId": "23a27448d7a64529af78bdf4b9825683",
"m_Datas": [],
"m_ActiveSubTarget": {
"m_Id": "665a2bbeb7f64adb931b677437ec9db7"
},
"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.CameraNode",
"m_ObjectId": "28e75dea9dd9431cbfbd884228f86de2",
"m_Group": {
"m_Id": "370f8fee36d54675bc63d3828e339883"
},
"m_Name": "Camera",
"m_DrawState": {
"m_Expanded": false,
"m_Position": {
"serializedVersion": "2",
"x": -948.5,
"y": 853.0000610351563,
"width": 96.5,
"height": 77.0
}
},
"m_Slots": [
{
"m_Id": "6496ab0dca864706b10e64bcdc354c5d"
},
{
"m_Id": "2f4f3d67ff834e4db5de6892821fd12c"
},
{
"m_Id": "9f4d552c52364c3c9f5f844ac224c51c"
},
{
"m_Id": "7cc46a2241224ac3a6bd44be27dbaff0"
},
{
"m_Id": "1a8bd2cbfbc44540a091855965d0fbd8"
},
{
"m_Id": "0eb51757847a49d2aaf4377d350bbc58"
},
{
"m_Id": "36148ce69f6f4411bcbb7cb36205ede6"
},
{
"m_Id": "ad632f467eeb4dca925e6eab8ad2860a"
}
],
"synonyms": [
"position",
"direction",
"orthographic",
"near plane",
"far plane",
"width",
"height"
],
"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": "290f4cdd0a5e4a4b93b23546e911f309",
"m_Id": 1,
"m_DisplayName": "B",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.HDUnlitData",
"m_ObjectId": "2bff7c40f00e4332b51ee70fb336fe4e",
"m_EnableShadowMatte": false,
"m_DistortionOnly": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "2d02680a0ce544dfb35df83949e09b1a",
"m_Id": 0,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
"m_ObjectId": "2d85725d133446d1a04a418954620cb5",
"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": "2da650879a084cc8965f12a482308a1c",
"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": "2f4f3d67ff834e4db5de6892821fd12c",
"m_Id": 1,
"m_DisplayName": "Direction",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Direction",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "301892eb287645c2a24bba21981f2f12",
"m_Id": 0,
"m_DisplayName": "In",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "In",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "318fb30310a149559963769a48c10af9",
"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.Vector1MaterialSlot",
"m_ObjectId": "36148ce69f6f4411bcbb7cb36205ede6",
"m_Id": 6,
"m_DisplayName": "Width",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Width",
"m_StageCapability": 3,
"m_Value": 1.0,
"m_DefaultValue": 1.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.GroupData",
"m_ObjectId": "370f8fee36d54675bc63d3828e339883",
"m_Title": "Length and Distance",
"m_Position": {
"x": -1516.5,
"y": 532.5000610351563
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.HDTarget",
"m_ObjectId": "37de271e46154ff3adcc851ec1b63f16",
"m_ActiveSubTarget": {
"m_Id": "ca177ef64a214fbf82015526f5bcfcd0"
},
"m_Datas": [
{
"m_Id": "495107bb810340dcb3d1c645380a3cb1"
},
{
"m_Id": "4c9ff6d129b54843b191b51d6499cf84"
},
{
"m_Id": "2bff7c40f00e4332b51ee70fb336fe4e"
}
],
"m_CustomEditorGUI": "",
"m_SupportVFX": false,
"m_SupportLineRendering": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "39c0eec586224c26a0018de9933bdee9",
"m_Id": 0,
"m_DisplayName": "A",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "A",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "3f83b1e7c3e549e39d9d68ccf2c02f08",
"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.LengthNode",
"m_ObjectId": "47215634347243c3bbc806ec1ea6236b",
"m_Group": {
"m_Id": "370f8fee36d54675bc63d3828e339883"
},
"m_Name": "Length",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -822.5,
"y": 951.0000610351563,
"width": 129.49993896484376,
"height": 94.00006103515625
}
},
"m_Slots": [
{
"m_Id": "9acc6f7c31f144a697142d957e24bb9e"
},
{
"m_Id": "0aa9572a09c94e7e85313e7a732a2f56"
}
],
"synonyms": [
"measure"
],
"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": "493161859964478d8d048f7a289cf9a4",
"m_Title": "",
"m_Content": "The Length node and Distance node are very similar.",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -1491.5001220703125,
"y": 594.5000610351563,
"width": 200.0,
"height": 100.0
},
"m_Group": {
"m_Id": "370f8fee36d54675bc63d3828e339883"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.BuiltinData",
"m_ObjectId": "495107bb810340dcb3d1c645380a3cb1",
"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.DynamicValueMaterialSlot",
"m_ObjectId": "4af5bacbe07d4c7bab4bd0548a66881f",
"m_Id": 1,
"m_DisplayName": "B",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"m_StageCapability": 3,
"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.BlockNode",
"m_ObjectId": "4c24e731d66d411a98136f5937ec116b",
"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": "a8b21989923341ec8ff3bb0d3f6a1952"
}
],
"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.StickyNoteData",
"m_ObjectId": "4c7dc2570a104639a7a568721bb34928",
"m_Title": "",
"m_Content": "This is the input vector",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -570.5000610351563,
"y": 724.0000610351563,
"width": 80.00003051757813,
"height": 100.0
},
"m_Group": {
"m_Id": "cab4aa5f02334ae38569de5e534f2166"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.SystemData",
"m_ObjectId": "4c9ff6d129b54843b191b51d6499cf84",
"m_MaterialNeedsUpdateHash": 0,
"m_SurfaceType": 0,
"m_RenderingPass": 1,
"m_BlendMode": 0,
"m_ZTest": 4,
"m_ZWrite": false,
"m_TransparentCullMode": 2,
"m_OpaqueCullMode": 2,
"m_SortPriority": 0,
"m_AlphaTest": false,
"m_TransparentDepthPrepass": false,
"m_TransparentDepthPostpass": false,
"m_SupportLodCrossFade": false,
"m_DoubleSidedMode": 0,
"m_DOTSInstancing": false,
"m_CustomVelocity": false,
"m_Tessellation": false,
"m_TessellationMode": 0,
"m_TessellationFactorMinDistance": 20.0,
"m_TessellationFactorMaxDistance": 50.0,
"m_TessellationFactorTriangleSize": 100.0,
"m_TessellationShapeFactor": 0.75,
"m_TessellationBackFaceCullEpsilon": -0.25,
"m_TessellationMaxDisplacement": 0.009999999776482582,
"m_DebugSymbols": false,
"m_Version": 2,
"inspectorFoldoutMask": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
"m_ObjectId": "4fa6642518cc466a99066f6ae8df76ee",
"m_Title": "",
"m_Content": "The View Vector is a line that goes from the camera to the current pixel being rendered.",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -1485.0001220703125,
"y": 219.00003051757813,
"width": 200.0,
"height": 100.0
},
"m_Group": {
"m_Id": "9273be04ed09462aad9db1b6156b1675"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "510dcfb6f8a443a29d587844f5fa586c",
"m_Id": 2,
"m_DisplayName": "Y",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Y",
"m_StageCapability": 3,
"m_Value": 0.4000000059604645,
"m_DefaultValue": 0.0,
"m_Labels": [
"Y"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.LengthNode",
"m_ObjectId": "5258971c0c3f4bb9ab362494f3b309e3",
"m_Group": {
"m_Id": "9273be04ed09462aad9db1b6156b1675"
},
"m_Name": "Length",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1258.0001220703125,
"y": 80.99998474121094,
"width": 208.0,
"height": 278.00006103515627
}
},
"m_Slots": [
{
"m_Id": "8dcd8b7cf133421585b43796b4163a27"
},
{
"m_Id": "83173c7ae9b84c1a86484a0db57e09f1"
}
],
"synonyms": [
"measure"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DistanceNode",
"m_ObjectId": "561acf2972f443adb21236e05b11a477",
"m_Group": {
"m_Id": "370f8fee36d54675bc63d3828e339883"
},
"m_Name": "Distance",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1453.5001220703125,
"y": 698.5000610351563,
"width": 126.0,
"height": 118.0
}
},
"m_Slots": [
{
"m_Id": "8c0f73dd88a84a94839becff7a2314f8"
},
{
"m_Id": "290f4cdd0a5e4a4b93b23546e911f309"
},
{
"m_Id": "f585852237a844b18fc8b3f3a1997e91"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.TangentMaterialSlot",
"m_ObjectId": "579e8453ac7f434f83f823c870208792",
"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.DivideNode",
"m_ObjectId": "586dcb6da5604cfdb0b7eeba544587d0",
"m_Group": {
"m_Id": "0a1565fd80cb46d4bcb3317cbc4ec422"
},
"m_Name": "Divide",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -445.0,
"y": 79.50000762939453,
"width": 208.00009155273438,
"height": 302.0
}
},
"m_Slots": [
{
"m_Id": "00af1d95cca04028a2377e4a69190c57"
},
{
"m_Id": "c6ec3c3a2a424d9aa35593d077db7aa9"
},
{
"m_Id": "2da650879a084cc8965f12a482308a1c"
}
],
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "5956d1edb2c84066b3965e7f1eedf3a2",
"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.Vector1MaterialSlot",
"m_ObjectId": "5a732c15be1642c1acab9fba6a1b94ef",
"m_Id": 1,
"m_DisplayName": "R",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "R",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.ViewVectorNode",
"m_ObjectId": "5b4b6bce4580457ba0ef5acf7dc42ccf",
"m_Group": {
"m_Id": "370f8fee36d54675bc63d3828e339883"
},
"m_Name": "View Vector",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1051.5001220703125,
"y": 951.0000610351563,
"width": 206.00018310546876,
"height": 130.50006103515626
}
},
"m_Slots": [
{
"m_Id": "7fa0300b6a1e41df9196f65106ce161e"
},
{
"m_Id": "6e09100f2091427b8f90bb12f1c7c41a"
}
],
"synonyms": [
"eye vector"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Space": 2
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.ViewVectorNode",
"m_ObjectId": "5efbfbbd9dcd44c48a0fa6e53af8aa32",
"m_Group": {
"m_Id": "9273be04ed09462aad9db1b6156b1675"
},
"m_Name": "View Vector",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1487.0,
"y": 80.99998474121094,
"width": 206.0,
"height": 130.50003051757813
}
},
"m_Slots": [
{
"m_Id": "aa2511633a31458c9f01e9495c61ac56"
},
{
"m_Id": "2d02680a0ce544dfb35df83949e09b1a"
}
],
"synonyms": [
"eye vector"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Space": 2
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "5f641eedc0db474c9c3f2a0b833fc45e",
"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": "579e8453ac7f434f83f823c870208792"
}
],
"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.SplitNode",
"m_ObjectId": "627ded58f2274bd982df84ad0844e68b",
"m_Group": {
"m_Id": "cab4aa5f02334ae38569de5e534f2166"
},
"m_Name": "Split",
"m_DrawState": {
"m_Expanded": false,
"m_Position": {
"serializedVersion": "2",
"x": -444.0000305175781,
"y": 591.0000610351563,
"width": 119.0,
"height": 124.99993896484375
}
},
"m_Slots": [
{
"m_Id": "f07c09486b2c4017ad10e9a984ca7a63"
},
{
"m_Id": "5a732c15be1642c1acab9fba6a1b94ef"
},
{
"m_Id": "ec76ad0189c146229dfd30599ec3ef6c"
},
{
"m_Id": "8d87b9b09ea345878a399159e75c06a3"
},
{
"m_Id": "183c2f2988b94b99865e132f44f808cb"
}
],
"synonyms": [
"separate"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DistanceNode",
"m_ObjectId": "6473a21c133b492cbe9c189c5d471bfa",
"m_Group": {
"m_Id": "370f8fee36d54675bc63d3828e339883"
},
"m_Name": "Distance",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -819.0000610351563,
"y": 778.0000610351563,
"width": 127.5,
"height": 118.0
}
},
"m_Slots": [
{
"m_Id": "e02c930ea34f4850954ee13badc687f9"
},
{
"m_Id": "2376c76140344052a486836d86573114"
},
{
"m_Id": "75d2435e5d2748d1aae296a8640862bc"
}
],
"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": "6496ab0dca864706b10e64bcdc354c5d",
"m_Id": 0,
"m_DisplayName": "Position",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Position",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.Rendering.BuiltIn.ShaderGraph.BuiltInUnlitSubTarget",
"m_ObjectId": "665a2bbeb7f64adb931b677437ec9db7"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.MultiplyNode",
"m_ObjectId": "6aacbc13464b4452bfab0a590b03c544",
"m_Group": {
"m_Id": "cab4aa5f02334ae38569de5e534f2166"
},
"m_Name": "Multiply",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -283.5000305175781,
"y": 817.5,
"width": 126.00001525878906,
"height": 118.00006103515625
}
},
"m_Slots": [
{
"m_Id": "eda3364756f048d29a036db7dae36ceb"
},
{
"m_Id": "14736cf9eec84537a229fe02c88bc908"
},
{
"m_Id": "f6b3265a0a684c7a92adc108a9060ac8"
}
],
"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.StickyNoteData",
"m_ObjectId": "6cf957fb89844c3a940712f4c6bdfba8",
"m_Title": "",
"m_Content": "Using the Length Node, we can measure how far away from the camera each pixel is. This is same as scene depth.",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -1254.0001220703125,
"y": 361.5000305175781,
"width": 200.0,
"height": 100.0
},
"m_Group": {
"m_Id": "9273be04ed09462aad9db1b6156b1675"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "6e09100f2091427b8f90bb12f1c7c41a",
"m_Id": 0,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
"m_ObjectId": "6fbc2c5edd0243989fca440d477469e6",
"m_Id": 1,
"m_DisplayName": "B",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"m_StageCapability": 3,
"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.LengthNode",
"m_ObjectId": "727fe1c0b9ce43afa02870a5454dcd2d",
"m_Group": {
"m_Id": "0a1565fd80cb46d4bcb3317cbc4ec422"
},
"m_Name": "Length",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -656.0000610351563,
"y": 191.99998474121095,
"width": 129.50006103515626,
"height": 94.00001525878906
}
},
"m_Slots": [
{
"m_Id": "5956d1edb2c84066b3965e7f1eedf3a2"
},
{
"m_Id": "041b638f62e14222bd7be3f8bf27484f"
}
],
"synonyms": [
"measure"
],
"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": "75d2435e5d2748d1aae296a8640862bc",
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "7afa2e4c6783463f906402835cbd2199",
"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.Vector1MaterialSlot",
"m_ObjectId": "7c3c76fca6bf4b9eadfaca0406ee5f72",
"m_Id": 0,
"m_DisplayName": "Alpha",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Alpha",
"m_StageCapability": 2,
"m_Value": 1.0,
"m_DefaultValue": 1.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "7cc46a2241224ac3a6bd44be27dbaff0",
"m_Id": 3,
"m_DisplayName": "Near Plane",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Near Plane",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "7eba062934d0437289a924bc9231a640",
"m_Id": 0,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "7f59d4373e934f55aa0dc2b9a0764b86",
"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": "bfbb4373e908467384463a082aa653ce"
}
],
"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.PositionMaterialSlot",
"m_ObjectId": "7fa0300b6a1e41df9196f65106ce161e",
"m_Id": 3,
"m_DisplayName": "World Space Position",
"m_SlotType": 0,
"m_Hidden": true,
"m_ShaderOutputName": "WorldSpacePosition",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_Labels": [],
"m_Space": 2
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "8028f1b82c0745d587906c60dac4e186",
"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": "bf2d778dc75f4c81b0b1fd8157152853"
}
],
"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.AddNode",
"m_ObjectId": "813d9f54a072417d829b80dbaff2bb1a",
"m_Group": {
"m_Id": "cab4aa5f02334ae38569de5e534f2166"
},
"m_Name": "Add",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -134.0000457763672,
"y": 591.0000610351563,
"width": 126.00001525878906,
"height": 118.0
}
},
"m_Slots": [
{
"m_Id": "39c0eec586224c26a0018de9933bdee9"
},
{
"m_Id": "b5eeb9a4e43241cba175150caca54582"
},
{
"m_Id": "7afa2e4c6783463f906402835cbd2199"
}
],
"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": "83173c7ae9b84c1a86484a0db57e09f1",
"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": 0,
"m_Type": "UnityEditor.ShaderGraph.MultiplyNode",
"m_ObjectId": "8362226afbb44501ad490556afa50700",
"m_Group": {
"m_Id": "cab4aa5f02334ae38569de5e534f2166"
},
"m_Name": "Multiply",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -283.5000305175781,
"y": 591.0000610351563,
"width": 126.00001525878906,
"height": 118.0
}
},
"m_Slots": [
{
"m_Id": "2d85725d133446d1a04a418954620cb5"
},
{
"m_Id": "6fbc2c5edd0243989fca440d477469e6"
},
{
"m_Id": "ff63a6cb3ac74c81a96b27845de4dbb4"
}
],
"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": "8c0f73dd88a84a94839becff7a2314f8",
"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": "8d0195f4e7594cddaa58874cd09ecae6",
"m_Title": "",
"m_Content": "This graph represents the math that the Length node does.",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -10.000000953674317,
"y": 801.5000610351563,
"width": 200.00001525878907,
"height": 100.0
},
"m_Group": {
"m_Id": "cab4aa5f02334ae38569de5e534f2166"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "8d87b9b09ea345878a399159e75c06a3",
"m_Id": 3,
"m_DisplayName": "B",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "8dcd8b7cf133421585b43796b4163a27",
"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.GroupData",
"m_ObjectId": "9273be04ed09462aad9db1b6156b1675",
"m_Title": "Distance to pixel",
"m_Position": {
"x": -1512.0,
"y": 22.499961853027345
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "9acc6f7c31f144a697142d957e24bb9e",
"m_Id": 0,
"m_DisplayName": "In",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "In",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "9f1f68c76d5e4db891372fa3e78fd4ad",
"m_Id": 0,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "9f4d552c52364c3c9f5f844ac224c51c",
"m_Id": 2,
"m_DisplayName": "Orthographic",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Orthographic",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.AddNode",
"m_ObjectId": "9f5de754c94344a0aad45c3de5dbbe6e",
"m_Group": {
"m_Id": "cab4aa5f02334ae38569de5e534f2166"
},
"m_Name": "Add",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 6.999962329864502,
"y": 591.0000610351563,
"width": 126.0000228881836,
"height": 118.0
}
},
"m_Slots": [
{
"m_Id": "dc1e20bc99b54c748dd7b82d6b6b12c1"
},
{
"m_Id": "b7a54a1ddfda45bc8a9122d82655e97f"
},
{
"m_Id": "239f915fa158406eabffc59c8845548a"
}
],
"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.DynamicValueMaterialSlot",
"m_ObjectId": "a6b684f113fc4d6f9243f64e110b6995",
"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.Vector3Node",
"m_ObjectId": "a70b4f5f76714694815eb84a44f05718",
"m_Group": {
"m_Id": "cab4aa5f02334ae38569de5e534f2166"
},
"m_Name": "Vector 3",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -588.5000610351563,
"y": 591.0000610351563,
"width": 127.50003051757813,
"height": 124.99993896484375
}
},
"m_Slots": [
{
"m_Id": "db8218111d5b4b3d823efdb63bca76ce"
},
{
"m_Id": "510dcfb6f8a443a29d587844f5fa586c"
},
{
"m_Id": "fe9e48fdf286428faa022451bd262bf4"
},
{
"m_Id": "9f1f68c76d5e4db891372fa3e78fd4ad"
}
],
"synonyms": [
"3",
"v3",
"vec3",
"float3"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
"m_ObjectId": "a8b21989923341ec8ff3bb0d3f6a1952",
"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": 2,
"m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalUnlitSubTarget",
"m_ObjectId": "aa1816910b124e539f95963faaaf12ff"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PositionMaterialSlot",
"m_ObjectId": "aa2511633a31458c9f01e9495c61ac56",
"m_Id": 3,
"m_DisplayName": "World Space Position",
"m_SlotType": 0,
"m_Hidden": true,
"m_ShaderOutputName": "WorldSpacePosition",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_Labels": [],
"m_Space": 2
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "ad632f467eeb4dca925e6eab8ad2860a",
"m_Id": 7,
"m_DisplayName": "Height",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Height",
"m_StageCapability": 3,
"m_Value": 1.0,
"m_DefaultValue": 1.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.MultiplyNode",
"m_ObjectId": "b08aaa1c022e4c3fa9a6656082ea1807",
"m_Group": {
"m_Id": "cab4aa5f02334ae38569de5e534f2166"
},
"m_Name": "Multiply",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -283.5000305175781,
"y": 709.0000610351563,
"width": 126.00001525878906,
"height": 117.99993896484375
}
},
"m_Slots": [
{
"m_Id": "ed0dc31567f64bc59a96ff059c5f8aa2"
},
{
"m_Id": "4af5bacbe07d4c7bab4bd0548a66881f"
},
{
"m_Id": "a6b684f113fc4d6f9243f64e110b6995"
}
],
"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": "b1fdb1253e70407ea5ee9b8d59f3d3bb",
"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": "7c3c76fca6bf4b9eadfaca0406ee5f72"
}
],
"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.PositionMaterialSlot",
"m_ObjectId": "b23f40d1e7ce4c38ba552809f1ccfe47",
"m_Id": 0,
"m_DisplayName": "Position",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Position",
"m_StageCapability": 1,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_Labels": [],
"m_Space": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "b5eeb9a4e43241cba175150caca54582",
"m_Id": 1,
"m_DisplayName": "B",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"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": "b7a54a1ddfda45bc8a9122d82655e97f",
"m_Id": 1,
"m_DisplayName": "B",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"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.SquareRootNode",
"m_ObjectId": "bbaaa67a0dd24e20ac5da18bab798177",
"m_Group": {
"m_Id": "cab4aa5f02334ae38569de5e534f2166"
},
"m_Name": "Square Root",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 132.99998474121095,
"y": 591.0000610351563,
"width": 127.50001525878906,
"height": 94.0
}
},
"m_Slots": [
{
"m_Id": "3f83b1e7c3e549e39d9d68ccf2c02f08"
},
{
"m_Id": "318fb30310a149559963769a48c10af9"
}
],
"synonyms": [
"sqrt"
],
"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": "bf2d778dc75f4c81b0b1fd8157152853",
"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.NormalMaterialSlot",
"m_ObjectId": "bfbb4373e908467384463a082aa653ce",
"m_Id": 0,
"m_DisplayName": "Normal",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Normal",
"m_StageCapability": 1,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_Labels": [],
"m_Space": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "c6ec3c3a2a424d9aa35593d077db7aa9",
"m_Id": 1,
"m_DisplayName": "B",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"m_StageCapability": 3,
"m_Value": {
"x": 2.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.Rendering.HighDefinition.ShaderGraph.HDUnlitSubTarget",
"m_ObjectId": "ca177ef64a214fbf82015526f5bcfcd0"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.GroupData",
"m_ObjectId": "cab4aa5f02334ae38569de5e534f2166",
"m_Title": "Under The Hood",
"m_Position": {
"x": -613.5000610351563,
"y": 532.5000610351563
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "ce4532bd5677414e8cddff9f26f1fe32",
"m_Id": 0,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
"m_ObjectId": "d040296bc141467aa607f72400b9bd1a",
"m_Title": "",
"m_Content": "The Distance node measures the distance between two points.",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -1313.5001220703125,
"y": 705.5000610351563,
"width": 200.0,
"height": 100.0
},
"m_Group": {
"m_Id": "370f8fee36d54675bc63d3828e339883"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.CategoryData",
"m_ObjectId": "d1b0ce54c2fa4d94a36ddba938653da4",
"m_Name": "",
"m_ChildObjectList": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PositionMaterialSlot",
"m_ObjectId": "d340a1ef564b479ab320d4b30803086b",
"m_Id": 3,
"m_DisplayName": "World Space Position",
"m_SlotType": 0,
"m_Hidden": true,
"m_ShaderOutputName": "WorldSpacePosition",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_Labels": [],
"m_Space": 2
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "db8218111d5b4b3d823efdb63bca76ce",
"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": "dc1e20bc99b54c748dd7b82d6b6b12c1",
"m_Id": 0,
"m_DisplayName": "A",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "A",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "e02c930ea34f4850954ee13badc687f9",
"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.ViewVectorNode",
"m_ObjectId": "e162b161dbef4e69bcebd06e9a58f327",
"m_Group": {
"m_Id": "0a1565fd80cb46d4bcb3317cbc4ec422"
},
"m_Name": "View Vector",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -960.5000610351563,
"y": 79.50000762939453,
"width": 208.0,
"height": 314.5
}
},
"m_Slots": [
{
"m_Id": "d340a1ef564b479ab320d4b30803086b"
},
{
"m_Id": "ce4532bd5677414e8cddff9f26f1fe32"
}
],
"synonyms": [
"eye vector"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Space": 2
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.PositionNode",
"m_ObjectId": "eb49495cadcd40f3bf4ffb8c17aa1244",
"m_Group": {
"m_Id": "370f8fee36d54675bc63d3828e339883"
},
"m_Name": "Position",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1058.0,
"y": 722.5000610351563,
"width": 206.0,
"height": 130.5
}
},
"m_Slots": [
{
"m_Id": "7eba062934d0437289a924bc9231a640"
}
],
"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.Vector1MaterialSlot",
"m_ObjectId": "ec76ad0189c146229dfd30599ec3ef6c",
"m_Id": 2,
"m_DisplayName": "G",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "G",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
"m_ObjectId": "ed0dc31567f64bc59a96ff059c5f8aa2",
"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": "eda3364756f048d29a036db7dae36ceb",
"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": "f07c09486b2c4017ad10e9a984ca7a63",
"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.Vector1MaterialSlot",
"m_ObjectId": "f585852237a844b18fc8b3f3a1997e91",
"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.DynamicValueMaterialSlot",
"m_ObjectId": "f6b3265a0a684c7a92adc108a9060ac8",
"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.StickyNoteData",
"m_ObjectId": "f7f33b3214e44d85ab1ca172f35ac218",
"m_Title": "",
"m_Content": "The Length node tells us how long a vector is.",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -1313.5001220703125,
"y": 821.0000610351563,
"width": 200.0,
"height": 100.0
},
"m_Group": {
"m_Id": "370f8fee36d54675bc63d3828e339883"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
"m_ObjectId": "fb8ada894b3e4f498dd4e63f459cc196",
"m_Title": "",
"m_Content": "Measuring the length of the View Vector or finding the distance between the camera position and the world space position should give us the same result.",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -1008.5000610351563,
"y": 591.0000610351563,
"width": 200.0,
"height": 123.0
},
"m_Group": {
"m_Id": "370f8fee36d54675bc63d3828e339883"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "fe9e48fdf286428faa022451bd262bf4",
"m_Id": 3,
"m_DisplayName": "Z",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Z",
"m_StageCapability": 3,
"m_Value": 0.30000001192092898,
"m_DefaultValue": 0.0,
"m_Labels": [
"Z"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
"m_ObjectId": "ff63a6cb3ac74c81a96b27845de4dbb4",
"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
}
}