For Spotlight. What is the correct way to update the near/far clip planes

For potLight, there does not appear to be anyway to update the near/far clip planes.

My code.
A class that wraps SpotLight and DropShadow functionality:

The relevant portion of my app that updates near/far:


The projection matrix of the shadow camera is automatically computed by the renderer. It’s sufficient to just update the values.


Oh, I like that! Brilliant! Perhaps it can be added as an example to a future release. Cheers.