The first demo shows how to implement omni-directional shadow mapping on hardware that supports Pixel Shaders 2.0 and float pixel buffers. The demo could have used a simple integer type PBuffer which is typically faster than the float type, but that would have killed the precision. (screenshot) The second demo generates shadow volumes entirely on the GPU via special meshes made of degenerated quads inserted at every occluder edge.
It takes advantage of Nvidia two side stencil buffer and ATI separate stencil to write the shadows in one pass.(screenshot). To benchmark follow this thread.
Sep 21, 2004 | Category: Developers •