PDA

View Full Version : Shadow maps and field of view



Monica
03-05-2003, 04:52 AM
Hi!

I'm implementing a shadow map algorithm (with ARB_DEPTH_TEXTURE and ARB_SHADOW) and have finally managed to get a shadowed scene http://www.opengl.org/discussion_boards/ubb/smile.gif 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

HalcyonBlaze
03-05-2003, 07:17 PM
This topic is probably going to get answers on the advanced forum.

- Halcyon