GLSL glow shader

I wanted to try and make a nice glow shader today, since I failed before at making a good glow effect without shaders. I used the Allegro 5 shader addon and OpenGL/GLSL on my macbook. The code is a bit goofy, since in my copy of Allegro 5, I’ve only added shader support for the iPhone port, and so there is some redundant code here, but I just wanted to get it working. The code and a video is attached.

glow.cpp

Trackback URI | Comments RSS

Leave a Reply

You must be logged in to post a comment.