Add reducing shadows quality for smaller local lights

This commit is contained in:
Wojtek Figat
2024-04-04 13:29:38 +02:00
parent 61323f8526
commit 3d0d41ebff
2 changed files with 12 additions and 6 deletions

View File

@@ -22,7 +22,7 @@ private:
GPUPipelineStatePermutationsPs<static_cast<int32>(Quality::MAX) * 2> _psShadowPoint;
GPUPipelineStatePermutationsPs<static_cast<int32>(Quality::MAX) * 2> _psShadowSpot;
PixelFormat _shadowMapFormat; // Cached on initialization
int32 maxShadowsQuality = 0; // Cached state for the current frame rendering (setup via Prepare)
int32 _maxShadowsQuality = 0; // Cached state for the current frame rendering (setup via Prepare)
public:
/// <summary>