Palookup (DEF)

From EDukeWiki
Revision as of 02:32, 22 February 2020 by Fox (talk | contribs)
Jump to navigation Jump to search

palookup <palnum> { [...] }

Loads a lookup palette from a raw image file.

The image file MUST contain a 256 color table of its own. Each pixel will have their matching color in the table converted in the lookup table.

A single image file may contain multiple lookup palettes, and offset can used to locate it.

Not to be confused with base palette. See also shadefactor and palette listing.

Tokens

raw

file
offset
noshades

copy undef fogpal

red
green
blue

makepalookup

red
green
blue
remappal
remapself

floorpal nofloorpal