Remove unused LodProxyView feature from RenderContext (shadow projections are using the same draw batch as main view now)
This commit is contained in:
@@ -55,7 +55,6 @@ void RenderView::Prepare(RenderContext& renderContext)
|
||||
}
|
||||
|
||||
renderContext.List->Init(renderContext);
|
||||
renderContext.LodProxyView = nullptr;
|
||||
|
||||
PrepareCache(renderContext, width, height, taaJitter);
|
||||
}
|
||||
@@ -74,7 +73,7 @@ void RenderView::PrepareCache(const RenderContext& renderContext, float width, f
|
||||
WorldPosition = Origin + Position;
|
||||
|
||||
// Ortho views have issues with screen size LOD culling
|
||||
const float modelLODDistanceFactor = (renderContext.LodProxyView ? renderContext.LodProxyView->IsOrthographicProjection() : IsOrthographicProjection()) ? 100.0f : ModelLODDistanceFactor;
|
||||
const float modelLODDistanceFactor = IsOrthographicProjection() ? 100.0f : ModelLODDistanceFactor;
|
||||
ModelLODDistanceFactorSqrt = modelLODDistanceFactor * modelLODDistanceFactor;
|
||||
|
||||
// Setup main view render info
|
||||
|
||||
Reference in New Issue
Block a user