1150 lines
26 KiB
Plaintext
1150 lines
26 KiB
Plaintext
{
|
||
"m_SGVersion": 3,
|
||
"m_Type": "UnityEditor.ShaderGraph.GraphData",
|
||
"m_ObjectId": "b3854e38d9ab48cbb965e85474839a36",
|
||
"m_Properties": [
|
||
{
|
||
"m_Id": "4345b023a03b4df88df32b299229f803"
|
||
},
|
||
{
|
||
"m_Id": "fb775396eaac48cb9a6ad131a6ef99b2"
|
||
}
|
||
],
|
||
"m_Keywords": [],
|
||
"m_Dropdowns": [],
|
||
"m_CategoryData": [
|
||
{
|
||
"m_Id": "6097bb4bb3734026843d70825c4855a0"
|
||
}
|
||
],
|
||
"m_Nodes": [
|
||
{
|
||
"m_Id": "a9f1655c8d2c44a3b5add35d592aab34"
|
||
},
|
||
{
|
||
"m_Id": "c7c016255ad440b9814558d66aa288b5"
|
||
},
|
||
{
|
||
"m_Id": "e6320921c63c405f8724dd5b10743c87"
|
||
},
|
||
{
|
||
"m_Id": "638f7af4a63041d0a25876b92cb6a116"
|
||
},
|
||
{
|
||
"m_Id": "c3cae71806f54828a2f60b8015a87f4b"
|
||
},
|
||
{
|
||
"m_Id": "5dcf40d1f8514f8e9c719978d8310e40"
|
||
},
|
||
{
|
||
"m_Id": "ae79b4331f3a4836bef018732a6c020b"
|
||
},
|
||
{
|
||
"m_Id": "16155c0c493f4df295db19f55dbc3e3d"
|
||
},
|
||
{
|
||
"m_Id": "ecf5b1cd23ed49508ae27c5a6fb739ef"
|
||
}
|
||
],
|
||
"m_GroupDatas": [
|
||
{
|
||
"m_Id": "e70c08f10e4d409294eaf85a141fea63"
|
||
},
|
||
{
|
||
"m_Id": "d694ad93c4b94c59bd15f822b6df29b1"
|
||
}
|
||
],
|
||
"m_StickyNoteDatas": [
|
||
{
|
||
"m_Id": "439dd02f325842bbb732bd6fca694c0b"
|
||
},
|
||
{
|
||
"m_Id": "6827c623bb474a9bac239d15f777e2bd"
|
||
}
|
||
],
|
||
"m_Edges": [
|
||
{
|
||
"m_OutputSlot": {
|
||
"m_Node": {
|
||
"m_Id": "16155c0c493f4df295db19f55dbc3e3d"
|
||
},
|
||
"m_SlotId": 0
|
||
},
|
||
"m_InputSlot": {
|
||
"m_Node": {
|
||
"m_Id": "5dcf40d1f8514f8e9c719978d8310e40"
|
||
},
|
||
"m_SlotId": 1
|
||
}
|
||
},
|
||
{
|
||
"m_OutputSlot": {
|
||
"m_Node": {
|
||
"m_Id": "5dcf40d1f8514f8e9c719978d8310e40"
|
||
},
|
||
"m_SlotId": 2
|
||
},
|
||
"m_InputSlot": {
|
||
"m_Node": {
|
||
"m_Id": "ae79b4331f3a4836bef018732a6c020b"
|
||
},
|
||
"m_SlotId": 0
|
||
}
|
||
},
|
||
{
|
||
"m_OutputSlot": {
|
||
"m_Node": {
|
||
"m_Id": "638f7af4a63041d0a25876b92cb6a116"
|
||
},
|
||
"m_SlotId": 2
|
||
},
|
||
"m_InputSlot": {
|
||
"m_Node": {
|
||
"m_Id": "c3cae71806f54828a2f60b8015a87f4b"
|
||
},
|
||
"m_SlotId": 0
|
||
}
|
||
},
|
||
{
|
||
"m_OutputSlot": {
|
||
"m_Node": {
|
||
"m_Id": "ae79b4331f3a4836bef018732a6c020b"
|
||
},
|
||
"m_SlotId": 1
|
||
},
|
||
"m_InputSlot": {
|
||
"m_Node": {
|
||
"m_Id": "a9f1655c8d2c44a3b5add35d592aab34"
|
||
},
|
||
"m_SlotId": 1
|
||
}
|
||
},
|
||
{
|
||
"m_OutputSlot": {
|
||
"m_Node": {
|
||
"m_Id": "c3cae71806f54828a2f60b8015a87f4b"
|
||
},
|
||
"m_SlotId": 2
|
||
},
|
||
"m_InputSlot": {
|
||
"m_Node": {
|
||
"m_Id": "5dcf40d1f8514f8e9c719978d8310e40"
|
||
},
|
||
"m_SlotId": 0
|
||
}
|
||
},
|
||
{
|
||
"m_OutputSlot": {
|
||
"m_Node": {
|
||
"m_Id": "c7c016255ad440b9814558d66aa288b5"
|
||
},
|
||
"m_SlotId": 0
|
||
},
|
||
"m_InputSlot": {
|
||
"m_Node": {
|
||
"m_Id": "638f7af4a63041d0a25876b92cb6a116"
|
||
},
|
||
"m_SlotId": 1
|
||
}
|
||
},
|
||
{
|
||
"m_OutputSlot": {
|
||
"m_Node": {
|
||
"m_Id": "e6320921c63c405f8724dd5b10743c87"
|
||
},
|
||
"m_SlotId": 0
|
||
},
|
||
"m_InputSlot": {
|
||
"m_Node": {
|
||
"m_Id": "638f7af4a63041d0a25876b92cb6a116"
|
||
},
|
||
"m_SlotId": 0
|
||
}
|
||
},
|
||
{
|
||
"m_OutputSlot": {
|
||
"m_Node": {
|
||
"m_Id": "ecf5b1cd23ed49508ae27c5a6fb739ef"
|
||
},
|
||
"m_SlotId": 0
|
||
},
|
||
"m_InputSlot": {
|
||
"m_Node": {
|
||
"m_Id": "c3cae71806f54828a2f60b8015a87f4b"
|
||
},
|
||
"m_SlotId": 1
|
||
}
|
||
}
|
||
],
|
||
"m_VertexContext": {
|
||
"m_Position": {
|
||
"x": 0.0,
|
||
"y": 0.0
|
||
},
|
||
"m_Blocks": []
|
||
},
|
||
"m_FragmentContext": {
|
||
"m_Position": {
|
||
"x": 0.0,
|
||
"y": 0.0
|
||
},
|
||
"m_Blocks": []
|
||
},
|
||
"m_PreviewData": {
|
||
"serializedMesh": {
|
||
"m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}",
|
||
"m_Guid": ""
|
||
},
|
||
"preventRotation": false
|
||
},
|
||
"m_Path": "Artistic/Mask",
|
||
"m_GraphPrecision": 1,
|
||
"m_PreviewMode": 2,
|
||
"m_OutputNode": {
|
||
"m_Id": "a9f1655c8d2c44a3b5add35d592aab34"
|
||
},
|
||
"m_SubDatas": [],
|
||
"m_ActiveTargets": []
|
||
}
|
||
|
||
{
|
||
"m_SGVersion": 0,
|
||
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
|
||
"m_ObjectId": "0b76eec341a746b1adb07047a37b21ab",
|
||
"m_Id": 1,
|
||
"m_DisplayName": "B",
|
||
"m_SlotType": 0,
|
||
"m_Hidden": false,
|
||
"m_ShaderOutputName": "B",
|
||
"m_StageCapability": 3,
|
||
"m_Value": {
|
||
"x": 8.0,
|
||
"y": 1.0,
|
||
"z": 1.0,
|
||
"w": 1.0
|
||
},
|
||
"m_DefaultValue": {
|
||
"x": 0.0,
|
||
"y": 0.0,
|
||
"z": 0.0,
|
||
"w": 0.0
|
||
}
|
||
}
|
||
|
||
{
|
||
"m_SGVersion": 0,
|
||
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
|
||
"m_ObjectId": "11de01fa090f4cfca0c301cf0d5df385",
|
||
"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.PropertyNode",
|
||
"m_ObjectId": "16155c0c493f4df295db19f55dbc3e3d",
|
||
"m_Group": {
|
||
"m_Id": "d694ad93c4b94c59bd15f822b6df29b1"
|
||
},
|
||
"m_Name": "Property",
|
||
"m_DrawState": {
|
||
"m_Expanded": true,
|
||
"m_Position": {
|
||
"serializedVersion": "2",
|
||
"x": -538.0,
|
||
"y": 114.0,
|
||
"width": 112.0,
|
||
"height": 34.0
|
||
}
|
||
},
|
||
"m_Slots": [
|
||
{
|
||
"m_Id": "46ea88ecb1f245f4b34b879348f5c4c8"
|
||
}
|
||
],
|
||
"synonyms": [],
|
||
"m_Precision": 0,
|
||
"m_PreviewExpanded": true,
|
||
"m_DismissedVersion": 0,
|
||
"m_PreviewMode": 0,
|
||
"m_CustomColors": {
|
||
"m_SerializableColors": []
|
||
},
|
||
"m_Property": {
|
||
"m_Id": "4345b023a03b4df88df32b299229f803"
|
||
}
|
||
}
|
||
|
||
{
|
||
"m_SGVersion": 0,
|
||
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
||
"m_ObjectId": "24981eb0509d4e6d9a80fe3a32612cb9",
|
||
"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.Vector1MaterialSlot",
|
||
"m_ObjectId": "34805e2154474a648bd1bc8ea541441f",
|
||
"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": 1,
|
||
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
|
||
"m_ObjectId": "4345b023a03b4df88df32b299229f803",
|
||
"m_Guid": {
|
||
"m_GuidSerialized": "ba5b0a47-02c6-4548-965d-cd08775a1901"
|
||
},
|
||
"m_Name": "Length",
|
||
"m_DefaultRefNameVersion": 1,
|
||
"m_RefNameGeneratedByDisplayName": "Length",
|
||
"m_DefaultReferenceName": "_Length",
|
||
"m_OverrideReferenceName": "",
|
||
"m_GeneratePropertyBlock": true,
|
||
"m_UseCustomSlotLabel": false,
|
||
"m_CustomSlotLabel": "",
|
||
"m_DismissedVersion": 0,
|
||
"m_Precision": 0,
|
||
"overrideHLSLDeclaration": false,
|
||
"hlslDeclarationOverride": 0,
|
||
"m_Hidden": false,
|
||
"m_Value": 8.0,
|
||
"m_FloatType": 0,
|
||
"m_RangeValues": {
|
||
"x": 0.0,
|
||
"y": 1.0
|
||
}
|
||
}
|
||
|
||
{
|
||
"m_SGVersion": 0,
|
||
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
|
||
"m_ObjectId": "439dd02f325842bbb732bd6fca694c0b",
|
||
"m_Title": "Camera Distance Mask",
|
||
"m_Content": "The Camera Distance Mask uses the distance from the camera location to the object’s surface to determine if the mask should be black or white. \nWhen the camera is close to the surface, the mask is black and when it’s further away, the mask is white.",
|
||
"m_TextSize": 0,
|
||
"m_Theme": 0,
|
||
"m_Position": {
|
||
"serializedVersion": "2",
|
||
"x": -1189.0,
|
||
"y": -318.0,
|
||
"width": 247.0,
|
||
"height": 160.0
|
||
},
|
||
"m_Group": {
|
||
"m_Id": ""
|
||
}
|
||
}
|
||
|
||
{
|
||
"m_SGVersion": 0,
|
||
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
|
||
"m_ObjectId": "46bdc024714b41d79910b7971c2c46a3",
|
||
"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.Vector1MaterialSlot",
|
||
"m_ObjectId": "46ea88ecb1f245f4b34b879348f5c4c8",
|
||
"m_Id": 0,
|
||
"m_DisplayName": "Length",
|
||
"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": "47ad76c80f064629b44195f3fba4e221",
|
||
"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": "51aae10cabc347a4a6b909a17bf60985",
|
||
"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": "544bdd56966c46a3b42f37df975e7d73",
|
||
"m_Id": 0,
|
||
"m_DisplayName": "A",
|
||
"m_SlotType": 0,
|
||
"m_Hidden": false,
|
||
"m_ShaderOutputName": "A",
|
||
"m_StageCapability": 3,
|
||
"m_Value": {
|
||
"x": 1.0,
|
||
"y": 1.0,
|
||
"z": 1.0,
|
||
"w": 1.0
|
||
},
|
||
"m_DefaultValue": {
|
||
"x": 0.0,
|
||
"y": 0.0,
|
||
"z": 0.0,
|
||
"w": 0.0
|
||
}
|
||
}
|
||
|
||
{
|
||
"m_SGVersion": 0,
|
||
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
|
||
"m_ObjectId": "5462e39985fb4603bdf9eede12948dfe",
|
||
"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.DivideNode",
|
||
"m_ObjectId": "5dcf40d1f8514f8e9c719978d8310e40",
|
||
"m_Group": {
|
||
"m_Id": "d694ad93c4b94c59bd15f822b6df29b1"
|
||
},
|
||
"m_Name": "Divide",
|
||
"m_DrawState": {
|
||
"m_Expanded": true,
|
||
"m_Position": {
|
||
"serializedVersion": "2",
|
||
"x": -400.0,
|
||
"y": 30.0,
|
||
"width": 126.0,
|
||
"height": 118.0
|
||
}
|
||
},
|
||
"m_Slots": [
|
||
{
|
||
"m_Id": "e068ebe39a57495c9c38ff990adcd49d"
|
||
},
|
||
{
|
||
"m_Id": "aa2165254c8f4d7d86373b89f86fb566"
|
||
},
|
||
{
|
||
"m_Id": "5fc51500e1f14cc5b7a8ee66f2706dee"
|
||
}
|
||
],
|
||
"synonyms": [],
|
||
"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": "5fc51500e1f14cc5b7a8ee66f2706dee",
|
||
"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.CategoryData",
|
||
"m_ObjectId": "6097bb4bb3734026843d70825c4855a0",
|
||
"m_Name": "",
|
||
"m_ChildObjectList": [
|
||
{
|
||
"m_Id": "fb775396eaac48cb9a6ad131a6ef99b2"
|
||
},
|
||
{
|
||
"m_Id": "4345b023a03b4df88df32b299229f803"
|
||
}
|
||
]
|
||
}
|
||
|
||
{
|
||
"m_SGVersion": 0,
|
||
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
||
"m_ObjectId": "614976740ac24eadbffc532525d47f12",
|
||
"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": "638f7af4a63041d0a25876b92cb6a116",
|
||
"m_Group": {
|
||
"m_Id": "e70c08f10e4d409294eaf85a141fea63"
|
||
},
|
||
"m_Name": "Distance",
|
||
"m_DrawState": {
|
||
"m_Expanded": true,
|
||
"m_Position": {
|
||
"serializedVersion": "2",
|
||
"x": -986.0,
|
||
"y": -31.0,
|
||
"width": 128.0,
|
||
"height": 118.0
|
||
}
|
||
},
|
||
"m_Slots": [
|
||
{
|
||
"m_Id": "47ad76c80f064629b44195f3fba4e221"
|
||
},
|
||
{
|
||
"m_Id": "ebe1d8a123cd4177abaa9da92e6a2b0c"
|
||
},
|
||
{
|
||
"m_Id": "51aae10cabc347a4a6b909a17bf60985"
|
||
}
|
||
],
|
||
"synonyms": [],
|
||
"m_Precision": 0,
|
||
"m_PreviewExpanded": false,
|
||
"m_DismissedVersion": 0,
|
||
"m_PreviewMode": 0,
|
||
"m_CustomColors": {
|
||
"m_SerializableColors": []
|
||
}
|
||
}
|
||
|
||
{
|
||
"m_SGVersion": 0,
|
||
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
|
||
"m_ObjectId": "6827c623bb474a9bac239d15f777e2bd",
|
||
"m_Title": "World Position",
|
||
"m_Content": "Uses Abs World space Position for consistency with the Camera position.",
|
||
"m_TextSize": 0,
|
||
"m_Theme": 0,
|
||
"m_Position": {
|
||
"serializedVersion": "2",
|
||
"x": -1002.0,
|
||
"y": 95.0,
|
||
"width": 190.0,
|
||
"height": 100.0
|
||
},
|
||
"m_Group": {
|
||
"m_Id": "e70c08f10e4d409294eaf85a141fea63"
|
||
}
|
||
}
|
||
|
||
{
|
||
"m_SGVersion": 0,
|
||
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
|
||
"m_ObjectId": "754d5617d7104c108fb57ce86389b017",
|
||
"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": "a07e54be18ab412897afaf872252964a",
|
||
"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.SubGraphOutputNode",
|
||
"m_ObjectId": "a9f1655c8d2c44a3b5add35d592aab34",
|
||
"m_Group": {
|
||
"m_Id": ""
|
||
},
|
||
"m_Name": "Output",
|
||
"m_DrawState": {
|
||
"m_Expanded": true,
|
||
"m_Position": {
|
||
"serializedVersion": "2",
|
||
"x": -35.0,
|
||
"y": 30.0,
|
||
"width": 86.0,
|
||
"height": 77.0
|
||
}
|
||
},
|
||
"m_Slots": [
|
||
{
|
||
"m_Id": "bb892b340d4e4d49848bdae488415637"
|
||
}
|
||
],
|
||
"synonyms": [],
|
||
"m_Precision": 0,
|
||
"m_PreviewExpanded": true,
|
||
"m_DismissedVersion": 0,
|
||
"m_PreviewMode": 0,
|
||
"m_CustomColors": {
|
||
"m_SerializableColors": []
|
||
},
|
||
"IsFirstSlotValid": true
|
||
}
|
||
|
||
{
|
||
"m_SGVersion": 0,
|
||
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
|
||
"m_ObjectId": "aa2165254c8f4d7d86373b89f86fb566",
|
||
"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.SaturateNode",
|
||
"m_ObjectId": "ae79b4331f3a4836bef018732a6c020b",
|
||
"m_Group": {
|
||
"m_Id": "d694ad93c4b94c59bd15f822b6df29b1"
|
||
},
|
||
"m_Name": "Saturate",
|
||
"m_DrawState": {
|
||
"m_Expanded": true,
|
||
"m_Position": {
|
||
"serializedVersion": "2",
|
||
"x": -274.0,
|
||
"y": 30.0,
|
||
"width": 128.0,
|
||
"height": 94.0
|
||
}
|
||
},
|
||
"m_Slots": [
|
||
{
|
||
"m_Id": "5462e39985fb4603bdf9eede12948dfe"
|
||
},
|
||
{
|
||
"m_Id": "11de01fa090f4cfca0c301cf0d5df385"
|
||
}
|
||
],
|
||
"synonyms": [],
|
||
"m_Precision": 0,
|
||
"m_PreviewExpanded": false,
|
||
"m_DismissedVersion": 0,
|
||
"m_PreviewMode": 0,
|
||
"m_CustomColors": {
|
||
"m_SerializableColors": []
|
||
}
|
||
}
|
||
|
||
{
|
||
"m_SGVersion": 0,
|
||
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
||
"m_ObjectId": "bb33b0e735e64d98b3e975c05bd0645e",
|
||
"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.Vector1MaterialSlot",
|
||
"m_ObjectId": "bb892b340d4e4d49848bdae488415637",
|
||
"m_Id": 1,
|
||
"m_DisplayName": "Out",
|
||
"m_SlotType": 0,
|
||
"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.SubtractNode",
|
||
"m_ObjectId": "c3cae71806f54828a2f60b8015a87f4b",
|
||
"m_Group": {
|
||
"m_Id": "d694ad93c4b94c59bd15f822b6df29b1"
|
||
},
|
||
"m_Name": "Subtract",
|
||
"m_DrawState": {
|
||
"m_Expanded": true,
|
||
"m_Position": {
|
||
"serializedVersion": "2",
|
||
"x": -552.0,
|
||
"y": -28.0,
|
||
"width": 126.0,
|
||
"height": 118.0
|
||
}
|
||
},
|
||
"m_Slots": [
|
||
{
|
||
"m_Id": "544bdd56966c46a3b42f37df975e7d73"
|
||
},
|
||
{
|
||
"m_Id": "0b76eec341a746b1adb07047a37b21ab"
|
||
},
|
||
{
|
||
"m_Id": "e11b59643f46415fa40941c3bf5c9d0d"
|
||
}
|
||
],
|
||
"synonyms": [],
|
||
"m_Precision": 0,
|
||
"m_PreviewExpanded": false,
|
||
"m_DismissedVersion": 0,
|
||
"m_PreviewMode": 0,
|
||
"m_CustomColors": {
|
||
"m_SerializableColors": []
|
||
}
|
||
}
|
||
|
||
{
|
||
"m_SGVersion": 1,
|
||
"m_Type": "UnityEditor.ShaderGraph.PositionNode",
|
||
"m_ObjectId": "c7c016255ad440b9814558d66aa288b5",
|
||
"m_Group": {
|
||
"m_Id": "e70c08f10e4d409294eaf85a141fea63"
|
||
},
|
||
"m_Name": "Position",
|
||
"m_DrawState": {
|
||
"m_Expanded": true,
|
||
"m_Position": {
|
||
"serializedVersion": "2",
|
||
"x": -1222.0,
|
||
"y": 20.0,
|
||
"width": 206.0,
|
||
"height": 131.0
|
||
}
|
||
},
|
||
"m_Slots": [
|
||
{
|
||
"m_Id": "e6255b50aa4743f3b3c076908da972b4"
|
||
}
|
||
],
|
||
"synonyms": [],
|
||
"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.Vector1MaterialSlot",
|
||
"m_ObjectId": "c968a96eb4d548d2bbd735ff5810e8cc",
|
||
"m_Id": 0,
|
||
"m_DisplayName": "Start Distance",
|
||
"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.GroupData",
|
||
"m_ObjectId": "d694ad93c4b94c59bd15f822b6df29b1",
|
||
"m_Title": "Create a Zero to One gradient using Offset and Distance",
|
||
"m_Position": {
|
||
"x": -727.0,
|
||
"y": -87.0
|
||
}
|
||
}
|
||
|
||
{
|
||
"m_SGVersion": 0,
|
||
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
|
||
"m_ObjectId": "e068ebe39a57495c9c38ff990adcd49d",
|
||
"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": "e1029fefe43049ff9658a73df52578ce",
|
||
"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": "e11b59643f46415fa40941c3bf5c9d0d",
|
||
"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": "e6255b50aa4743f3b3c076908da972b4",
|
||
"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.CameraNode",
|
||
"m_ObjectId": "e6320921c63c405f8724dd5b10743c87",
|
||
"m_Group": {
|
||
"m_Id": "e70c08f10e4d409294eaf85a141fea63"
|
||
},
|
||
"m_Name": "Camera",
|
||
"m_DrawState": {
|
||
"m_Expanded": false,
|
||
"m_Position": {
|
||
"serializedVersion": "2",
|
||
"x": -1116.0,
|
||
"y": -63.0,
|
||
"width": 97.0,
|
||
"height": 77.0
|
||
}
|
||
},
|
||
"m_Slots": [
|
||
{
|
||
"m_Id": "46bdc024714b41d79910b7971c2c46a3"
|
||
},
|
||
{
|
||
"m_Id": "754d5617d7104c108fb57ce86389b017"
|
||
},
|
||
{
|
||
"m_Id": "614976740ac24eadbffc532525d47f12"
|
||
},
|
||
{
|
||
"m_Id": "24981eb0509d4e6d9a80fe3a32612cb9"
|
||
},
|
||
{
|
||
"m_Id": "e1029fefe43049ff9658a73df52578ce"
|
||
},
|
||
{
|
||
"m_Id": "a07e54be18ab412897afaf872252964a"
|
||
},
|
||
{
|
||
"m_Id": "34805e2154474a648bd1bc8ea541441f"
|
||
},
|
||
{
|
||
"m_Id": "bb33b0e735e64d98b3e975c05bd0645e"
|
||
}
|
||
],
|
||
"synonyms": [],
|
||
"m_Precision": 0,
|
||
"m_PreviewExpanded": true,
|
||
"m_DismissedVersion": 0,
|
||
"m_PreviewMode": 0,
|
||
"m_CustomColors": {
|
||
"m_SerializableColors": []
|
||
}
|
||
}
|
||
|
||
{
|
||
"m_SGVersion": 0,
|
||
"m_Type": "UnityEditor.ShaderGraph.GroupData",
|
||
"m_ObjectId": "e70c08f10e4d409294eaf85a141fea63",
|
||
"m_Title": "Measure the distance from camera to pixel",
|
||
"m_Position": {
|
||
"x": -1247.0,
|
||
"y": -122.0
|
||
}
|
||
}
|
||
|
||
{
|
||
"m_SGVersion": 0,
|
||
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
|
||
"m_ObjectId": "ebe1d8a123cd4177abaa9da92e6a2b0c",
|
||
"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.PropertyNode",
|
||
"m_ObjectId": "ecf5b1cd23ed49508ae27c5a6fb739ef",
|
||
"m_Group": {
|
||
"m_Id": "d694ad93c4b94c59bd15f822b6df29b1"
|
||
},
|
||
"m_Name": "Property",
|
||
"m_DrawState": {
|
||
"m_Expanded": true,
|
||
"m_Position": {
|
||
"serializedVersion": "2",
|
||
"x": -702.0,
|
||
"y": 30.0,
|
||
"width": 150.0,
|
||
"height": 34.0
|
||
}
|
||
},
|
||
"m_Slots": [
|
||
{
|
||
"m_Id": "c968a96eb4d548d2bbd735ff5810e8cc"
|
||
}
|
||
],
|
||
"synonyms": [],
|
||
"m_Precision": 0,
|
||
"m_PreviewExpanded": true,
|
||
"m_DismissedVersion": 0,
|
||
"m_PreviewMode": 0,
|
||
"m_CustomColors": {
|
||
"m_SerializableColors": []
|
||
},
|
||
"m_Property": {
|
||
"m_Id": "fb775396eaac48cb9a6ad131a6ef99b2"
|
||
}
|
||
}
|
||
|
||
{
|
||
"m_SGVersion": 1,
|
||
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
|
||
"m_ObjectId": "fb775396eaac48cb9a6ad131a6ef99b2",
|
||
"m_Guid": {
|
||
"m_GuidSerialized": "7aad66b6-5f07-464b-a1d3-725b1e3b3d28"
|
||
},
|
||
"m_Name": "Start Distance",
|
||
"m_DefaultRefNameVersion": 1,
|
||
"m_RefNameGeneratedByDisplayName": "Start Distance",
|
||
"m_DefaultReferenceName": "_Start_Distance",
|
||
"m_OverrideReferenceName": "",
|
||
"m_GeneratePropertyBlock": true,
|
||
"m_UseCustomSlotLabel": false,
|
||
"m_CustomSlotLabel": "",
|
||
"m_DismissedVersion": 0,
|
||
"m_Precision": 0,
|
||
"overrideHLSLDeclaration": false,
|
||
"hlslDeclarationOverride": 0,
|
||
"m_Hidden": false,
|
||
"m_Value": 8.0,
|
||
"m_FloatType": 0,
|
||
"m_RangeValues": {
|
||
"x": 0.0,
|
||
"y": 1.0
|
||
}
|
||
}
|
||
|