Glow image effect
Manual     Reference     Scripting   
Reference Manual > Components > Image Effect Scripts > Glow image effect

Glow image effect

Glow (sometimes called "Bloom") can dramatically enhance the rendered image by making overbright parts "glow" (e.g. sun, light sources, strong highlights). The Bloom and Lens Flares effect is a more complex and powerful but also more expensive version of the Glow effect.

Unity includes a Glow image postprocessing effect, and all built-in shaders are made to support it nicely. Like all image effects, Glow is available in Unity Pro only. Make sure to have the Pro Standard Assets installed.


Glow effect applied to the scene

Properties

Glow IntensityTotal brightness at the brightest spots of the glowing areas.
Blur IterationsNumber of times the glow is blurred when being drawn.
Blur SpreadMultiple of the glow's residual reach.
Glow TintColor tint applied to the visible glow.
Downsample ShaderThe shader used for the glow. You generally should not have to change this.

Details

Glow uses the alpha channel of the final image to represent "color brightness". All colors are treated as RGB, multiplied by the alpha channel. You can view the contents of the alpha channel in Scene View.

All built-in shaders write the following information to alpha:

Most of the time you'll want to do this to get reasonable glow:

Tips:

Hardware support

This effect requires a graphics card with pixel shaders (2.0) or OpenGL ES 2.0. PC: NVIDIA cards since 2003 (GeForce FX), AMD cards since 2004 (Radeon 9500), Intel cards since 2005 (GMA 900); Mobile: OpenGL ES 2.0; Consoles: Xbox 360, PS3.

All image effects automatically disable themselves when they can not run on end-users graphics card.

Page last updated: 2011-05-30