2025-12-11 13:14:43 +01:00

838 lines
19 KiB
Plaintext

{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "29e4d87130e145d6a2102d4ef414aa76",
"m_Properties": [
{
"m_Id": "ddb4deba1665c2848837f2dee0f96367"
}
],
"m_Keywords": [],
"m_Dropdowns": [],
"m_CategoryData": [
{
"m_Id": "5ccb374199114b3080c7a3c06cc9f073"
}
],
"m_Nodes": [
{
"m_Id": "b7156b6c180eec83909a21d448e5f0ff"
},
{
"m_Id": "9fd032fbfa178187a186331edf8e300d"
},
{
"m_Id": "dd7d1a333a8f424d82209a261f8a8bf4"
},
{
"m_Id": "ca028bd008094db495d08f183d9f8dbd"
},
{
"m_Id": "ae92dd27c1fb4e34a0a76a7a96086bca"
},
{
"m_Id": "acd5c3b1d74b419aba4a2744b7b939e3"
},
{
"m_Id": "03a0b14afdea425a87be983abcc656e3"
},
{
"m_Id": "1345c3962ad54b1d926409ea4a8f59e5"
},
{
"m_Id": "6686c26a8b344edd972d8d1ad9c4a29a"
}
],
"m_GroupDatas": [],
"m_StickyNoteDatas": [
{
"m_Id": "8db3a3ccf5ac4d2b9e9f3015c7f6ca57"
}
],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "6686c26a8b344edd972d8d1ad9c4a29a"
},
"m_SlotId": 4
},
"m_InputSlot": {
"m_Node": {
"m_Id": "9fd032fbfa178187a186331edf8e300d"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "9fd032fbfa178187a186331edf8e300d"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "03a0b14afdea425a87be983abcc656e3"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "b7156b6c180eec83909a21d448e5f0ff"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "acd5c3b1d74b419aba4a2744b7b939e3"
},
"m_SlotId": 0
}
}
],
"m_VertexContext": {
"m_Position": {
"x": -123.99999237060547,
"y": -144.00001525878907
},
"m_Blocks": [
{
"m_Id": "dd7d1a333a8f424d82209a261f8a8bf4"
},
{
"m_Id": "ca028bd008094db495d08f183d9f8dbd"
},
{
"m_Id": "ae92dd27c1fb4e34a0a76a7a96086bca"
}
]
},
"m_FragmentContext": {
"m_Position": {
"x": -123.99999237060547,
"y": 55.99998474121094
},
"m_Blocks": [
{
"m_Id": "acd5c3b1d74b419aba4a2744b7b939e3"
},
{
"m_Id": "03a0b14afdea425a87be983abcc656e3"
},
{
"m_Id": "1345c3962ad54b1d926409ea4a8f59e5"
}
]
},
"m_PreviewData": {
"serializedMesh": {
"m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}",
"m_Guid": ""
},
"preventRotation": false
},
"m_Path": "Shader Graphs",
"m_GraphPrecision": 0,
"m_PreviewMode": 2,
"m_OutputNode": {
"m_Id": ""
},
"m_ActiveTargets": [
{
"m_Id": "8e75d3fd6f5047e992cecfedf66b18aa"
}
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "03a0b14afdea425a87be983abcc656e3",
"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": "bdbbb096db1742928b68859200775950"
}
],
"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.BlockNode",
"m_ObjectId": "1345c3962ad54b1d926409ea4a8f59e5",
"m_Group": {
"m_Id": ""
},
"m_Name": "SurfaceDescription.AlphaClipThreshold",
"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": "aeb0f0d12075460fbd247ee4a7745b86"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedDescriptor": "SurfaceDescription.AlphaClipThreshold"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
"m_ObjectId": "1b7dbff5829e4f19905eac674edb025e",
"m_Id": 0,
"m_DisplayName": "Base Color",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "BaseColor",
"m_StageCapability": 2,
"m_Value": {
"x": 0.7353569269180298,
"y": 0.7353569269180298,
"z": 0.7353569269180298
},
"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.NormalMaterialSlot",
"m_ObjectId": "22c0276bae1d4c9faa73da85e2f7d86d",
"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": 2,
"m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalUnlitSubTarget",
"m_ObjectId": "2a6625aaa3ed4cc5bae4c6c3cef6cbe3"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.CategoryData",
"m_ObjectId": "5ccb374199114b3080c7a3c06cc9f073",
"m_Name": "",
"m_ChildObjectList": [
{
"m_Id": "ddb4deba1665c2848837f2dee0f96367"
}
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SubGraphNode",
"m_ObjectId": "6686c26a8b344edd972d8d1ad9c4a29a",
"m_Group": {
"m_Id": ""
},
"m_Name": "Main Light Shadows",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -655.0,
"y": 294.0000305175781,
"width": 242.00003051757813,
"height": 302.0000305175781
}
},
"m_Slots": [
{
"m_Id": "6e653e432ed64968b836f71a679c760e"
},
{
"m_Id": "7a382769fb3945b38d4bcea0d38db406"
},
{
"m_Id": "cdfa98b33bff46bd9bf50959fca10376"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedSubGraph": "{\n \"subGraph\": {\n \"fileID\": -5475051401550479605,\n \"guid\": \"ad7eea367bef08f4684356c8a5513abf\",\n \"type\": 3\n }\n}",
"m_PropertyGuids": [
"c7b957cd-dd93-4549-bd10-7676ba0773f3",
"759c9413-cc1d-418d-861f-42108b837a20"
],
"m_PropertyIds": [
133537113,
69846019
],
"m_Dropdowns": [],
"m_DropdownSelectedEntries": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "6e653e432ed64968b836f71a679c760e",
"m_Id": 133537113,
"m_DisplayName": "Position",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Vector3_B87D7B6B",
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "70ac43b88afc7489848cafb130a0e869",
"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.Vector4MaterialSlot",
"m_ObjectId": "7a382769fb3945b38d4bcea0d38db406",
"m_Id": 69846019,
"m_DisplayName": "Shadowmask",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "_Shadowmask",
"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_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PositionMaterialSlot",
"m_ObjectId": "81fa076018a4408083a6d50cc1e3f1ac",
"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.StickyNoteData",
"m_ObjectId": "8db3a3ccf5ac4d2b9e9f3015c7f6ca57",
"m_Title": "",
"m_Content": "Used to create transparent objects that can recieve shadows and colour them\n\nRecommended to turn off Cast Shadows on Mesh Renderer",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -137.0,
"y": 257.0,
"width": 245.0,
"height": 116.0
},
"m_Group": {
"m_Id": ""
}
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget",
"m_ObjectId": "8e75d3fd6f5047e992cecfedf66b18aa",
"m_Datas": [],
"m_ActiveSubTarget": {
"m_Id": "2a6625aaa3ed4cc5bae4c6c3cef6cbe3"
},
"m_AllowMaterialOverride": false,
"m_SurfaceType": 1,
"m_ZTestMode": 4,
"m_ZWriteControl": 0,
"m_AlphaMode": 3,
"m_RenderFace": 2,
"m_AlphaClip": false,
"m_CastShadows": true,
"m_ReceiveShadows": true,
"m_SupportsLODCrossFade": false,
"m_CustomEditorGUI": "",
"m_SupportVFX": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "8eefb7b5f9143687836e492a24fee881",
"m_Id": 0,
"m_DisplayName": "Color",
"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.OneMinusNode",
"m_ObjectId": "9fd032fbfa178187a186331edf8e300d",
"m_Group": {
"m_Id": ""
},
"m_Name": "One Minus",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -380.00006103515627,
"y": 155.99998474121095,
"width": 128.00003051757813,
"height": 94.00001525878906
}
},
"m_Slots": [
{
"m_Id": "d0fd6e8f9b479d80beb8cfdea726fe29"
},
{
"m_Id": "70ac43b88afc7489848cafb130a0e869"
}
],
"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.TangentMaterialSlot",
"m_ObjectId": "a2058cb25a0847ff867f3ac2c2f271a3",
"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.BlockNode",
"m_ObjectId": "acd5c3b1d74b419aba4a2744b7b939e3",
"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": "1b7dbff5829e4f19905eac674edb025e"
}
],
"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.BlockNode",
"m_ObjectId": "ae92dd27c1fb4e34a0a76a7a96086bca",
"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": "a2058cb25a0847ff867f3ac2c2f271a3"
}
],
"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.Vector1MaterialSlot",
"m_ObjectId": "aeb0f0d12075460fbd247ee4a7745b86",
"m_Id": 0,
"m_DisplayName": "Alpha Clip Threshold",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "AlphaClipThreshold",
"m_StageCapability": 2,
"m_Value": 0.0,
"m_DefaultValue": 0.5,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "b7156b6c180eec83909a21d448e5f0ff",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -399.0000915527344,
"y": 82.0,
"width": 105.0,
"height": 34.00000762939453
}
},
"m_Slots": [
{
"m_Id": "8eefb7b5f9143687836e492a24fee881"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "ddb4deba1665c2848837f2dee0f96367"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "bdbbb096db1742928b68859200775950",
"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.BlockNode",
"m_ObjectId": "ca028bd008094db495d08f183d9f8dbd",
"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": "22c0276bae1d4c9faa73da85e2f7d86d"
}
],
"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.Vector1MaterialSlot",
"m_ObjectId": "cdfa98b33bff46bd9bf50959fca10376",
"m_Id": 4,
"m_DisplayName": "ShadowAtten",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "ShadowAtten",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "d0fd6e8f9b479d80beb8cfdea726fe29",
"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
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "dd7d1a333a8f424d82209a261f8a8bf4",
"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": "81fa076018a4408083a6d50cc1e3f1ac"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedDescriptor": "VertexDescription.Position"
}
{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.Internal.ColorShaderProperty",
"m_ObjectId": "ddb4deba1665c2848837f2dee0f96367",
"m_Guid": {
"m_GuidSerialized": "81878459-0b64-4744-a302-ae3c2a257259"
},
"m_Name": "Color",
"m_DefaultRefNameVersion": 0,
"m_RefNameGeneratedByDisplayName": "",
"m_DefaultReferenceName": "Color_A34449EB",
"m_OverrideReferenceName": "_ShadowColor",
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
"m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
"m_Hidden": false,
"m_Value": {
"r": 0.0,
"g": 0.0,
"b": 0.0,
"a": 0.10196078568696976
},
"isMainColor": false,
"m_ColorMode": 0
}