I’ve tried creating a “Sun” with Directional and SpotLight to no avail - specifically the shadowMap of the Sun - the normal shadows on materials that take them work as expected.
All the tutorials I’ve found have had huge, static suns. I want mine to follow the player. But tracking the player position with the Light position doesn’t do it … the shadowMap does not seem to move, so the shadows disappear eventually.
I tried a lot of things and it just feels like a needle in a haystack.
Setting the Light.position to player.position, nope
Setting the Light.target to player.position, nope
updating shadowMap position along with player and light position, nope
An extreme example of what I want is, to make a 10 unit area tracking the player constantly casting shadows… any pointers?