1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- {
- "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
- "BindViewSrg": true
- }
- }
- }
- }
|