611 lines
14 KiB
Plaintext
611 lines
14 KiB
Plaintext
{
|
|
"m_SGVersion": 2,
|
|
"m_Type": "UnityEditor.ShaderGraph.GraphData",
|
|
"m_ObjectId": "ace6b335ddf64be1ba7273626d99fb87",
|
|
"m_Properties": [],
|
|
"m_Keywords": [
|
|
{
|
|
"m_Id": "a3f636e1a5594dc58162c8ff4ceec612"
|
|
},
|
|
{
|
|
"m_Id": "7f2b934006314fa08e868d6a9039502c"
|
|
},
|
|
{
|
|
"m_Id": "6a8b9e1ac00e4d488b6f3c89cc1097cb"
|
|
},
|
|
{
|
|
"m_Id": "3f61c78c05d54095931ed00afb3801ec"
|
|
}
|
|
],
|
|
"m_Nodes": [
|
|
{
|
|
"m_Id": "6ff3ca44940b878fb0d2ab04e0635758"
|
|
},
|
|
{
|
|
"m_Id": "14887e16113c0585bc161a515c21ad8c"
|
|
},
|
|
{
|
|
"m_Id": "fa7f2fdd88d70686a25f29c2ccb3d76d"
|
|
},
|
|
{
|
|
"m_Id": "11292b6c0c689c87bc98d7fd9c2870d9"
|
|
},
|
|
{
|
|
"m_Id": "4b12b0ecf10af88db493f343a2acaa6c"
|
|
}
|
|
],
|
|
"m_GroupDatas": [],
|
|
"m_StickyNoteDatas": [],
|
|
"m_Edges": [
|
|
{
|
|
"m_OutputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "11292b6c0c689c87bc98d7fd9c2870d9"
|
|
},
|
|
"m_SlotId": 0
|
|
},
|
|
"m_InputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "fa7f2fdd88d70686a25f29c2ccb3d76d"
|
|
},
|
|
"m_SlotId": 4
|
|
}
|
|
},
|
|
{
|
|
"m_OutputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "14887e16113c0585bc161a515c21ad8c"
|
|
},
|
|
"m_SlotId": 0
|
|
},
|
|
"m_InputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "fa7f2fdd88d70686a25f29c2ccb3d76d"
|
|
},
|
|
"m_SlotId": 3
|
|
}
|
|
},
|
|
{
|
|
"m_OutputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "4b12b0ecf10af88db493f343a2acaa6c"
|
|
},
|
|
"m_SlotId": 0
|
|
},
|
|
"m_InputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "fa7f2fdd88d70686a25f29c2ccb3d76d"
|
|
},
|
|
"m_SlotId": 6
|
|
}
|
|
},
|
|
{
|
|
"m_OutputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "fa7f2fdd88d70686a25f29c2ccb3d76d"
|
|
},
|
|
"m_SlotId": 5
|
|
},
|
|
"m_InputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "6ff3ca44940b878fb0d2ab04e0635758"
|
|
},
|
|
"m_SlotId": 1
|
|
}
|
|
}
|
|
],
|
|
"m_VertexContext": {
|
|
"m_Position": {
|
|
"x": 292.0,
|
|
"y": -85.00003814697266
|
|
},
|
|
"m_Blocks": []
|
|
},
|
|
"m_FragmentContext": {
|
|
"m_Position": {
|
|
"x": 292.0,
|
|
"y": 114.99996185302735
|
|
},
|
|
"m_Blocks": []
|
|
},
|
|
"m_PreviewData": {
|
|
"serializedMesh": {
|
|
"m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}",
|
|
"m_Guid": ""
|
|
}
|
|
},
|
|
"m_Path": "Sub Graphs",
|
|
"m_ConcretePrecision": 0,
|
|
"m_PreviewMode": 2,
|
|
"m_OutputNode": {
|
|
"m_Id": "6ff3ca44940b878fb0d2ab04e0635758"
|
|
},
|
|
"m_ActiveTargets": []
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.NormalVectorNode",
|
|
"m_ObjectId": "11292b6c0c689c87bc98d7fd9c2870d9",
|
|
"m_Group": {
|
|
"m_Id": ""
|
|
},
|
|
"m_Name": "Normal Vector",
|
|
"m_DrawState": {
|
|
"m_Expanded": true,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": -322.0000305175781,
|
|
"y": -16.99999237060547,
|
|
"width": 206.00001525878907,
|
|
"height": 130.00001525878907
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "2b20f22f85a7de82bd13278a1ce1aac7"
|
|
}
|
|
],
|
|
"synonyms": [],
|
|
"m_Precision": 0,
|
|
"m_PreviewExpanded": false,
|
|
"m_PreviewMode": 2,
|
|
"m_CustomColors": {
|
|
"m_SerializableColors": []
|
|
},
|
|
"m_Space": 0
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 1,
|
|
"m_Type": "UnityEditor.ShaderGraph.PositionNode",
|
|
"m_ObjectId": "14887e16113c0585bc161a515c21ad8c",
|
|
"m_Group": {
|
|
"m_Id": ""
|
|
},
|
|
"m_Name": "Position",
|
|
"m_DrawState": {
|
|
"m_Expanded": true,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": -327.00006103515627,
|
|
"y": -149.99998474121095,
|
|
"width": 206.00001525878907,
|
|
"height": 130.00001525878907
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "bec33244469a2984a161fc093048f8f5"
|
|
}
|
|
],
|
|
"synonyms": [],
|
|
"m_Precision": 1,
|
|
"m_PreviewExpanded": false,
|
|
"m_PreviewMode": 2,
|
|
"m_CustomColors": {
|
|
"m_SerializableColors": []
|
|
},
|
|
"m_Space": 0
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
|
|
"m_ObjectId": "2b20f22f85a7de82bd13278a1ce1aac7",
|
|
"m_Id": 0,
|
|
"m_DisplayName": "Out",
|
|
"m_SlotType": 1,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "Out",
|
|
"m_StageCapability": 3,
|
|
"m_Value": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 1.0
|
|
},
|
|
"m_DefaultValue": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.0
|
|
},
|
|
"m_Labels": [
|
|
"X",
|
|
"Y",
|
|
"Z"
|
|
]
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.ShaderKeyword",
|
|
"m_ObjectId": "3f61c78c05d54095931ed00afb3801ec",
|
|
"m_Guid": {
|
|
"m_GuidSerialized": "64e90595-8cd6-4ffc-9b73-31acc35eb77a"
|
|
},
|
|
"m_Name": "Untextured Geometry Settings",
|
|
"m_DefaultReferenceName": "ENUM_3F61C78C05D54095931ED00AFB3801EC",
|
|
"m_OverrideReferenceName": "DK_UNTEXTURED_FRAGMENT",
|
|
"m_GeneratePropertyBlock": true,
|
|
"m_KeywordType": 1,
|
|
"m_KeywordDefinition": 0,
|
|
"m_KeywordScope": 0,
|
|
"m_Entries": [
|
|
{
|
|
"id": 1,
|
|
"displayName": "INFER",
|
|
"referenceName": "INFER"
|
|
},
|
|
{
|
|
"id": 2,
|
|
"displayName": "COLORIZE",
|
|
"referenceName": "COLORIZE"
|
|
},
|
|
{
|
|
"id": 3,
|
|
"displayName": "CLIP",
|
|
"referenceName": "CLIP"
|
|
}
|
|
],
|
|
"m_Value": 0,
|
|
"m_IsEditable": true
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.ViewDirectionNode",
|
|
"m_ObjectId": "4b12b0ecf10af88db493f343a2acaa6c",
|
|
"m_Group": {
|
|
"m_Id": ""
|
|
},
|
|
"m_Name": "View Direction",
|
|
"m_DrawState": {
|
|
"m_Expanded": true,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": -340.0000305175781,
|
|
"y": 123.0000228881836,
|
|
"width": 206.00001525878907,
|
|
"height": 130.00001525878907
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "75f09f63847d5d8bb479896d0953b3ff"
|
|
}
|
|
],
|
|
"synonyms": [],
|
|
"m_Precision": 0,
|
|
"m_PreviewExpanded": false,
|
|
"m_PreviewMode": 2,
|
|
"m_CustomColors": {
|
|
"m_SerializableColors": []
|
|
},
|
|
"m_Space": 0
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
|
|
"m_ObjectId": "60e992d836207482984a896a01106dbb",
|
|
"m_Id": 4,
|
|
"m_DisplayName": "object normal",
|
|
"m_SlotType": 0,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "objectnormal",
|
|
"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": [
|
|
"X",
|
|
"Y",
|
|
"Z"
|
|
]
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.ShaderKeyword",
|
|
"m_ObjectId": "6a8b9e1ac00e4d488b6f3c89cc1097cb",
|
|
"m_Guid": {
|
|
"m_GuidSerialized": "fdd7d113-dba4-4c06-ba0a-6a3d7b6a7ad4"
|
|
},
|
|
"m_Name": "Use Edge Mask",
|
|
"m_DefaultReferenceName": "BOOLEAN_8460332B_ON",
|
|
"m_OverrideReferenceName": "DK_USE_EDGEMASK",
|
|
"m_GeneratePropertyBlock": true,
|
|
"m_KeywordType": 0,
|
|
"m_KeywordDefinition": 0,
|
|
"m_KeywordScope": 0,
|
|
"m_Entries": [],
|
|
"m_Value": 0,
|
|
"m_IsEditable": true
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode",
|
|
"m_ObjectId": "6ff3ca44940b878fb0d2ab04e0635758",
|
|
"m_Group": {
|
|
"m_Id": ""
|
|
},
|
|
"m_Name": "Out_Vector3",
|
|
"m_DrawState": {
|
|
"m_Expanded": true,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": 292.0,
|
|
"y": -85.00003814697266,
|
|
"width": 137.0,
|
|
"height": 77.0
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "9f4ec70f073ae48f8f199e1073d5b0e7"
|
|
}
|
|
],
|
|
"synonyms": [],
|
|
"m_Precision": 0,
|
|
"m_PreviewExpanded": true,
|
|
"m_PreviewMode": 0,
|
|
"m_CustomColors": {
|
|
"m_SerializableColors": []
|
|
},
|
|
"IsFirstSlotValid": true
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
|
|
"m_ObjectId": "75f09f63847d5d8bb479896d0953b3ff",
|
|
"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": [
|
|
"X",
|
|
"Y",
|
|
"Z"
|
|
]
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
|
|
"m_ObjectId": "766e2a72766a418fbd553954f82b7fdf",
|
|
"m_Id": 3,
|
|
"m_DisplayName": "object position",
|
|
"m_SlotType": 0,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "objectposition",
|
|
"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": [
|
|
"X",
|
|
"Y",
|
|
"Z"
|
|
]
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.ShaderKeyword",
|
|
"m_ObjectId": "7f2b934006314fa08e868d6a9039502c",
|
|
"m_Guid": {
|
|
"m_GuidSerialized": "b187e815-0a7c-48b2-af6a-0fd02a4576f3"
|
|
},
|
|
"m_Name": "Debug Edge Mask",
|
|
"m_DefaultReferenceName": "BOOLEAN_6B279B31_ON",
|
|
"m_OverrideReferenceName": "DK_DEBUG_EDGEMASK",
|
|
"m_GeneratePropertyBlock": true,
|
|
"m_KeywordType": 0,
|
|
"m_KeywordDefinition": 0,
|
|
"m_KeywordScope": 0,
|
|
"m_Entries": [],
|
|
"m_Value": 0,
|
|
"m_IsEditable": true
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
|
|
"m_ObjectId": "9f4ec70f073ae48f8f199e1073d5b0e7",
|
|
"m_Id": 1,
|
|
"m_DisplayName": "color",
|
|
"m_SlotType": 0,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "color",
|
|
"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": [
|
|
"X",
|
|
"Y",
|
|
"Z"
|
|
]
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.ShaderKeyword",
|
|
"m_ObjectId": "a3f636e1a5594dc58162c8ff4ceec612",
|
|
"m_Guid": {
|
|
"m_GuidSerialized": "12f884e2-1008-4abd-b689-01de6378344e"
|
|
},
|
|
"m_Name": "Debug Color",
|
|
"m_DefaultReferenceName": "BOOLEAN_8864CDC0_ON",
|
|
"m_OverrideReferenceName": "DK_USE_DEBUG_COLOR",
|
|
"m_GeneratePropertyBlock": true,
|
|
"m_KeywordType": 0,
|
|
"m_KeywordDefinition": 0,
|
|
"m_KeywordScope": 0,
|
|
"m_Entries": [],
|
|
"m_Value": 0,
|
|
"m_IsEditable": true
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
|
|
"m_ObjectId": "ae8d8703049d5d8eb8492f8d0548056b",
|
|
"m_Id": 6,
|
|
"m_DisplayName": "object view direction",
|
|
"m_SlotType": 0,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "objectviewdirection",
|
|
"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": [
|
|
"X",
|
|
"Y",
|
|
"Z"
|
|
]
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
|
|
"m_ObjectId": "bec33244469a2984a161fc093048f8f5",
|
|
"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": [
|
|
"X",
|
|
"Y",
|
|
"Z"
|
|
]
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 1,
|
|
"m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode",
|
|
"m_ObjectId": "fa7f2fdd88d70686a25f29c2ccb3d76d",
|
|
"m_Group": {
|
|
"m_Id": ""
|
|
},
|
|
"m_Name": "DepthkitStudioFragment (Custom Function)",
|
|
"m_DrawState": {
|
|
"m_Expanded": true,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": -14.999993324279786,
|
|
"y": -86.00000762939453,
|
|
"width": 249.0,
|
|
"height": 142.0
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "766e2a72766a418fbd553954f82b7fdf"
|
|
},
|
|
{
|
|
"m_Id": "60e992d836207482984a896a01106dbb"
|
|
},
|
|
{
|
|
"m_Id": "fdc0988162d7d68787761b49e2672953"
|
|
},
|
|
{
|
|
"m_Id": "ae8d8703049d5d8eb8492f8d0548056b"
|
|
}
|
|
],
|
|
"synonyms": [],
|
|
"m_Precision": 0,
|
|
"m_PreviewExpanded": false,
|
|
"m_PreviewMode": 0,
|
|
"m_CustomColors": {
|
|
"m_SerializableColors": []
|
|
},
|
|
"m_SourceType": 0,
|
|
"m_FunctionName": "DepthkitStudioFragment",
|
|
"m_FunctionSource": "dd1362e061ce90145827fc495c9cd566",
|
|
"m_FunctionBody": "Enter function body here..."
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
|
|
"m_ObjectId": "fdc0988162d7d68787761b49e2672953",
|
|
"m_Id": 5,
|
|
"m_DisplayName": "color",
|
|
"m_SlotType": 1,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "color",
|
|
"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": [
|
|
"X",
|
|
"Y",
|
|
"Z"
|
|
]
|
|
}
|
|
|