PDA

View Full Version : N00b shadow question...



NordFenris
12-19-2002, 03:17 PM
Just a quick question to make me sleep well tonight... http://www.opengl.org/discussion_boards/ubb/smile.gif I've read up on several shadow tutorials, but all of them failed to explain to my tired flu-ridden mind - why do I need to extrude the shadow volume into infinity? Why not just make it exit the far clipping plane?

DopeFish
12-19-2002, 04:39 PM
If you make it exit the far clip plane, you wont be able to cap the far end of the volume.

If you dont extrude it to "infinity", you may have cases where the shadow for an oject just stops and is clearly visible stopping.

NordFenris
12-19-2002, 06:45 PM
Aah... The capping, yes. Thank you!