Fix Global Surface Atlas drawing of objects that are hidden in GBuffer pass but should be visible for GI

This commit is contained in:
Wojciech Figat
2022-08-09 14:37:29 +02:00
parent 210342d337
commit 6a1378ebdb
8 changed files with 13 additions and 7 deletions

View File

@@ -25,6 +25,8 @@ private:
case DrawPass::Depth:
return &Depth;
case DrawPass::GBuffer:
case DrawPass::GBuffer | DrawPass::GlobalSurfaceAtlas:
case DrawPass::GlobalSurfaceAtlas:
case DrawPass::Forward:
return &Default;
#if USE_EDITOR