Dynamic lighting is a pain.
Or, in more detail: my current setup is having a day/night cycle with a rotating directional light, which is fully movable with dynamic lighting and shadowing, casting onto an environment of both interior (through windows) and exterior (viewed out of said windows).
I can get the shadows looking right at one time of day or another, but making them work through the whole cycle is proving next to impossible. If it looks good up close, it looks horrible 20 feet away. If it looks good 10 feet away, it looks horrible 40 feet away. If by some miracle it looks good at all distances, it looks horrible after the sun as moved ~10 degrees. I’ve played with all of the cascade settings, the shadow bias, everything that possibly relates to shadows. On top of that, there’s the issue of the cascade transitions. Hard as I try, I can’t get the transitions looking okay, with various exponent values.
The walls here are all 20 cm thick, for reference.
Examples, at various times of day, with various settings, showing what has been my life for the past few hours:
Assistance is requested.