Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 3 of 3

Thread: Cascaded Light-Space Variance Shadow Map Distance Problem

  1. #1
    Junior Member Regular Contributor
    Join Date
    Mar 2012
    Posts
    129

    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.

  2. #2
    Junior Member Regular Contributor
    Join Date
    Mar 2012
    Posts
    129
    Bumping...

  3. #3
    Senior Member OpenGL Pro
    Join Date
    Jan 2012
    Location
    Australia
    Posts
    1,105

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •