Setting light.shadowOrthoScale to 0 will cause banded abnormal shadows

setting light.shadowOrthoScale to 0 will cause banded abnormal shadows.

https://playground.babylonjs.com/#FILVC3

In the implementation of PCF and PCSS algorithms, is there a lack of constraints on uvDepth.xy?

Thanks for reporting, this PR will fix the problem:

1 Like