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)
Monday, January 27, 2003 | Permalink
SoftCoronas.zip (2.1 MB)
This demo utilizes occlusion queries to create soft coronas. By querying the number of fragments that passes the depth test I can get a good figure on how visible the fire is. The more pixels visible, the stronger corona, quite simple.
The effect will be that as you close in on the light you'll get a stronger corona. If you go behind an occluding object the corona softly fades away.
For this demo I have also added a nice tune for the mood, Antissa by E.S. Posthumus
(the song is available for download from their site), so make sure you have OpenAL installed and that you have the libvorbis dlls.
Should run on Radeon 8500/GF3 and up.