The demo code features two optimizations for stencil shadows and lighting, which make it possible to increase FPS 2-3 times without any new extensions. The first optimization is the extrusion of shadow volumes to the length equal to the radius of light source. The second is a clipping of triangles via vertex shader. The demo also features support for the OpenGL Shading Language.
Aug 09, 2004 | Category: Developers •