"Government's view of the economy could be summed up in a few short phrases: If it moves, tax it. If it keeps moving, regulate it. And if it stops moving, subsidize it."
- Ronald Reagan
Framework 4 (Last updated: October 25, 2019) Framework 3 (Last updated: February 6, 2017) Framework 2 (Last updated: October 8, 2006) Framework (Last updated: October 8, 2006) Libraries (Last updated: September 16, 2004) Really old framework (Last updated: September 16, 2004)StencilShadows Wednesday, March 13, 2002 | Permalink
Required: GL_ARB_multitexture
GL_EXT_texture_env_dot3
GL_ARB_texture_env_combine
GL_EXT_texture_edge_clamp
GL_EXT_texture3D
GL_ARB_texture_env_crossbar or GL_NV_texture_env_combine4
This demo shows dynamic per-pixel lighting with shadows and proper shadow overlapping. The shadows are created by using the stencil buffer and Carmacks reversed algoritm.