Palookup (DEF): Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
Not to be confused with [[basepalette (DEF)|base palette]]. See also [[shadefactor (DEF)|shadefactor]] and [[Palette (environment)#Global Palettes|palette listing]]. | Not to be confused with [[basepalette (DEF)|base palette]]. See also [[shadefactor (DEF)|shadefactor]] and [[Palette (environment)#Global Palettes|palette listing]]. | ||
== Tokens == | == Tokens == |
Revision as of 01:32, 22 February 2020
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