Palookup (DEF)
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.
For reference, is a PNG version of the basepal used in Duke 3D.
Tokens
raw
- file
- offset
- noshades
copy undef fogpal
- red
- green
- blue
makepalookup
- red
- green
- blue
- remappal
- remapself
floorpal nofloorpal