I’ve been struggling with managing the shadows on a building with a single-slope roof. It seems whenever the light catches the roof at an angle close to the roof’s angle itself - so any moment that isn’t early dawn, dusk, or midday - the shadows show some horrible stepping in them.
I’ve tried fiddling with every shadow-linked attribute I could find, both on my directional light and on the mesh, but I can’t seem to find the solution.
Optimisation isn’t really an issue in this situation so I don’t mind if the solution is heavy to compute, but using the path tracer isn’t really an option.
Does anyone have an idea of what’s going on?
Thanks!
Thank you both for your help. I dug a bit more, and apparently what I’m dealing with is called projective aliasing, which seems to be a known weakness of virtual shadow maps. Changing the slope bias unfortunately doesn’t help in that situation.
I’m starting to wonder if it would be possible to use lightmaps instead of dynamic shadows on that one specific actor, and if it would look any better…