"In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move."
- Douglas Adams

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)
Perpixel spotlights
Monday, May 13, 2002 | Permalink

Executable
Source code
Spotlights.zip (625 KB)

Required:
GL_ARB_texture_env_dot3
GL_ARB_texture_env_crossbar or GL_NV_texture_env_combine4
GL_EXT_texture3D
GL_EXT_texture_edge_clamp

Recommended:
GL_ARB_texture_compression
GL_EXT_texture_compression_s3tc
This is a demo of perpixel shotlights. Two flashlights are flying around lighting the bumpy walls. Looks pretty cool
The effect requires four texture units, a bumpmap, vectorfield, spotlight texture, and a small 2 texel texture to remove the backprojection. (With fragment shaders the last texture shouldn't be neccesary)

It should run on Radeon 8500, Parhelia and GF3/4.
Source is included as usual.