Add support for moving shadow-casting lights
This commit is contained in:
committed by
Jérôme Leclercq
parent
a5d4b8f28d
commit
3623f4ccc4
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user