We added setShadowMapUpdates(bool)
and getShadowMapUpdates()
. To prevent any shadow maps from updating, use setShadowMapUpdates(false)
. Lights created while the update is set to false will also be included and their shadow maps will not update. Re-enabling updates will trigger a render, updating all shadow maps.
When a new scene is created, this command is reset to true and shadow maps are updated.