Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I'm wondering how to achieve a neon-light type effect. For example, in Pac-Man Chamipnship Edition:

PacMan CE

Or in Geometry Wars:

Geometry Wars

Is that a Bloom Effect? Or what techniques would I have to look for?

share|improve this question
    
There is a great bloom effects tutorial here –  bobobobo Mar 23 '13 at 23:55

3 Answers 3

up vote 9 down vote accepted

Here you go :)

GPU Gems - Glow Effect

With that many entities with a glowing effect on the screen (especially in Geometry Wars), it's more often than not a shader effect that's similar to the shader described in that paper.

share|improve this answer

You may not even need a full-screen bloom/glow effect (remember that this sort of effect is quite GPU-intensive, particularly if you're making a 2D game and want to avoid high system requirements)

First, try just rendering your sprites with additive blending - with a blending equation such as:

(SRC_COLOUR * SRC_ALPHA) + (DST_COLOUR * ONE)

Then bake the glows into your sprites (or render them as additional additive sprites - to create a 'glow sprite', just blur your original sprite using a gaussian blur filter in whatever paint package you use)

Of course, this approach has some limitations - the adding-up of overlapping sprites may be undesirable, and would be avoided by using a full-screen bloom/glow effect

share|improve this answer

There are two ways of achieving this;

The top one (at a guess) just uses semi-transparent images.

The bottom one more complicated (again a guess) plays with buffers to create the glow (bloom) effect.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.