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

このドキュメントは有志により翻訳されたもので、オフィシャルではありません。オリジナルのページはこちら
This document is unofficially translated by users.Please see the original document here.

翻訳に関する修正など、ご連絡はこちらまで。
Please send e-mail to here, when you have any question about the translation.

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).

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

Glow works on graphics cards with support for pixel shaders (2.0). Eg. GeForce FX 5200 or Radeon 9500 and up. All image effects automatically disable themselves when they can not run on an end-users graphics card.