Issues with shadows from spotlight

Hello! I am not sure if I got something wrong, but in this playground I see several issues.

Please let me know what you think causes them.

It’s because of minZ. Caster mesh is clipped. Set a lower value so close geometry is taken into account.

Issue with shadows | Babylon.js Playground (babylonjs.com)

Some doc here : Shadows | Babylon.js Documentation

3 Likes

Right, I was not aware of that, thank you very much!

2 Likes