{ "Type": "JsonSerialization", "Version": 1, "ClassName": "PassAsset", "ClassData": { "PassTemplate": { "Name": "DepthToLinearTemplate", "PassClass": "FullScreenTriangle", "Slots": [ { "Name": "Input", "SlotType": "Input", "ScopeAttachmentUsage": "Shader", "ImageViewDesc": { "AspectFlags": [ "Depth" ] } }, { "Name": "Output", "SlotType": "Output", "ScopeAttachmentUsage": "RenderTarget", "LoadStoreAction": { "LoadAction": "DontCare" } } ], "ImageAttachments": [ { "Name": "LinearDepth", "SizeSource": { "Source": { "Pass": "This", "Attachment": "Input" } }, "ImageDescriptor": { "Format": "R32_FLOAT", "SharedQueueMask": "Graphics" } } ], "Connections": [ { "LocalSlot": "Output", "AttachmentRef": { "Pass": "This", "Attachment": "LinearDepth" } } ], "PassData": { "$type": "FullscreenTrianglePassData", "ShaderAsset": { "FilePath": "Shaders/PostProcessing/DepthToLinearDepth.shader" }, "PipelineViewTag": "MainCamera" } } } }