I have implemented shadow mapping in my outdoor terrain application. It works fine, except the shadow map doesn’t cover everything. Since the light frustum is finite, it doesn’t cover the entire view frustum.
The net result is everything looks great when I am in the center of the map, but the shadows disappear as a move too far.
Right now I have a single light high overhead, and it looks to the center of the terrain with an Ortho projection.
How is this typically handled in an outdoor scene? Should I move where the light so that it looks toward the center of the view frustum as I move the camera?
I have begun attempting to implement a perspective shadow map, and that approach looks like it might help some of the aliasing issues, but I am still confused about the coverage issue.
Thanks in advance for any help…