{ "Type": "JsonSerialization", "Version": 1, "ClassName": "PassAsset", "ClassData": { "PassTemplate": { "Name": "ReflectionScreenSpaceTracePassTemplate", "PassClass": "ReflectionScreenSpaceTracePass", "Slots": [ { "Name": "DepthStencilTextureInput", "SlotType": "Input", "ScopeAttachmentUsage": "Shader", "ImageViewDesc": { "AspectFlags": [ "Depth" ] } }, { "Name": "NormalInput", "SlotType": "Input", "ScopeAttachmentUsage": "Shader" }, { "Name": "SpecularF0Input", "SlotType": "Input", "ScopeAttachmentUsage": "Shader" }, { "Name": "ReflectionInputOutput", "SlotType": "Input", "ScopeAttachmentUsage": "Shader" }, { "Name": "PreviousFrameInputOutput", "SlotType": "Input", "ScopeAttachmentUsage": "Shader" }, { "Name": "ScreenSpaceReflectionOutput", "SlotType": "Output", "ScopeAttachmentUsage": "RenderTarget", "LoadStoreAction": { "ClearValue": { "Value": [ 0.0, 0.0, 0.0, 0.0 ] }, "LoadAction": "Clear" } }, { "Name": "DownsampledDepthOutput", "SlotType": "Output", "ScopeAttachmentUsage": "DepthStencil", "LoadStoreAction": { "ClearValue": { "Type": "DepthStencil", "Value": [ 1.0, {}, {}, {} ] }, "LoadAction": "Clear" } } ], "ImageAttachments": [ { "Name": "ScreenSpaceReflectionImage", "SizeSource": { "Source": { "Pass": "This", "Attachment": "SpecularF0Input" }, "Multipliers": { "WidthMultiplier": 0.5, "HeightMultiplier": 0.5 } }, "ImageDescriptor": { "Format": "R16G16B16A16_FLOAT", "MipLevels": "5", "SharedQueueMask": "Graphics" } }, { "Name": "DownsampledDepthImage", "SizeSource": { "Source": { "Pass": "Parent", "Attachment": "DepthStencilInput" }, "Multipliers": { "WidthMultiplier": 0.5, "HeightMultiplier": 0.5 } }, "FormatSource": { "Pass": "Parent", "Attachment": "DepthStencilInput" }, "ImageDescriptor": { "MipLevels": "5", "SharedQueueMask": "Graphics" } }, { "Name": "PreviousFrameImage", "SizeSource": { "Source": { "Pass": "Parent", "Attachment": "SpecularInput" } }, "ImageDescriptor": { "Format": "R16G16B16A16_FLOAT", "SharedQueueMask": "Graphics" } } ], "Connections": [ { "LocalSlot": "ScreenSpaceReflectionOutput", "AttachmentRef": { "Pass": "This", "Attachment": "ScreenSpaceReflectionImage" } }, { "LocalSlot": "DownsampledDepthOutput", "AttachmentRef": { "Pass": "This", "Attachment": "DownsampledDepthImage" } }, { "LocalSlot": "PreviousFrameInputOutput", "AttachmentRef": { "Pass": "This", "Attachment": "PreviousFrameImage" } } ], "PassData": { "$type": "FullscreenTrianglePassData", "ShaderAsset": { "FilePath": "Shaders/Reflections/ReflectionScreenSpaceTrace.shader" }, "PipelineViewTag": "MainCamera" } } } }