Add support for moving shadow-casting lights

This commit is contained in:
SirLynix
2022-11-20 15:44:05 +01:00
committed by Jérôme Leclercq
parent a5d4b8f28d
commit 3623f4ccc4
5 changed files with 12 additions and 1 deletions

View File

@@ -115,6 +115,7 @@ namespace Nz
UpdateBoundingVolume();
UpdateViewProjMatrix();
OnLightTransformInvalided(this);
}
inline void SpotLight::UpdateRadius(float radius)
@@ -133,6 +134,7 @@ namespace Nz
UpdateBoundingVolume();
UpdateViewProjMatrix();
OnLightTransformInvalided(this);
}
inline void SpotLight::UpdateBoundingVolume()