Closed
Description
Description
(https://jsfiddle.net/ligaofeng0901/yqv21wtp/26/)
This is a modified version of offical example. if you click the toggle button to disable csm shadow, the shadow node can't be disposed, and the shadow is still here.
The main problem is the light node cann't detect the change of shadownode. And as I konw, there is no way to forcely update light. these code light.needsUpdate = true;light.shadow.needsUpdate =true;light.shadow.shadowNode.needsUpdate = true;
all don't work.
Solution
Provide a way to forcely update lightnode ?
Alternatives
Additional context
No response