Can any one help me using stencil buffer by introducing an example ?
This may sound like a stupid question, but the problem I have is when I
try to project a dynamic shadow (using stencil buffer) to things like a
wall or roof, I run the risk of having shadows on both sides of
wall/roof, or having the shadow being cast through the wall/roof. The
root cause seems to be the length of the shadow volume that cuts
through polygons that it shouldn't. Is there any quick fix to this? Or
do I just have to make the wall and roof thick enough so that shadow
volume won't penetrate them?
Thanks for your help.
Sent via Deja.com http://www.deja.com/
Before you buy.