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 2 of 2

Thread: Shadow maps and field of view

  1. #1
    Junior Member Newbie
    Join Date
    Jan 2003
    Posts
    15

    Shadow maps and field of view

    Hi!

    I'm implementing a shadow map algorithm (with ARB_DEPTH_TEXTURE and ARB_SHADOW) and have finally managed to get a shadowed scene However, I'm having trouble with the light's field of view settings. I'm inexperienced with OpenGL and shadow-maps, so this may have an easy solution.

    When the field of view is about 50 - my scene gets partially black (black where the light-view can't see). But when I increase it, the shadows get really blocky (I use a 512x512 map).

    Is there any way to show the areas the light view can't see in the final scene, or is there another solution to this problem?

    Thanks,

    - Monica

  2. #2
    Junior Member Regular Contributor
    Join Date
    Jan 2003
    Location
    Bloomington,MN,USA
    Posts
    139

    Re: Shadow maps and field of view

    This topic is probably going to get answers on the advanced forum.

    - Halcyon

Posting Permissions

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