{ "Type": "JsonSerialization", "Version": 1, "ClassName": "PassAsset", "ClassData": { "PassTemplate": { "Name": "DiffuseCompositePassTemplate", "PassClass": "FullScreenTriangle", "Slots": [ { "Name": "DownsampledIrradianceInput", "SlotType": "Input", "ScopeAttachmentUsage": "Shader" }, { "Name": "DownsampledDepthStencilTextureInput", "SlotType": "Input", "ScopeAttachmentUsage": "Shader", "ImageViewDesc": { "AspectFlags": [ "Depth" ] } }, { "Name": "DownsampledNormalInput", "SlotType": "Input", "ScopeAttachmentUsage": "Shader" }, { "Name": "AlbedoInput", "SlotType": "Input", "ScopeAttachmentUsage": "Shader" }, { "Name": "NormalInput", "SlotType": "Input", "ScopeAttachmentUsage": "Shader" }, { "Name": "DepthStencilTextureInput", "SlotType": "Input", "ScopeAttachmentUsage": "Shader", "ImageViewDesc": { "AspectFlags": [ "Depth" ] } }, { "Name": "DiffuseInputOutput", "SlotType": "InputOutput", "ScopeAttachmentUsage": "RenderTarget" }, { "Name": "DepthStencilInputOutput", "SlotType": "InputOutput", "ScopeAttachmentUsage": "DepthStencil", "ImageViewDesc": { "AspectFlags": [ "Stencil" ] } } ], "PassData": { "$type": "FullscreenTrianglePassData", "ShaderAsset": { "FilePath": "Shaders/DiffuseGlobalIllumination/DiffuseComposite.shader" }, "StencilRef": 128, // See RenderCommon.h and DiffuseComposite.shader "PipelineViewTag": "MainCamera" } } } }