Rasagar/Library/PackageCache/com.unity.shadergraph/Samples~/NodeReference/Math/Distance.shadergraph

2065 lines
48 KiB
Plaintext
Raw Normal View History

2024-08-26 13:07:20 -07:00
{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "a10055fbc22d4e10bbd822b27225efff",
"m_Properties": [],
"m_Keywords": [],
"m_Dropdowns": [],
"m_CategoryData": [
{
"m_Id": "4290ddd1d3994c9f9588bdb2b8c40735"
}
],
"m_Nodes": [
{
"m_Id": "bff876e8bbb64d61b4df6ab7d7a5ed29"
},
{
"m_Id": "cbb372ec42a34eda9381ebc162ceb34f"
},
{
"m_Id": "cf43d0f4e01644268deccfd1ab73cbe0"
},
{
"m_Id": "eaa48fdc220a44d89d94d4621f1b153d"
},
{
"m_Id": "44f11c1c018b4690af8f271a33b51b87"
},
{
"m_Id": "431aff4f6768408fbd363f888dedfbe7"
},
{
"m_Id": "51d08e38cf934d70a75955f6a27945e2"
},
{
"m_Id": "ca70bc32933749d489b6fa25cf25905c"
},
{
"m_Id": "c7d890153afa4e58a66c7be40c06b50b"
},
{
"m_Id": "2d9a9e00dd12438486a35ea296c047c7"
},
{
"m_Id": "9577d2b218154f72b665d1acc2eee4d2"
},
{
"m_Id": "14790fd03f5746418cac32392c4bf5a1"
},
{
"m_Id": "fa464c0350514f88964dc2b9fe6c459f"
},
{
"m_Id": "f9561f2f06f0439b8a57047f6150a900"
},
{
"m_Id": "a53692fa133a4b52a1413a7d8494a10b"
},
{
"m_Id": "ea79f4b7d0ca430fafd31ca02973d7ee"
},
{
"m_Id": "893f42b16e4f4086959ec09d704f870b"
}
],
"m_GroupDatas": [
{
"m_Id": "43009d1c7681439e8b02a1f64b983d89"
},
{
"m_Id": "ed626672a3a44cf1a06697345101e900"
}
],
"m_StickyNoteDatas": [
{
"m_Id": "7d09ac4de7a84fd996e3356379687211"
},
{
"m_Id": "856390e5e8c649bb8bc2c43d9650084e"
},
{
"m_Id": "7a8ae348e8444fb0ad0ae71f9dfbf6af"
},
{
"m_Id": "a64892fce793425e939c2c76c3916658"
},
{
"m_Id": "77556f4904f5437bb1c7624031710c5e"
},
{
"m_Id": "eed6a47aad1f4ab699d6698e7a1c4a5b"
}
],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "14790fd03f5746418cac32392c4bf5a1"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "fa464c0350514f88964dc2b9fe6c459f"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "2d9a9e00dd12438486a35ea296c047c7"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "14790fd03f5746418cac32392c4bf5a1"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "431aff4f6768408fbd363f888dedfbe7"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "51d08e38cf934d70a75955f6a27945e2"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "9577d2b218154f72b665d1acc2eee4d2"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "14790fd03f5746418cac32392c4bf5a1"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "c7d890153afa4e58a66c7be40c06b50b"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "2d9a9e00dd12438486a35ea296c047c7"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "ca70bc32933749d489b6fa25cf25905c"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "51d08e38cf934d70a75955f6a27945e2"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "f9561f2f06f0439b8a57047f6150a900"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "a53692fa133a4b52a1413a7d8494a10b"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "fa464c0350514f88964dc2b9fe6c459f"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "f9561f2f06f0439b8a57047f6150a900"
},
"m_SlotId": 0
}
}
],
"m_VertexContext": {
"m_Position": {
"x": 0.0,
"y": 0.0
},
"m_Blocks": [
{
"m_Id": "bff876e8bbb64d61b4df6ab7d7a5ed29"
},
{
"m_Id": "cbb372ec42a34eda9381ebc162ceb34f"
},
{
"m_Id": "cf43d0f4e01644268deccfd1ab73cbe0"
}
]
},
"m_FragmentContext": {
"m_Position": {
"x": 0.0,
"y": 200.0
},
"m_Blocks": [
{
"m_Id": "eaa48fdc220a44d89d94d4621f1b153d"
},
{
"m_Id": "ea79f4b7d0ca430fafd31ca02973d7ee"
},
{
"m_Id": "893f42b16e4f4086959ec09d704f870b"
}
]
},
"m_PreviewData": {
"serializedMesh": {
"m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}",
"m_Guid": ""
},
"preventRotation": false
},
"m_Path": "Shader Graphs",
"m_GraphPrecision": 1,
"m_PreviewMode": 2,
"m_OutputNode": {
"m_Id": ""
},
"m_ActiveTargets": [
{
"m_Id": "4aea8c25fc0b45f2a2aa19697ab5d511"
},
{
"m_Id": "ee1f2c367e674d44a167cb0b4f78eb49"
},
{
"m_Id": "9772cced10804bc6b73dcdbd57975873"
}
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "009ba8d7421141f58c341e63565a0b50",
"m_Id": 3,
"m_DisplayName": "Delta Time",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Delta Time",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "087419e529954de7817ba7c38660c943",
"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.TangentMaterialSlot",
"m_ObjectId": "135b4fd5509c4f60a065dd783f0e9b4e",
"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.DistanceNode",
"m_ObjectId": "14790fd03f5746418cac32392c4bf5a1",
"m_Group": {
"m_Id": "ed626672a3a44cf1a06697345101e900"
},
"m_Name": "Distance",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -867.0000610351563,
"y": 59.99999237060547,
"width": 127.5,
"height": 117.99999237060547
}
},
"m_Slots": [
{
"m_Id": "c9ae865df31b440da204987d5f6b8408"
},
{
"m_Id": "d11440a5670944b696e0f71dcfdaae0b"
},
{
"m_Id": "48974c5bcdaf4fa7b3c1ed3d580166ab"
}
],
"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": "14be238b3d3c45f9a32058aa60fba1e9",
"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": "154d6c3e7f294239b83018c498c2ab2d",
"m_Id": 1,
"m_DisplayName": "X",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "X",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "15a40cf568f944c5824cde058bc2ebff",
"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": "224db4c80ab345ff91c1f19e09f94b32",
"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": "254a0a908bf34e569380b82b451812e9",
"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.Vector3Node",
"m_ObjectId": "2d9a9e00dd12438486a35ea296c047c7",
"m_Group": {
"m_Id": "ed626672a3a44cf1a06697345101e900"
},
"m_Name": "Vector 3",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1110.5001220703125,
"y": 130.00001525878907,
"width": 127.50006103515625,
"height": 125.00003051757813
}
},
"m_Slots": [
{
"m_Id": "154d6c3e7f294239b83018c498c2ab2d"
},
{
"m_Id": "e2868f62ea46483bb6f3cd0048804960"
},
{
"m_Id": "82cbff1f9ad145caa7ab6bb872b4fbaf"
},
{
"m_Id": "14be238b3d3c45f9a32058aa60fba1e9"
}
],
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "35efbde7a408425c9a99d02dd6391b6d",
"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": 2,
"m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalUnlitSubTarget",
"m_ObjectId": "3edc8fa1c1574b2fb3ab7ede47ef31c8"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.CategoryData",
"m_ObjectId": "4290ddd1d3994c9f9588bdb2b8c40735",
"m_Name": "",
"m_ChildObjectList": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot",
"m_ObjectId": "42f3bbedc8dc42daabfff75314e2db8f",
"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.GroupData",
"m_ObjectId": "43009d1c7681439e8b02a1f64b983d89",
"m_Title": "Scene Depth",
"m_Position": {
"x": -2009.0001220703125,
"y": -61.50001907348633
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.CameraNode",
"m_ObjectId": "431aff4f6768408fbd363f888dedfbe7",
"m_Group": {
"m_Id": "43009d1c7681439e8b02a1f64b983d89"
},
"m_Name": "Camera",
"m_DrawState": {
"m_Expanded": false,
"m_Position": {
"serializedVersion": "2",
"x": -1874.5001220703125,
"y": -3.0000030994415285,
"width": 96.5,
"height": 76.99998474121094
}
},
"m_Slots": [
{
"m_Id": "b70ca32686f94463adc180f953c216d9"
},
{
"m_Id": "9c234e17ab19453d87b14f14e6a2bb24"
},
{
"m_Id": "4efc662a0d634ae9aeb1317538cc06e2"
},
{
"m_Id": "a22e2a5333e642738a67aefa9420cee3"
},
{
"m_Id": "dca46a4eacbd464f87d372f14f42eb55"
},
{
"m_Id": "83182984d46d484faf699392d1f80df9"
},
{
"m_Id": "5864852a5de84b988e5db82b65fdb89e"
},
{
"m_Id": "9de9a3adc3ec41aa828f17d7b77d93d5"
}
],
"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.DistanceNode",
"m_ObjectId": "44f11c1c018b4690af8f271a33b51b87",
"m_Group": {
"m_Id": ""
},
"m_Name": "Distance",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1177.0001220703125,
"y": -231.50003051757813,
"width": 126.0,
"height": 118.00000762939453
}
},
"m_Slots": [
{
"m_Id": "efe8c88b2cfd408f8ed69c06161726c5"
},
{
"m_Id": "35efbde7a408425c9a99d02dd6391b6d"
},
{
"m_Id": "87a09be0a10e4c2b925def206aa35102"
}
],
"synonyms": [],
"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": "478c2bbd35a549e691de702dede99a7e",
"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.Vector1MaterialSlot",
"m_ObjectId": "48974c5bcdaf4fa7b3c1ed3d580166ab",
"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": 2,
"m_Type": "UnityEditor.Rendering.BuiltIn.ShaderGraph.BuiltInTarget",
"m_ObjectId": "4aea8c25fc0b45f2a2aa19697ab5d511",
"m_ActiveSubTarget": {
"m_Id": "4aebe1c058d345ad845ef748f0cef1ef"
},
"m_AllowMaterialOverride": false,
"m_SurfaceType": 0,
"m_ZWriteControl": 0,
"m_ZTestMode": 4,
"m_AlphaMode": 0,
"m_RenderFace": 2,
"m_AlphaClip": false,
"m_CustomEditorGUI": ""
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.Rendering.BuiltIn.ShaderGraph.BuiltInUnlitSubTarget",
"m_ObjectId": "4aebe1c058d345ad845ef748f0cef1ef"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "4c1ffc15680b430781990c578de634aa",
"m_Id": 0,
"m_DisplayName": "Time",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Time",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.HDUnlitData",
"m_ObjectId": "4ec1cb2736154fe0983593585df207f1",
"m_EnableShadowMatte": false,
"m_DistortionOnly": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "4efc662a0d634ae9aeb1317538cc06e2",
"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.DistanceNode",
"m_ObjectId": "51d08e38cf934d70a75955f6a27945e2",
"m_Group": {
"m_Id": "43009d1c7681439e8b02a1f64b983d89"
},
"m_Name": "Distance",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1732.5001220703125,
"y": 17.999982833862306,
"width": 208.0,
"height": 302.00006103515627
}
},
"m_Slots": [
{
"m_Id": "cf78980b8a324731a1b62a764e28917d"
},
{
"m_Id": "f2fac993479949c59a977f7783be468c"
},
{
"m_Id": "edfbddea8a4a440b99bb414ebdbac83b"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "5864852a5de84b988e5db82b65fdb89e",
"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.Rendering.HighDefinition.ShaderGraph.HDUnlitSubTarget",
"m_ObjectId": "5b15a0523e194d6e88a82ed86e5c1f63"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "5bb4069d5ae04253b84844b75e7877eb",
"m_Id": 1,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
"m_ObjectId": "77556f4904f5437bb1c7624031710c5e",
"m_Title": "",
"m_Content": "Measuring the distance between the animated point and the object space position creates a gradient that's dark when the point is close to the pivot and bright when it's further away.",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -895.5000610351563,
"y": 191.00001525878907,
"width": 200.0,
"height": 110.50001525878906
},
"m_Group": {
"m_Id": "ed626672a3a44cf1a06697345101e900"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
"m_ObjectId": "7a8ae348e8444fb0ad0ae71f9dfbf6af",
"m_Title": "",
"m_Content": "Moving point inside the object. The animated value becomes the point's X coordinate - so the point is moving back and forth.",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -1149.5001220703125,
"y": 271.0000305175781,
"width": 200.00006103515626,
"height": 100.0
},
"m_Group": {
"m_Id": "ed626672a3a44cf1a06697345101e900"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
"m_ObjectId": "7d09ac4de7a84fd996e3356379687211",
"m_Title": "Distance Node",
"m_Content": "The Distance Node is used to measure the distance between two points.",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -1043.0001220703125,
"y": -222.00001525878907,
"width": 200.00006103515626,
"height": 100.00000762939453
},
"m_Group": {
"m_Id": ""
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "82cbff1f9ad145caa7ab6bb872b4fbaf",
"m_Id": 3,
"m_DisplayName": "Z",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Z",
"m_StageCapability": 3,
"m_Value": -0.5,
"m_DefaultValue": 0.0,
"m_Labels": [
"Z"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "83182984d46d484faf699392d1f80df9",
"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": "856390e5e8c649bb8bc2c43d9650084e",
"m_Title": "",
"m_Content": "Here we use the Distance Node to measure the distance between the Camera Position and the Position of the current pixel. This gives us scene depth.",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -1952.5001220703125,
"y": 220.00003051757813,
"width": 200.0,
"height": 100.0
},
"m_Group": {
"m_Id": "43009d1c7681439e8b02a1f64b983d89"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "87a09be0a10e4c2b925def206aa35102",
"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.BlockNode",
"m_ObjectId": "893f42b16e4f4086959ec09d704f870b",
"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": "254a0a908bf34e569380b82b451812e9"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedDescriptor": "SurfaceDescription.Alpha"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "8d7b095c22ae4b72a0fc78ce4c817c60",
"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": "8e1056a8a03749cd8e9f1bf7bca87966",
"m_Id": 1,
"m_DisplayName": "Sine Time",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Sine Time",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.BuiltinData",
"m_ObjectId": "8f479bc3ac4447f7b171d994d4078f61",
"m_Distortion": false,
"m_DistortionMode": 0,
"m_DistortionDepthTest": true,
"m_AddPrecomputedVelocity": false,
"m_TransparentWritesMotionVec": false,
"m_DepthOffset": false,
"m_ConservativeDepthOffset": false,
"m_TransparencyFog": true,
"m_AlphaTestShadow": false,
"m_BackThenFrontRendering": false,
"m_TransparentDepthPrepass": false,
"m_TransparentDepthPostpass": false,
"m_TransparentPerPixelSorting": false,
"m_SupportLodCrossFade": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "91d970f925ef4a35b0dee818c11eb728",
"m_Id": 1,
"m_DisplayName": "B",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"m_StageCapability": 3,
"m_Value": {
"x": 8.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.DynamicVectorMaterialSlot",
"m_ObjectId": "93b6d28b177743e7b5f6147f19f45f48",
"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.Vector3MaterialSlot",
"m_ObjectId": "946d177d8a1646b0a03c851f8f2f4abe",
"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": 1,
"m_Type": "UnityEditor.ShaderGraph.PositionNode",
"m_ObjectId": "9577d2b218154f72b665d1acc2eee4d2",
"m_Group": {
"m_Id": "ed626672a3a44cf1a06697345101e900"
},
"m_Name": "Position",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1189.0001220703125,
"y": -1.5000216960906983,
"width": 206.00006103515626,
"height": 130.50003051757813
}
},
"m_Slots": [
{
"m_Id": "946d177d8a1646b0a03c851f8f2f4abe"
}
],
"synonyms": [
"location"
],
"m_Precision": 1,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 2,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Space": 0,
"m_PositionSource": 0
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget",
"m_ObjectId": "9772cced10804bc6b73dcdbd57975873",
"m_Datas": [],
"m_ActiveSubTarget": {
"m_Id": "3edc8fa1c1574b2fb3ab7ede47ef31c8"
},
"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_AdditionalMotionVectorMode": 0,
"m_AlembicMotionVectors": false,
"m_SupportsLODCrossFade": false,
"m_CustomEditorGUI": "",
"m_SupportVFX": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "9c234e17ab19453d87b14f14e6a2bb24",
"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.Vector1MaterialSlot",
"m_ObjectId": "9de9a3adc3ec41aa828f17d7b77d93d5",
"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.Rendering.HighDefinition.ShaderGraph.SystemData",
"m_ObjectId": "a056d5749a124da494c599718e21010f",
"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.Vector1MaterialSlot",
"m_ObjectId": "a22e2a5333e642738a67aefa9420cee3",
"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.PowerNode",
"m_ObjectId": "a53692fa133a4b52a1413a7d8494a10b",
"m_Group": {
"m_Id": "ed626672a3a44cf1a06697345101e900"
},
"m_Name": "Power",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -375.0000305175781,
"y": 101.50001525878906,
"width": 208.0,
"height": 302.0
}
},
"m_Slots": [
{
"m_Id": "93b6d28b177743e7b5f6147f19f45f48"
},
{
"m_Id": "91d970f925ef4a35b0dee818c11eb728"
},
{
"m_Id": "15a40cf568f944c5824cde058bc2ebff"
}
],
"synonyms": [],
"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": "a64892fce793425e939c2c76c3916658",
"m_Title": "",
"m_Content": "Using the Sine of Time to create a cycling animated value.",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -1457.5001220703125,
"y": 217.50003051757813,
"width": 200.0,
"height": 100.0
},
"m_Group": {
"m_Id": "ed626672a3a44cf1a06697345101e900"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "b70ca32686f94463adc180f953c216d9",
"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.ShaderGraph.BlockNode",
"m_ObjectId": "bff876e8bbb64d61b4df6ab7d7a5ed29",
"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": "e1233d24dc43451b97883c916a2dd4af"
}
],
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "c7a3de6659484ceb82e6bd9e89f10a0a",
"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.TimeNode",
"m_ObjectId": "c7d890153afa4e58a66c7be40c06b50b",
"m_Group": {
"m_Id": "ed626672a3a44cf1a06697345101e900"
},
"m_Name": "Time",
"m_DrawState": {
"m_Expanded": false,
"m_Position": {
"serializedVersion": "2",
"x": -1409.5001220703125,
"y": 130.00001525878907,
"width": 104.5,
"height": 76.99998474121094
}
},
"m_Slots": [
{
"m_Id": "4c1ffc15680b430781990c578de634aa"
},
{
"m_Id": "8e1056a8a03749cd8e9f1bf7bca87966"
},
{
"m_Id": "de366b5452f24074924d7a224b1bedf5"
},
{
"m_Id": "009ba8d7421141f58c341e63565a0b50"
},
{
"m_Id": "ebf3abb77cc749d1b0473695ab13fa2c"
}
],
"synonyms": [],
"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": "c9ae865df31b440da204987d5f6b8408",
"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": 1,
"m_Type": "UnityEditor.ShaderGraph.PositionNode",
"m_ObjectId": "ca70bc32933749d489b6fa25cf25905c",
"m_Group": {
"m_Id": "43009d1c7681439e8b02a1f64b983d89"
},
"m_Name": "Position",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1984.0001220703125,
"y": 73.99998474121094,
"width": 206.0,
"height": 130.50003051757813
}
},
"m_Slots": [
{
"m_Id": "087419e529954de7817ba7c38660c943"
}
],
"synonyms": [
"location"
],
"m_Precision": 1,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 2,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Space": 4,
"m_PositionSource": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "cbb372ec42a34eda9381ebc162ceb34f",
"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": "42f3bbedc8dc42daabfff75314e2db8f"
}
],
"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.BlockNode",
"m_ObjectId": "cf43d0f4e01644268deccfd1ab73cbe0",
"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": "135b4fd5509c4f60a065dd783f0e9b4e"
}
],
"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": "cf78980b8a324731a1b62a764e28917d",
"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": "d11440a5670944b696e0f71dcfdaae0b",
"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.Vector1MaterialSlot",
"m_ObjectId": "dca46a4eacbd464f87d372f14f42eb55",
"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.Vector1MaterialSlot",
"m_ObjectId": "de366b5452f24074924d7a224b1bedf5",
"m_Id": 2,
"m_DisplayName": "Cosine Time",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Cosine Time",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PositionMaterialSlot",
"m_ObjectId": "e1233d24dc43451b97883c916a2dd4af",
"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.Vector1MaterialSlot",
"m_ObjectId": "e2868f62ea46483bb6f3cd0048804960",
"m_Id": 2,
"m_DisplayName": "Y",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Y",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": [
"Y"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "ea79f4b7d0ca430fafd31ca02973d7ee",
"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": "478c2bbd35a549e691de702dede99a7e"
}
],
"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.BlockNode",
"m_ObjectId": "eaa48fdc220a44d89d94d4621f1b153d",
"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": "224db4c80ab345ff91c1f19e09f94b32"
}
],
"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.Vector1MaterialSlot",
"m_ObjectId": "ebf3abb77cc749d1b0473695ab13fa2c",
"m_Id": 4,
"m_DisplayName": "Smooth Delta",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Smooth Delta",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.GroupData",
"m_ObjectId": "ed626672a3a44cf1a06697345101e900",
"m_Title": "Artificial Internal Light Source",
"m_Position": {
"x": -1482.5001220703125,
"y": -60.00004959106445
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "edfbddea8a4a440b99bb414ebdbac83b",
"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.Rendering.HighDefinition.ShaderGraph.HDTarget",
"m_ObjectId": "ee1f2c367e674d44a167cb0b4f78eb49",
"m_ActiveSubTarget": {
"m_Id": "5b15a0523e194d6e88a82ed86e5c1f63"
},
"m_Datas": [
{
"m_Id": "8f479bc3ac4447f7b171d994d4078f61"
},
{
"m_Id": "a056d5749a124da494c599718e21010f"
},
{
"m_Id": "4ec1cb2736154fe0983593585df207f1"
}
],
"m_CustomEditorGUI": "",
"m_SupportVFX": false,
"m_SupportLineRendering": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
"m_ObjectId": "eed6a47aad1f4ab699d6698e7a1c4a5b",
"m_Title": "",
"m_Content": "Saturating and inverting the gradient gives us a mask that looks like a light source inside the volume.",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -612.5000610351563,
"y": 202.00001525878907,
"width": 200.00003051757813,
"height": 100.00001525878906
},
"m_Group": {
"m_Id": "ed626672a3a44cf1a06697345101e900"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "efe8c88b2cfd408f8ed69c06161726c5",
"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": "f2fac993479949c59a977f7783be468c",
"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.OneMinusNode",
"m_ObjectId": "f9561f2f06f0439b8a57047f6150a900",
"m_Group": {
"m_Id": "ed626672a3a44cf1a06697345101e900"
},
"m_Name": "One Minus",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -533.0000610351563,
"y": 59.99999237060547,
"width": 127.50006103515625,
"height": 94.00000762939453
}
},
"m_Slots": [
{
"m_Id": "fdc42dd4039f4319af2b1d58fb9d4cc0"
},
{
"m_Id": "5bb4069d5ae04253b84844b75e7877eb"
}
],
"synonyms": [
"complement",
"invert",
"opposite"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SaturateNode",
"m_ObjectId": "fa464c0350514f88964dc2b9fe6c459f",
"m_Group": {
"m_Id": "ed626672a3a44cf1a06697345101e900"
},
"m_Name": "Saturate",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -660.5000610351563,
"y": 59.99999237060547,
"width": 127.5,
"height": 94.00000762939453
}
},
"m_Slots": [
{
"m_Id": "8d7b095c22ae4b72a0fc78ce4c817c60"
},
{
"m_Id": "c7a3de6659484ceb82e6bd9e89f10a0a"
}
],
"synonyms": [
"clamp"
],
"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": "fdc42dd4039f4319af2b1d58fb9d4cc0",
"m_Id": 0,
"m_DisplayName": "In",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "In",
"m_StageCapability": 3,
"m_Value": {
"x": 1.0,
"y": 1.0,
"z": 1.0,
"w": 1.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}