diff --git a/filament/src/PostProcessManager.cpp b/filament/src/PostProcessManager.cpp index df04a18c7ce..66aa50a7ed6 100644 --- a/filament/src/PostProcessManager.cpp +++ b/filament/src/PostProcessManager.cpp @@ -643,7 +643,7 @@ FrameGraphId PostProcessManager::ssr(FrameGraph& fg, auto out = resources.getRenderPassInfo(); // Remove the HAS_SHADOWING RenderFlags, since it's irrelevant when rendering reflections - passBuilder.renderFlags(~RenderPass::HAS_SHADOWING, 0); + passBuilder.renderFlags(RenderPass::HAS_SHADOWING, 0); // use our special SSR variant, it can only be applied to object that have // the SCREEN_SPACE ReflectionMode.