Add InvalidateShadow for manual shadow cache refresh

This commit is contained in:
Wojtek Figat
2024-04-11 16:34:42 +02:00
parent 803249f126
commit a532ea7b42
7 changed files with 20 additions and 0 deletions

View File

@@ -39,6 +39,7 @@ void DirectionalLight::Draw(RenderContext& renderContext)
data.IndirectLightingIntensity = IndirectLightingIntensity;
data.CastVolumetricShadow = CastVolumetricShadow;
data.ShadowsUpdateRate = ShadowsUpdateRate;
data.ShadowFrame = _invalidateShadowFrame;
data.ShadowsUpdateRateAtDistance = ShadowsUpdateRateAtDistance;
data.ShadowsMode = ShadowsMode;
data.CascadeCount = CascadeCount;