implementation of drecon in unity 2022 lts forked from: https://github.com/joanllobera/marathon-envs
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

876 lines
19 KiB

{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "76c054b7926c494481ed32af56bdbbfe",
"m_Properties": [
{
"m_Id": "0f3d5b15f00f25898418d718b0699bee"
},
{
"m_Id": "727687959e67c4878c0a46f0cac50761"
}
],
"m_Keywords": [],
"m_Dropdowns": [],
"m_CategoryData": [
{
"m_Id": "7b45d745c2614088ba9561043bf6d02f"
}
],
"m_Nodes": [
{
"m_Id": "4fa601be33f19c8180294adadbd852c7"
},
{
"m_Id": "a83bcb39a797d6879b6a5b1960593048"
},
{
"m_Id": "efd54406300a7a80877c5840282848d5"
},
{
"m_Id": "a3b2cf934b979e80a8cd233a23f5e1ca"
},
{
"m_Id": "07d8de4587b4898d925d08508555a51e"
},
{
"m_Id": "eed47b401fc6fa86841e4e4c1d5629e3"
},
{
"m_Id": "eca76ad1a96a4b82920989a2acfddc22"
}
],
"m_GroupDatas": [],
"m_StickyNoteDatas": [],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "07d8de4587b4898d925d08508555a51e"
},
"m_SlotId": 5
},
"m_InputSlot": {
"m_Node": {
"m_Id": "4fa601be33f19c8180294adadbd852c7"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "07d8de4587b4898d925d08508555a51e"
},
"m_SlotId": 6
},
"m_InputSlot": {
"m_Node": {
"m_Id": "4fa601be33f19c8180294adadbd852c7"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "a3b2cf934b979e80a8cd233a23f5e1ca"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "07d8de4587b4898d925d08508555a51e"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "a83bcb39a797d6879b6a5b1960593048"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "07d8de4587b4898d925d08508555a51e"
},
"m_SlotId": 2
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "eca76ad1a96a4b82920989a2acfddc22"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "07d8de4587b4898d925d08508555a51e"
},
"m_SlotId": 4
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "eed47b401fc6fa86841e4e4c1d5629e3"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "07d8de4587b4898d925d08508555a51e"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "efd54406300a7a80877c5840282848d5"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "07d8de4587b4898d925d08508555a51e"
},
"m_SlotId": 3
}
}
],
"m_VertexContext": {
"m_Position": {
"x": 566.0,
"y": -20.0
},
"m_Blocks": []
},
"m_FragmentContext": {
"m_Position": {
"x": 566.0,
"y": 180.0
},
"m_Blocks": []
},
"m_PreviewData": {
"serializedMesh": {
"m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}",
"m_Guid": ""
},
"preventRotation": false
},
"m_Path": "Sub Graphs",
"m_GraphPrecision": 0,
"m_PreviewMode": 2,
"m_OutputNode": {
"m_Id": "4fa601be33f19c8180294adadbd852c7"
},
"m_ActiveTargets": []
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode",
"m_ObjectId": "07d8de4587b4898d925d08508555a51e",
"m_Group": {
"m_Id": ""
},
"m_Name": "AdditionalLights (Custom Function)",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 79.9999771118164,
"y": -160.0,
"width": 234.0,
"height": 373.9999694824219
}
},
"m_Slots": [
{
"m_Id": "45ceaaf8402f9d8fa10dc2a8f6dbb5b9"
},
{
"m_Id": "dd163b620be9ab8290d453df4cc98d47"
},
{
"m_Id": "3f8090469f70c281aaa2e3a36d0b6af8"
},
{
"m_Id": "d4df744700cccc8985d47221c06c5be3"
},
{
"m_Id": "a12a20114246ed888feff2d67adf176a"
},
{
"m_Id": "d72f5728caad4e838ff8496bb288b4f6"
},
{
"m_Id": "5ec624ec7fe2f98dbbf790407c06c921"
}
],
"synonyms": [
"code",
"HLSL"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SourceType": 0,
"m_FunctionName": "AdditionalLights",
"m_FunctionSource": "fd96fa3ae441a2a43a4be1835e3752d0",
"m_FunctionBody": "Enter function body here..."
}
{
"m_SGVersion": 2,
"m_Type": "UnityEditor.ShaderGraph.Internal.ColorShaderProperty",
"m_ObjectId": "0f3d5b15f00f25898418d718b0699bee",
"m_Guid": {
"m_GuidSerialized": "71d0b598-5c0c-471a-8f13-7b80fc929396"
},
"m_Name": "Specular",
"m_DefaultRefNameVersion": 0,
"m_RefNameGeneratedByDisplayName": "",
"m_DefaultReferenceName": "Color_DE04EA0F",
"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": {
"r": 1.0,
"g": 1.0,
"b": 1.0,
"a": 0.0
},
"isMainColor": false,
"m_ColorMode": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "3f8090469f70c281aaa2e3a36d0b6af8",
"m_Id": 5,
"m_DisplayName": "Diffuse",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Diffuse",
"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": "45ceaaf8402f9d8fa10dc2a8f6dbb5b9",
"m_Id": 0,
"m_DisplayName": "SpecColor",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "SpecColor",
"m_StageCapability": 3,
"m_Value": {
"x": 1.0,
"y": 1.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.SubGraphOutputNode",
"m_ObjectId": "4fa601be33f19c8180294adadbd852c7",
"m_Group": {
"m_Id": ""
},
"m_Name": "Output",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 566.0,
"y": -20.0,
"width": 107.0,
"height": 101.0
}
},
"m_Slots": [
{
"m_Id": "916ffb43ae6a66879aa872e948824503"
},
{
"m_Id": "6ee16f43694fdd8eab1149e173821cd2"
}
],
"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.Vector4MaterialSlot",
"m_ObjectId": "581db57fd836468a9f884802a2937ebd",
"m_Id": 0,
"m_DisplayName": "Specular",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "5ec624ec7fe2f98dbbf790407c06c921",
"m_Id": 4,
"m_DisplayName": "WorldView",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "WorldView",
"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": "6ee16f43694fdd8eab1149e173821cd2",
"m_Id": 1,
"m_DisplayName": "Specular",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Specular",
"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.Internal.Vector1ShaderProperty",
"m_ObjectId": "727687959e67c4878c0a46f0cac50761",
"m_Guid": {
"m_GuidSerialized": "b2259ed9-dafb-429e-9aab-5503c5a19021"
},
"m_Name": "Smoothness",
"m_DefaultRefNameVersion": 0,
"m_RefNameGeneratedByDisplayName": "",
"m_DefaultReferenceName": "Vector1_EC02E6EF",
"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": 0.5,
"m_FloatType": 0,
"m_RangeValues": {
"x": 0.0,
"y": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.CategoryData",
"m_ObjectId": "7b45d745c2614088ba9561043bf6d02f",
"m_Name": "",
"m_ChildObjectList": [
{
"m_Id": "0f3d5b15f00f25898418d718b0699bee"
},
{
"m_Id": "727687959e67c4878c0a46f0cac50761"
}
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "7c49e0d0e5091983944d1a32f0ae00df",
"m_Id": 0,
"m_DisplayName": "Smoothness",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": [
"X"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "916ffb43ae6a66879aa872e948824503",
"m_Id": 0,
"m_DisplayName": "Diffuse",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Diffuse",
"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": "9dd5f8bd50cf459f94f13b6cf52a841e",
"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.Vector3MaterialSlot",
"m_ObjectId": "a12a20114246ed888feff2d67adf176a",
"m_Id": 2,
"m_DisplayName": "WorldPosition",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "WorldPosition",
"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.PropertyNode",
"m_ObjectId": "a3b2cf934b979e80a8cd233a23f5e1ca",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -295.50006103515627,
"y": -311.75,
"width": 208.0,
"height": 127.0
}
},
"m_Slots": [
{
"m_Id": "581db57fd836468a9f884802a2937ebd"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "0f3d5b15f00f25898418d718b0699bee"
}
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.PositionNode",
"m_ObjectId": "a83bcb39a797d6879b6a5b1960593048",
"m_Group": {
"m_Id": ""
},
"m_Name": "Position",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -295.50006103515627,
"y": -87.749755859375,
"width": 206.00001525878907,
"height": 130.0
}
},
"m_Slots": [
{
"m_Id": "f0467d736d99cc8985f896039f1df5a4"
}
],
"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.Vector3MaterialSlot",
"m_ObjectId": "d4df744700cccc8985d47221c06c5be3",
"m_Id": 6,
"m_DisplayName": "Specular",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Specular",
"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": "d72f5728caad4e838ff8496bb288b4f6",
"m_Id": 3,
"m_DisplayName": "WorldNormal",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "WorldNormal",
"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.Vector1MaterialSlot",
"m_ObjectId": "dd163b620be9ab8290d453df4cc98d47",
"m_Id": 1,
"m_DisplayName": "Smoothness",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Smoothness",
"m_StageCapability": 3,
"m_Value": 1.0,
"m_DefaultValue": 0.0,
"m_Labels": [
"X"
]
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.ViewDirectionNode",
"m_ObjectId": "eca76ad1a96a4b82920989a2acfddc22",
"m_Group": {
"m_Id": ""
},
"m_Name": "View Direction",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -297.0,
"y": 188.9999542236328,
"width": 208.00003051757813,
"height": 315.00006103515627
}
},
"m_Slots": [
{
"m_Id": "9dd5f8bd50cf459f94f13b6cf52a841e"
}
],
"synonyms": [
"eye direction"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 2,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Space": 2
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "eed47b401fc6fa86841e4e4c1d5629e3",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -229.50006103515626,
"y": -173.749755859375,
"width": 135.00001525878907,
"height": 77.00000762939453
}
},
"m_Slots": [
{
"m_Id": "7c49e0d0e5091983944d1a32f0ae00df"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "727687959e67c4878c0a46f0cac50761"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.NormalVectorNode",
"m_ObjectId": "efd54406300a7a80877c5840282848d5",
"m_Group": {
"m_Id": ""
},
"m_Name": "Normal Vector",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -296.50006103515627,
"y": 42.250244140625,
"width": 206.00001525878907,
"height": 130.0
}
},
"m_Slots": [
{
"m_Id": "f4a2ddb18bb1668f9edae494adac6d77"
}
],
"synonyms": [
"surface direction"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 2,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Space": 2
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "f0467d736d99cc8985f896039f1df5a4",
"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": "f4a2ddb18bb1668f9edae494adac6d77",
"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"
]
}