RGB: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (WikiPedia link)
Line 3: Line 3:


Image files can also have a fourth channel, called [[alpha]], which can define other information for each pixel, usually opacity.
Image files can also have a fourth channel, called [[alpha]], which can define other information for each pixel, usually opacity.
Additional information on RGB from [http://en.wikipedia.org/wiki/RGB WikiPedia]

Revision as of 17:55, 16 August 2005

RGB stands for Red, Green, Blue. In a TGA or VTF, each pixel of the image is defined by three bytes that define how much red, green, and blue light are added together to produce the color in that pixel. The three separate values for each color are called channels. Shaders in Source can manipulate each channel individually to produce color effects.

Image files can also have a fourth channel, called alpha, which can define other information for each pixel, usually opacity.

Additional information on RGB from WikiPedia