"You have a choice between the natural stability of gold and the honesty and intelligence of the members of government. And with all due respect for those gentlemen, I advise you, as long as the capitalist system lasts, vote for gold."
- George Bernard Shaw

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.