Revert "Remove unused LodProxyView feature from RenderContext (shadow projections are using the same draw batch as main view now)"

This reverts commit c33fe04645.
This commit is contained in:
Wojtek Figat
2022-11-26 20:37:04 +01:00
parent bdb27fef1b
commit 39dc439cd8
6 changed files with 18 additions and 5 deletions

View File

@@ -193,6 +193,9 @@ void ShadowsPass::SetupRenderContext(RenderContext& renderContext, RenderContext
{
const auto& view = renderContext.View;
// Use the current render view to sync model LODs with the shadow maps rendering stage
shadowContext.LodProxyView = &renderContext.View;
// Prepare properties
auto& shadowView = shadowContext.View;
shadowView.Flags = view.Flags;