Graf Zahl
Why don't I have a custom title by now?!
Posts: 6960
Registered: 01-03 |
Gez said:
Note that palette 247 is actually used for some graphics, especially in other Doom engine games (Heretic, Hexen...).
If I got what I've been told right, ZDoom uses palette index 0 for transparency and moves all other palette indices in the 1-255 range, getting rid of duplicates or triplicates; and uses a translation system to convert from the graphics' palette to the system palette.
What is does is to look for a duplicate of color 0 in the palette and if that does not exist, tries to eliminate one duplicate of another color to move color 0 there. Only if that fails, too, 0 is remapped to the closest color. Of the standard palettes none needs this, AFAIK.
|