Hello Guest

[HELP] Glowing effect

  • 1 Replies
  • 4366 Views
[HELP] Glowing effect
« on: January 06, 2014, 06:37:20 »
Well, I need some help on making a "glowing" effect in 3d, I have no idea how to even approach this, probably shaders though. I have a picture of what I want it to be to give you an idea:

(The glowing of the eyes)

*

Offline kappa

  • *****
  • 1319
Re: [HELP] Glowing effect
« Reply #1 on: January 06, 2014, 11:47:09 »
Glow/Bloom effect is a pretty easy effect to implement (compared to some of the other effects out there) and is usually done in 3 steps.

1. Render your game scene into a glow map texture/fbo, only the parts that are to glow should be visible on this, the rest of the scene is usually not drawn or blacked out where it partly covers any bits that need to glow.
2. Blur the glow map, usually using something like a Gaussian blur.
3. Blend the glow map texture on top of your game scene (normally using additive blending).

As for actual implementation there are a number of tutorials available online showing how to do the above.
« Last Edit: January 06, 2014, 13:46:12 by kappa »