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: Shadow Volume Bugs

  1. #1
    Junior Member Regular Contributor
    Join Date
    Mar 2002
    Posts
    102

    Shadow Volume Bugs

    My stencil shadows almost work, but I sometimes see entire faces of the shadow volume. I think it happens when the light direction and/or look vector are in the same plane as a face. Has anyone else encountered this?

  2. #2
    Advanced Member Frequent Contributor
    Join Date
    Dec 2002
    Location
    Espoo, Finland
    Posts
    599

    Re: Shadow Volume Bugs

    Hi,

    Are you sure that your model is closed and your silhouette finding algorithm is foolproof? Other than that I don't know what could be wrong. A picture might help.

    -Ilkka

  3. #3
    Junior Member Regular Contributor
    Join Date
    Mar 2002
    Posts
    102

    Re: Shadow Volume Bugs

    I found my problem. I was using my look vector and face normal to classify faces as front/back. I haven't changed it yet, but I bet that was the problem.

Posting Permissions

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