BloomEffect

Author: Jonathan Czeck (aarku)

Description
This script is made obsolete by the GlowEffect shipped with Unity 1.5. This script makes areas of white alpha glow. The amount of effect and the blurryness of the glow can be controlled by the two public variables of the script.

Usage
This script (and all image effects) use render textures by need and therefore require Unity Pro. There isn't a way around this!

Set your scene view to show the alpha channel of your scene. This is a menu in your scene view. Then, set up your scene so that areas you want to glow are white and areas that you do not want to glow are black, and anywhere inbetween. For most shaders, you can alter this by either including an alpha channel in your texture, or by altering the material's main color's alpha. Some shaders will even put the specular highlights (gloss) in the alpha, so that glints of light will glow. This should work with most if not all of the regular default shaders, but that does not seem to be the case as of Unity 1.2.2. Make sure to also set the alpha of the tint color in your skybox to an appropriate value. This means that you can even change the amount of skybox glow at runtime just like "Shadow Of The Colossus"!

When you are done setting up your scene, attach this script to your main camera. Adjust the number of blurs to match the performance you want and the effect you want. The more iterations the more computation it takes. It is usually fill rate limited.