{ "Type": "JsonSerialization", "Version": 1, "ClassName": "PassAsset", "ClassData": { "PassTemplate": { "Name": "ReflectionGlobalFullscreenPassTemplate", "PassClass": "FullScreenTriangle", "Slots": [ { "Name": "DepthStencilTextureInput", "SlotType": "Input", "ScopeAttachmentUsage": "Shader", "ImageViewDesc": { "AspectFlags": [ "Depth" ] } }, { "Name": "NormalInput", "SlotType": "Input", "ScopeAttachmentUsage": "Shader" }, { "Name": "SpecularF0Input", "SlotType": "Input", "ScopeAttachmentUsage": "Shader" }, { // This is needed for the alpha channel which has specularOcclusion factor "Name": "AlbedoInput", "SlotType": "Input", "ScopeAttachmentUsage": "Shader" }, { "Name": "ReflectionBlendWeightInput", "SlotType": "Input", "ScopeAttachmentUsage": "Shader" }, { "Name": "BRDFTextureInput", "ShaderInputName": "m_brdfMap", "SlotType": "Input", "ScopeAttachmentUsage": "Shader" }, { "Name": "DepthStencilInput", "SlotType": "Input", "ScopeAttachmentUsage": "DepthStencil", "ImageViewDesc": { "AspectFlags": [ "Stencil" ] } }, { "Name": "ReflectionOutput", "SlotType": "Output", "ScopeAttachmentUsage": "RenderTarget", "LoadStoreAction": { "ClearValue": { "Value": [ 0.4000000059604645, 0.4000000059604645, 0.4000000059604645, 0.0 ] }, "LoadAction": "Clear" } } ], "ImageAttachments": [ { "Name": "ReflectionImage", "SizeSource": { "Source": { "Pass": "This", "Attachment": "SpecularF0Input" } }, "MultisampleSource": { "Pass": "This", "Attachment": "SpecularF0Input" }, "ImageDescriptor": { "Format": "R16G16B16A16_FLOAT", "SharedQueueMask": "Graphics" } }, { "Name": "BRDFTexture", "Lifetime": "Imported", "AssetRef": { "FilePath": "Textures/BRDFTexture.attimage" } } ], "Connections": [ { "LocalSlot": "ReflectionOutput", "AttachmentRef": { "Pass": "This", "Attachment": "ReflectionImage" } }, { "LocalSlot": "BRDFTextureInput", "AttachmentRef": { "Pass": "This", "Attachment": "BRDFTexture" } } ], "PassData": { "$type": "FullscreenTrianglePassData", "ShaderAsset": { "FilePath": "Shaders/Reflections/ReflectionGlobalFullscreen.shader" }, "PipelineViewTag": "MainCamera" } } } }