freedoom/lumps/playpal/README
Mike Swanson 383854430b automatically generate a GIMP-compatible palette file
Either `make gimp-palette` or `make doom.gpl` will convert the playpal
lump into a file that can be imported into GIMP for paletted image
modes.
2019-09-19 15:17:52 -07:00

18 lines
838 B
Text
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This directory contains the palette generation script. The output of the
script is the PLAYPAL lump.
The Doom engine operates in a palettized screen mode where only 256
different colors can be shown on screen at a given time. By applying
alternate palettes, special effects can be generated (eg. the red tint
when taking damage, or the green tint when wearing the radsuit). More
information can be found on the Doom wiki:
<http://doomwiki.org/wiki/PLAYPAL>
The input for the script is playpal-base.lmp which contains the default
palette seen during normal gameplay. The script translates this palette
into the various other forms which are shown in different situations.
There is additionally a “gen-gimp-palette” script that may be used to
create a “doom.gpl” file suitable for importing into GIMPs palette
selection.