1
0
mirror of https://projects.caleb-brown.dev/UDRI-XRT/UDRIGEEKCup2024.git synced 2025-01-22 15:18:25 -05:00
UDRIGEEKCup2024/Assets/MobileARTemplateAssets/Shaders/ShadowReceiver/MainLightShadowsSubgraph.shadersubgraph
2024-04-05 11:33:14 -04:00

640 lines
15 KiB
Plaintext

{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "6ccc676f731a493fafa9835286dfc528",
"m_Properties": [
{
"m_Id": "7ea1bbbacf460c879f6d8c85fd91750d"
}
],
"m_Keywords": [
{
"m_Id": "fd52011850ba44c28114430ca2d357f2"
},
{
"m_Id": "70080533ec814c13a94c4028ed1d264b"
}
],
"m_Dropdowns": [],
"m_CategoryData": [
{
"m_Id": "1a0133ec0b7148738854ac5fbfdb06c6"
}
],
"m_Nodes": [
{
"m_Id": "0f043bb7e9b9d1849a740f31c19b79a8"
},
{
"m_Id": "3be2118d2270ff818ec5f0f1353e249f"
},
{
"m_Id": "65e443cb15a9fb859a50ebae06e81569"
},
{
"m_Id": "4f79f9fd24d2450fbfd056685c845f8a"
},
{
"m_Id": "a73253d1c5e2424c89b6af884a7eb179"
}
],
"m_GroupDatas": [],
"m_StickyNoteDatas": [],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "3be2118d2270ff818ec5f0f1353e249f"
},
"m_SlotId": 4
},
"m_InputSlot": {
"m_Node": {
"m_Id": "0f043bb7e9b9d1849a740f31c19b79a8"
},
"m_SlotId": 4
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "4f79f9fd24d2450fbfd056685c845f8a"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "a73253d1c5e2424c89b6af884a7eb179"
},
"m_SlotId": 2
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "65e443cb15a9fb859a50ebae06e81569"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "a73253d1c5e2424c89b6af884a7eb179"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "65e443cb15a9fb859a50ebae06e81569"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "a73253d1c5e2424c89b6af884a7eb179"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "a73253d1c5e2424c89b6af884a7eb179"
},
"m_SlotId": 3
},
"m_InputSlot": {
"m_Node": {
"m_Id": "3be2118d2270ff818ec5f0f1353e249f"
},
"m_SlotId": 0
}
}
],
"m_VertexContext": {
"m_Position": {
"x": 259.0,
"y": -74.0
},
"m_Blocks": []
},
"m_FragmentContext": {
"m_Position": {
"x": 259.0,
"y": 126.0
},
"m_Blocks": []
},
"m_PreviewData": {
"serializedMesh": {
"m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}",
"m_Guid": ""
},
"preventRotation": false
},
"m_Path": "Custom Lighting",
"m_GraphPrecision": 0,
"m_PreviewMode": 2,
"m_OutputNode": {
"m_Id": "0f043bb7e9b9d1849a740f31c19b79a8"
},
"m_ActiveTargets": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode",
"m_ObjectId": "0f043bb7e9b9d1849a740f31c19b79a8",
"m_Group": {
"m_Id": ""
},
"m_Name": "Out_Vector1",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 278.0,
"y": -197.00003051757813,
"width": 123.99996948242188,
"height": 77.00003051757813
}
},
"m_Slots": [
{
"m_Id": "a8921ba9d78842c5ae8a8f9f5c3396cc"
}
],
"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.CategoryData",
"m_ObjectId": "1a0133ec0b7148738854ac5fbfdb06c6",
"m_Name": "",
"m_ChildObjectList": [
{
"m_Id": "7ea1bbbacf460c879f6d8c85fd91750d"
},
{
"m_Id": "70080533ec814c13a94c4028ed1d264b"
},
{
"m_Id": "fd52011850ba44c28114430ca2d357f2"
}
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "2199b9343e174d67a2318f82273ee63c",
"m_Id": 1,
"m_DisplayName": "Connected",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Connected",
"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.Vector3MaterialSlot",
"m_ObjectId": "257887c1d11f388091ca856e82012ef9",
"m_Id": 0,
"m_DisplayName": "World Pos",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "WorldPos",
"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": "282df091de7a41d8a8463afa0fa70234",
"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.CustomFunctionNode",
"m_ObjectId": "3be2118d2270ff818ec5f0f1353e249f",
"m_Group": {
"m_Id": ""
},
"m_Name": "MainLightShadows (Custom Function)",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -24.99998664855957,
"y": -198.0000457763672,
"width": 263.00006103515627,
"height": 278.0
}
},
"m_Slots": [
{
"m_Id": "257887c1d11f388091ca856e82012ef9"
},
{
"m_Id": "414251ba6b0a446aa8b3ad08181a016b"
}
],
"synonyms": [
"code",
"HLSL"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SourceType": 0,
"m_FunctionName": "MainLightShadows",
"m_FunctionSource": "e41f4776f7aff5545b8a2e1f950354f7",
"m_FunctionBody": "Enter function body here..."
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "414251ba6b0a446aa8b3ad08181a016b",
"m_Id": 4,
"m_DisplayName": "Shadows",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Shadows",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.PositionNode",
"m_ObjectId": "4f79f9fd24d2450fbfd056685c845f8a",
"m_Group": {
"m_Id": ""
},
"m_Name": "Position",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -510.00006103515627,
"y": -150.00003051757813,
"width": 206.0,
"height": 131.00003051757813
}
},
"m_Slots": [
{
"m_Id": "282df091de7a41d8a8463afa0fa70234"
}
],
"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.PropertyConnectionStateMaterialSlot",
"m_ObjectId": "5084da4ba599400c990d8f8757a85a44",
"m_Id": 0,
"m_DisplayName": "Input",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Input",
"m_StageCapability": 3
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "65e443cb15a9fb859a50ebae06e81569",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -423.00006103515627,
"y": -198.00003051757813,
"width": 119.0,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "7d190f51c889ce8198ca0ecfe494d421"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "7ea1bbbacf460c879f6d8c85fd91750d"
}
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.ShaderKeyword",
"m_ObjectId": "70080533ec814c13a94c4028ed1d264b",
"m_Guid": {
"m_GuidSerialized": "3678795c-ea8d-481d-ba86-f0b64554d241"
},
"m_Name": "Shadows Enum",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "Shadows Enum",
"m_DefaultReferenceName": "_SHADOWS_ENUM",
"m_OverrideReferenceName": "_MAIN_LIGHT",
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
"m_DismissedVersion": 0,
"m_KeywordType": 1,
"m_KeywordDefinition": 1,
"m_KeywordScope": 1,
"m_KeywordStages": 63,
"m_Entries": [
{
"id": 1,
"displayName": "SHADOWS",
"referenceName": "SHADOWS"
},
{
"id": 4,
"displayName": "SHADOWS_CASCADE",
"referenceName": "SHADOWS_CASCADE"
},
{
"id": 3,
"displayName": "SHADOWS_SCREEN",
"referenceName": "SHADOWS_SCREEN"
}
],
"m_Value": 0,
"m_IsEditable": true
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "7d190f51c889ce8198ca0ecfe494d421",
"m_Id": 0,
"m_DisplayName": "Position",
"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.Internal.Vector3ShaderProperty",
"m_ObjectId": "7ea1bbbacf460c879f6d8c85fd91750d",
"m_Guid": {
"m_GuidSerialized": "c7b957cd-dd93-4549-bd10-7676ba0773f3"
},
"m_Name": "Position",
"m_DefaultRefNameVersion": 0,
"m_RefNameGeneratedByDisplayName": "",
"m_DefaultReferenceName": "Vector3_B87D7B6B",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": true,
"m_CustomSlotLabel": "World Space",
"m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
"m_Hidden": false,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "a1ca80e42f7045488e6db2a2a054ffff",
"m_Id": 3,
"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.BranchOnInputConnectionNode",
"m_ObjectId": "a73253d1c5e2424c89b6af884a7eb179",
"m_Group": {
"m_Id": ""
},
"m_Name": "Branch On Input Connection",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -278.0000305175781,
"y": -197.99998474121095,
"width": 208.00006103515626,
"height": 326.0
}
},
"m_Slots": [
{
"m_Id": "5084da4ba599400c990d8f8757a85a44"
},
{
"m_Id": "2199b9343e174d67a2318f82273ee63c"
},
{
"m_Id": "d320e64b77e647b78f623c4569bcd9cc"
},
{
"m_Id": "a1ca80e42f7045488e6db2a2a054ffff"
}
],
"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": "a8921ba9d78842c5ae8a8f9f5c3396cc",
"m_Id": 4,
"m_DisplayName": "Shadows",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Shadows",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "d320e64b77e647b78f623c4569bcd9cc",
"m_Id": 2,
"m_DisplayName": "NotConnected",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "NotConnected",
"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.ShaderKeyword",
"m_ObjectId": "fd52011850ba44c28114430ca2d357f2",
"m_Guid": {
"m_GuidSerialized": "4cdeb2ff-a6fa-4fcb-8108-78394fdebc34"
},
"m_Name": "Shadows Soft",
"m_DefaultRefNameVersion": 0,
"m_RefNameGeneratedByDisplayName": "",
"m_DefaultReferenceName": "BOOLEAN_71BC2F5C_ON",
"m_OverrideReferenceName": "_SHADOWS_SOFT",
"m_GeneratePropertyBlock": false,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
"m_DismissedVersion": 0,
"m_KeywordType": 0,
"m_KeywordDefinition": 1,
"m_KeywordScope": 1,
"m_KeywordStages": 2,
"m_Entries": [],
"m_Value": 0,
"m_IsEditable": true
}