Hello
I have prepared a small demo that shows two techniques of creating a bloom effect. Maybe it will be useful to someone.
There are actually two demos. One uses Gaussian blur to blur the screen. The other uses linear scaling that is repeated four times, hence I called it “quadlinear”. Both demos use FBOs and GLSL, so if your graphic card doesn’t support them, don’t bother trying to run the demos
The first demo can be launched by clicking here
The second demo can be launched by clicking here
NOTE: When the demo starts the bloom is turned off. In order to turn it on, press “b”.
Source code for both demos is here
And here’s a screenshot:
http://www.insightmachines.com/devel/bloom/bloom.png
Any comments/questions are welcome
Cheers,
Grzegorz