Glowing Mesh - How ?

Just playing and learning … I’m trying to emulate a nixie tube … a piece of somewhat dated technology that used neon to display numerals.

Anyway, I’m using a plane mesh for the numerals that at the moment is colored red but I’d really like to give it a loud glow effect. I’ve tried multipass blending without much success and as it’s enclosed I need to preserve depth testing …

Any ideas ? (to see what I’ve done so far there’s a screensaver example at :



What you want here is to do an image based two-pass separable blur. Usually the blur kernel is of type Gaussian, however other types can be used.

Check NVidia’s website under their SDK page for an example of how they do this.

Video Game Programming Blog