Fix half res depth buffer regression from 192d3d1a8e

This commit is contained in:
Wojtek Figat
2026-01-20 12:01:03 +01:00
parent 192d3d1a8e
commit c7c1bbe35f
9 changed files with 303 additions and 339 deletions

View File

@@ -350,8 +350,11 @@ void ReflectionsPass::Render(RenderContext& renderContext, GPUTextureView* light
sphereMesh.Render(context);
}
// Cleanup
context->UnBindSR(4);
context->ResetRenderTarget();
if (_depthBounds)
context->SetDepthBounds(0, 1);
}
// Screen Space Reflections pass