Following tutorial, and can’t make shadows work with this simple scene. Why?
I think the sun’s position is inside the sphere now.
Try setting the sun higher, you’ll see a shadow: https://playground.babylonjs.com/#RLZVTB#1
1 Like
Oh, thanks. I think it’s a bug. In other game engines (Godot, Unity) it donesn’t matter where you put Directional Light in scene.
Here is an explanation about it DirectionalLight position has meaning? - #2 by Evgeni_Popov
1 Like