Fix Global Surface Atlas drawing of objects that are hidden in GBuffer pass but should be visible for GI
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user