I attach a Point Light to my player Mesh and it produce shadows to the walls.
Works fine when the player is at more than “1” of distance to the wall, but when it’s close to the wall the shadow is not casted properly.
I make this test scene to show the problem:
https://www.babylonjs-playground.com/#1GUOCF#42
Hope can help me, thanks