"I'm in denial; I just don't want to admit it."

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)
Wednesday, May 28, 2003 | Permalink

Source code
Electro.zip (88 KB)

Here another low instruction count wonder. It's a electric flash kind of procedural texture in a style similar to those seen in Unreal/UT, except this is done in a shader, thus hardly requiring any AGP bandwidth while offering better quality and cost scaling well with size on screen. I couldn't do this effect in just 8 instructions like the Fire demo below, but had to settle for 9 instructions. Though in practice it runs faster than the Fire demo since it uses less complex instructions and no dependent texture reads.

Should run on Radeon 9500+ and GeForce FX.