View Full Version : Alpha Blending

03-05-2012, 02:53 PM
I'm trying to use additive blending on a bunch of fire particles. The fire particles are using a texture with no alpha. It works really well when the background is black. However, when the background is a light color, the fire particles blend with the background color and I end up with a white fire.

How do I fix this? I like the additive blending when the fire goes from red to orange to yellow to white at the core.

03-05-2012, 06:47 PM
This poster had the same problem. http://gamedev.stackexchange.com/questio...g-and-particles (http://gamedev.stackexchange.com/questions/22989/how-can-i-achieve-a-good-fire-effect-with-alpha-blending-and-particles)

03-06-2012, 05:34 AM
Have you ever watched real fire over a bright white background ? It is just white.

03-06-2012, 06:07 AM
No, I've never seen a completely white fire.

03-06-2012, 06:25 AM
Because background in your chimney is dark.
Try over snow on a sunny day.

03-06-2012, 07:34 AM
But then, who wants realistic effects? We want impressive effects :-)

For some reference, see http://www.youtube.com/watch?v=ellRP5pYibs
The clip contains a nice daylight firework, including explosives with lot of fire.

03-07-2012, 05:05 AM
Nice smoke !