
This image shows the render and the shadowmap of a scene. Everything is normal, that shadowmap is focused on the visible part of the scene (the view frustum). It is aligned so the view direction always point up in the shadowmap, so, the rest is to modify the image to enlarge the area closer to the camera.
I want to taper the shadowmap so the lower part of that small image gets enlarged, while the top part remains unchanged, allowing to have more detail closer to the camera, and that the far parts don't have that much detail. I have already tried several options, but to no avail. I hope you can bring me a hand here! Thanks in advance.