View Full Version : how can i generate shadow not using opengl extersion

10-14-2002, 12:17 AM
how can i generate shadow using opengl1.1? if some detailed explanation to study?

10-14-2002, 03:45 AM
All you need is a stencil buffer which has been in OpenGL since 1.0. Check out stencil shadow volumes. There is a very nice paper on nvidia's developer site about this. Here is the link: http://developer.nvidia.com/view.asp?IO=robust_shadow_volumes

There are also other methods like ground plane shadows (these are very easy but kind of sucky IMHO), also shadow maps (shadow buffers, whatever). There are countless discussions about shadows on this board. Just do a search for shadow and you'll see what I mean. http://www.opengl.org/discussion_boards/ubb/biggrin.gif