Skip to main content

Module palette

Module palette 

Source
Expand description

Palettes and lookup tables.

  • .PAL – 256 RGB triplets, 6 bits per channel.
  • .PLU – palookup: 64 shade levels x 256 colors (shade 0 = brightest).
  • .TLU – 256x256 translucency table, tlu[a * 256 + b].

Structs§

ColorTables
Full set of colour tables used by the renderer.
Palette

Constants§

NUM_SHADES