| Each Pixel Has Three Channels Of Color Information |
|
In computer graphics, each pixel has three channels of color information: red, green, and blue and sometimes a fourth called the alpha channel. This channel controls the way in which other graphics info is displayed, such as levels of transparency or opacity. Alpha blending is the name for this type of control, and it's used to simulate effects such as placing a piece of glass in front of an object so that the object is completely visible behind the glass, unviewable, or something in between. The real world is composed of transparent, translucent, and opaque objects. Alpha blending is a technique for adding transparency information for translucent objects. It is implemented by rendering polygons through a stipple mask whose on-off density is proportional to the transparency of the object. The resultant color of a pixel is a combination of the foreground and background color. Typically, alpha has a normalized value of 0 to 1 for each color pixel. New pixel = (alpha)(pixel A color) + (1 - alpha)(pixel B color) |