At the moment, I'm using my shadow mapping technique to make a small object cast a shadow onto the terrain from a fairly large distance. However, this means that I have insufficient depth resolution for the object to perform self shadowing, which I would also like. So, how can I create a shadow map with sufficient depth resolution to create self-shadowing, but also allows the shadow to extend out onto the distant terrain? It might help to know that my small object is always going to be in front of the terrain.
Thanks for the help!