"He who knows not, and knows not that he knows not, is a fool...shun him.
He who knows not, and knows that he knows not, is willing...teach him.
He who knows, and knows not that he knows, is asleep...awaken him.
He who knows, and knows that he knows, is wise...follow him."
- Chinese Probverb

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

Source code
Spotlights.zip (625 KB)

GL_ARB_texture_env_crossbar or GL_NV_texture_env_combine4

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.