Palette: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{draft}}
{{stub}}
A '''color palette''', or simply '''palette''' (also known as a "colormap" or "color index"), is a lookup table of color values. It most frequently used for simple image compression, but can also be used for other purposes. For example, {{goldsrc|2}} reads from a palette to know what color to render legacy particle effects from {{quake|2}}.
A '''color palette''', or simply '''palette''' (also known as a "colormap" or "color index"), is a lookup table of color values. It most frequently used for simple image compression, but can also be used for other purposes. For example, {{goldsrc|2}} reads from a palette to know what color to render legacy particle effects from {{quake|2}}.
Uses:
* Most stuff in {{quake|2}} and {{quake2|2}}
* Per-image compression in {{goldsrc|2}}
* Particle effects and WON console in {{goldsrc|2}}
* {{shader|infected}} in {{l4d2|2}}


[[Category:Glossary]]
[[Category:Glossary]]

Revision as of 14:22, 8 August 2023

Stub

This article or section is a stub. You can help by expanding it.

A color palette, or simply palette (also known as a "colormap" or "color index"), is a lookup table of color values. It most frequently used for simple image compression, but can also be used for other purposes. For example, GoldSrc GoldSrc reads from a palette to know what color to render legacy particle effects from Quake Quake.

Uses:

infected in Left 4 Dead 2 Left 4 Dead 2