Hello
Im a new Beginner in OpenGL. I wanna know what is Stencil Buffer and what can we do by use it. I read little about it on internet, but couldnt figure out Its capability.
Is there a full tutorial with sample codes on internet that can help me.
If you are using anything more than a voodoo (TNT or above), with a 24 bit depth buffer, stencil is just about free.
Stencil shadows (shadow volumes, NOT shadow maps) are a good way to do shadows. There are plenty of discussions here on shadow volumes vs shadow maps.