Add variable rate update for shadow maps atlas based on distance to light

This commit is contained in:
Wojtek Figat
2024-04-08 00:04:57 +02:00
parent 7d92779e99
commit 708fba5136
11 changed files with 328 additions and 151 deletions

View File

@@ -56,6 +56,9 @@ struct RenderLightData
float ScreenSize;
uint32 ShadowsBufferAddress;
float ShadowsUpdateRate;
float ShadowsUpdateRateAtDistance;
RenderLightData()
{
Platform::MemoryClear(this, sizeof(RenderLightData));