Palette: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (→‎top: clean up, replaced: {{goldsrc → {{gldsrc (3))
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{stub}}
{{stub}}
[[File:hl1 palette.png|192px|thumb|The color palette used by Half-Life's particle effects, which is a modified version of the Quake I palette.]]
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, {{gldsrc|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, {{gldsrc|2}} reads from a palette to know what color to render legacy particle effects from {{quake|2}}.


Line 6: Line 7:
* Per-image compression in {{gldsrc|2}}
* Per-image compression in {{gldsrc|2}}
* Particle effects and WON console in {{gldsrc|2}}
* Particle effects and WON console in {{gldsrc|2}}
:{{modernConfirm|Do these use {{code|palette.lmp}} or {{code|palette.bmp}}?}}
* {{w|S3 Texture Compression|DXT block compression}} (palette for each 4x4 block)
* {{w|S3 Texture Compression|DXT block compression}} (palette for each 4x4 block)
* {{ent|infected (shader)|alt=infected}} shader in {{l4d2|2}}
* {{ent|infected (shader)|alt=infected}} shader in {{l4d2|2}}
* {{ent|$lightwarptexture}}


== External links ==
== External links ==

Latest revision as of 11:48, 25 July 2024

Stub

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

The color palette used by Half-Life's particle effects, which is a modified version of the Quake I palette.

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:

Confirm:Do these use palette.lmp or palette.bmp?

External links