I am using a directional light - the idea is to get sharp shadows for an outside scene.
This example demonstrates the idea nicely.
https://playground.babylonjs.com/#4G38H4#153
My outside world is rather big and as I walk away from the light, the shadows become more and more blocky.
You can recreate the effect by changing this code in the above example (thus moving the light, not the camera):
Change it from
light.position = new BABYLON.Vector3(0, 150, -30);
To this
light.position = new BABYLON.Vector3(0, 1500, -30);
You should now see a much less impressive shadow.
I tried a few things (moving and parenting the light); but could not resolve the issue.
Is there something obvious I am missing?