RGB: Difference between revisions
Jump to navigation
Jump to search
m (Interwiki-ing) |
m (fixed caps) |
||
Line 1: | Line 1: | ||
[[category:glossary]] | [[category:glossary]] | ||
[[RGB]] stands for | [[RGB]] stands for '''r'''ed, '''g'''reen, '''b'''lue. In a [[TGA]] or [[VTF]], each pixel of the image is defined by three [[byte]]s 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. | 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:RGB|Wikipedia]]. | Additional information on RGB from [[Wikipedia:RGB|Wikipedia]]. |
Revision as of 21:36, 26 May 2006
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.