{ "Type": "JsonSerialization", "Version": 1, "ClassName": "PassAsset", "ClassData": { "PassTemplate": { "Name": "MainPipeline", "PassClass": "ParentPass", "Slots": [ { "Name": "SwapChainOutput", "SlotType": "InputOutput", "ScopeAttachmentUsage": "RenderTarget" } ], "PassRequests": [ { "Name": "MorphTargetPass", "TemplateName": "MorphTargetPassTemplate" }, { "Name": "SkinningPass", "TemplateName": "SkinningPassTemplate", "Connections": [ { "LocalSlot": "SkinnedMeshOutputStream", "AttachmentRef": { "Pass": "MorphTargetPass", "Attachment": "MorphTargetDeltaOutput" } } ] }, { "Name": "RayTracingAccelerationStructurePass", "TemplateName": "RayTracingAccelerationStructurePassTemplate" }, { "Name": "DiffuseProbeGridUpdatePass", "TemplateName": "DiffuseProbeGridUpdatePassTemplate", "ExecuteAfter": [ "RayTracingAccelerationStructurePass" ] }, { "Name": "DepthPrePass", "TemplateName": "DepthMSAAParentTemplate", "Connections": [ { "LocalSlot": "SkinnedMeshes", "AttachmentRef": { "Pass": "SkinningPass", "Attachment": "SkinnedMeshOutputStream" } }, { "LocalSlot": "SwapChainOutput", "AttachmentRef": { "Pass": "Parent", "Attachment": "SwapChainOutput" } } ] }, { "Name": "MotionVectorPass", "TemplateName": "MotionVectorParentTemplate", "Connections": [ { "LocalSlot": "SkinnedMeshes", "AttachmentRef": { "Pass": "SkinningPass", "Attachment": "SkinnedMeshOutputStream" } }, { "LocalSlot": "Depth", "AttachmentRef": { "Pass": "DepthPrePass", "Attachment": "Depth" } }, { "LocalSlot": "SwapChainOutput", "AttachmentRef": { "Pass": "Parent", "Attachment": "SwapChainOutput" } } ] }, { "Name": "LightCullingPass", "TemplateName": "LightCullingParentTemplate", "Connections": [ { "LocalSlot": "SkinnedMeshes", "AttachmentRef": { "Pass": "SkinningPass", "Attachment": "SkinnedMeshOutputStream" } }, { "LocalSlot": "DepthMSAA", "AttachmentRef": { "Pass": "DepthPrePass", "Attachment": "DepthMSAA" } }, { "LocalSlot": "SwapChainOutput", "AttachmentRef": { "Pass": "Parent", "Attachment": "SwapChainOutput" } } ] }, { "Name": "ShadowPass", "TemplateName": "ShadowParentTemplate", "Connections": [ { "LocalSlot": "SkinnedMeshes", "AttachmentRef": { "Pass": "SkinningPass", "Attachment": "SkinnedMeshOutputStream" } }, { "LocalSlot": "SwapChainOutput", "AttachmentRef": { "Pass": "Parent", "Attachment": "SwapChainOutput" } } ] }, { "Name": "OpaquePass", "TemplateName": "OpaqueParentTemplate", "Connections": [ { "LocalSlot": "DirectionalShadowmap", "AttachmentRef": { "Pass": "ShadowPass", "Attachment": "DirectionalShadowmap" } }, { "LocalSlot": "DirectionalESM", "AttachmentRef": { "Pass": "ShadowPass", "Attachment": "DirectionalESM" } }, { "LocalSlot": "ProjectedShadowmap", "AttachmentRef": { "Pass": "ShadowPass", "Attachment": "ProjectedShadowmap" } }, { "LocalSlot": "ProjectedESM", "AttachmentRef": { "Pass": "ShadowPass", "Attachment": "ProjectedESM" } }, { "LocalSlot": "TileLightData", "AttachmentRef": { "Pass": "LightCullingPass", "Attachment": "TileLightData" } }, { "LocalSlot": "LightListRemapped", "AttachmentRef": { "Pass": "LightCullingPass", "Attachment": "LightListRemapped" } }, { "LocalSlot": "DepthLinear", "AttachmentRef": { "Pass": "DepthPrePass", "Attachment": "DepthLinear" } }, { "LocalSlot": "DepthStencil", "AttachmentRef": { "Pass": "DepthPrePass", "Attachment": "DepthMSAA" } }, { "LocalSlot": "SwapChainOutput", "AttachmentRef": { "Pass": "Parent", "Attachment": "SwapChainOutput" } } ] }, { "Name": "TransparentPass", "TemplateName": "TransparentParentTemplate", "Connections": [ { "LocalSlot": "DirectionalShadowmap", "AttachmentRef": { "Pass": "ShadowPass", "Attachment": "DirectionalShadowmap" } }, { "LocalSlot": "DirectionalESM", "AttachmentRef": { "Pass": "ShadowPass", "Attachment": "DirectionalESM" } }, { "LocalSlot": "ProjectedShadowmap", "AttachmentRef": { "Pass": "ShadowPass", "Attachment": "ProjectedShadowmap" } }, { "LocalSlot": "ProjectedESM", "AttachmentRef": { "Pass": "ShadowPass", "Attachment": "ProjectedESM" } }, { "LocalSlot": "TileLightData", "AttachmentRef": { "Pass": "LightCullingPass", "Attachment": "TileLightData" } }, { "LocalSlot": "LightListRemapped", "AttachmentRef": { "Pass": "LightCullingPass", "Attachment": "LightListRemapped" } }, { "LocalSlot": "InputLinearDepth", "AttachmentRef": { "Pass": "DepthPrePass", "Attachment": "DepthLinear" } }, { "LocalSlot": "DepthStencil", "AttachmentRef": { "Pass": "DepthPrePass", "Attachment": "Depth" } }, { "LocalSlot": "InputOutput", "AttachmentRef": { "Pass": "OpaquePass", "Attachment": "Output" } } ] }, { "Name": "DeferredFogPass", "TemplateName": "DeferredFogPassTemplate", "Enabled": false, "Connections": [ { "LocalSlot": "InputLinearDepth", "AttachmentRef": { "Pass": "DepthPrePass", "Attachment": "DepthLinear" } }, { "LocalSlot": "InputDepthStencil", "AttachmentRef": { "Pass": "DepthPrePass", "Attachment": "Depth" } }, { "LocalSlot": "RenderTargetInputOutput", "AttachmentRef": { "Pass": "TransparentPass", "Attachment": "InputOutput" } } ], "PassData": { "$type": "FullscreenTrianglePassData", "ShaderAsset": { "FilePath": "Shaders/ScreenSpace/DeferredFog.shader" }, "PipelineViewTag": "MainCamera" } }, { "Name": "ReflectionCopyFrameBufferPass", "TemplateName": "ReflectionCopyFrameBufferPassTemplate", "Enabled": false, "Connections": [ { "LocalSlot": "Input", "AttachmentRef": { "Pass": "DeferredFogPass", "Attachment": "RenderTargetInputOutput" } } ] }, { "Name": "PostProcessPass", "TemplateName": "PostProcessParentTemplate", "Connections": [ { "LocalSlot": "LightingInput", "AttachmentRef": { "Pass": "DeferredFogPass", "Attachment": "RenderTargetInputOutput" } }, { "LocalSlot": "Depth", "AttachmentRef": { "Pass": "DepthPrePass", "Attachment": "Depth" } }, { "LocalSlot": "MotionVectors", "AttachmentRef": { "Pass": "MotionVectorPass", "Attachment": "MotionVectorOutput" } }, { "LocalSlot": "SwapChainOutput", "AttachmentRef": { "Pass": "Parent", "Attachment": "SwapChainOutput" } } ] }, { "Name": "AuxGeomPass", "TemplateName": "AuxGeomPassTemplate", "Enabled": true, "Connections": [ { "LocalSlot": "ColorInputOutput", "AttachmentRef": { "Pass": "PostProcessPass", "Attachment": "Output" } }, { "LocalSlot": "DepthInputOutput", "AttachmentRef": { "Pass": "DepthPrePass", "Attachment": "Depth" } } ], "PassData": { "$type": "RasterPassData", "DrawListTag": "auxgeom", "PipelineViewTag": "MainCamera" } }, { "Name": "DebugOverlayPass", "TemplateName": "DebugOverlayParentTemplate", "Connections": [ { "LocalSlot": "TileLightData", "AttachmentRef": { "Pass": "LightCullingPass", "Attachment": "TileLightData" } }, { "LocalSlot": "RawLightingInput", "AttachmentRef": { "Pass": "PostProcessPass", "Attachment": "RawLightingOutput" } }, { "LocalSlot": "LuminanceMipChainInput", "AttachmentRef": { "Pass": "PostProcessPass", "Attachment": "LuminanceMipChainOutput" } }, { "LocalSlot": "InputOutput", "AttachmentRef": { "Pass": "AuxGeomPass", "Attachment": "ColorInputOutput" } } ] }, { "Name": "LyShinePass", "TemplateName": "LyShineParentTemplate", "Connections": [ { "LocalSlot": "ColorInputOutput", "AttachmentRef": { "Pass": "DebugOverlayPass", "Attachment": "InputOutput" } }, { "LocalSlot": "DepthInputOutput", "AttachmentRef": { "Pass": "DepthPrePass", "Attachment": "Depth" } } ] }, { "Name": "UIPass", "TemplateName": "UIParentTemplate", "Connections": [ { "LocalSlot": "InputOutput", "AttachmentRef": { "Pass": "LyShinePass", "Attachment": "ColorInputOutput" } }, { "LocalSlot": "DepthInputOutput", "AttachmentRef": { "Pass": "DepthPrePass", "Attachment": "Depth" } } ] }, { "Name": "CopyToSwapChain", "TemplateName": "FullscreenCopyTemplate", "Connections": [ { "LocalSlot": "Input", "AttachmentRef": { "Pass": "UIPass", "Attachment": "InputOutput" } }, { "LocalSlot": "Output", "AttachmentRef": { "Pass": "Parent", "Attachment": "SwapChainOutput" } } ] } ] } } }