something about the shadows

what is Stencil buffer shadowing and where can i learn the algorithm ?
thanks! :cool:

Here’s a great place to start, even if you don’t have a Nvidia card:
http://developer.nvidia.com/object/robust_shadow_volumes.html
http://developer.nvidia.com/object/inf_shadow_volumes.html

Here’s another nice article:
http://www.gamasutra.com/features/20021011/lengyel_01.htm

There are dozens of other tutorials and demos online. Try a search for “infinite shadow volumes,” for example.

Hope this helps :slight_smile: