RGB: Difference between revisions
Jump to navigation
Jump to search
Kestrelguy (talk | contribs) m (→See Also) |
Kestrelguy (talk | contribs) m (minor grammar fixes) |
||
Line 1: | Line 1: | ||
{{lang|RGB}}[[Category:Glossary]] | {{lang|RGB}}[[Category:Glossary]] | ||
[[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. Textures can also have a fourth channel, called [[alpha]], | [[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. Textures can also have a fourth channel, called [[alpha]], that can store other information for each pixel (usually opacity). | ||
* The three or four separate values for each color are called | * The three or four separate values for each color are called "channels." [[Shader]]s in Source can manipulate each channel individually to produce color effects. | ||
* Within [[material]]s, an RGB | * Within [[material]]s, an RGB color is a [[material vector]]. | ||
== See Also == | == See Also == |
Revision as of 18:46, 14 May 2022
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. Textures can also have a fourth channel, called alpha, that can store other information for each pixel (usually opacity).
- The three or four separate values for each color are called "channels." Shaders in Source can manipulate each channel individually to produce color effects.
- Within materials, an RGB color is a material vector.