-
Junior Member
Regular Contributor
Cascaded Light-Space Variance Shadow Map Distance Problem
Hello,
I attempted to use variance shadow mapping with cascaded shadow maps that are aligned with the viewing frustum, but I am not certain how to store the depth in the shadow maps for it.
Since the light is directional, there is no position that I can get the distance from like I can with a spot light (view space fragment coordinate vector length).
So, if I just use the light space depth, changing the rotation of the camera changes the light penumbras (since the cascades move with it).
The problem seems to be similar to the one in this (unanswered) post: http://gamedev.stackexchange.com/que...pcss-penumbras
It uses percentage closer filtering instead of VSM.
How can I resolve this issue?
Thank you for any help you can offer.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules