Alpha blending



         


Alpha Blending is a convex combination of two colors allowing for transparency effects in computer graphics. The value of 'alpha' in the colour code ranges from 0.0 to 1.0, where 0.0 represents a fully transparent colour, and 1.0 represents a fully opaque colour.

The value of the resulting colour when colour Value1 is drawn over a background of colour Value0 is given by:

Value = (1.0-alpha) * Value0 + alpha * Value1

The alpha component is used to blend to Red, Green and Blue components equally, as in 32-bit ARGB, or alternatively, there will be three alpha values specified corresponding to each of the primary colours for spectral colour filtering.


This article is a stub. You can help BambooWeb by .





  View Live Article   This article is from Wikipedia. All text is available under the terms of the GNU Free Documentation License