Introduction - If you have any usage issues, please Google them yourself
This paper discusses shadow generation techniques in a 3D-space and especially stencil shadow volumes. Stencil shadow volumes are a popular, but hard to implement, technique to produce credible real-time shadows. Stencil shadows are needed especially when the scene is too dynamic for precalculated shadows. Modern rasterization libraries support this technique through special " stencil buffer" .