Date: Sat, 09 Mar 1996 14:05:23 -0600
From: Jim Bucher <jim@gcchem.com>
To: quake-editing@nvg.unit.no
Subject: Re: Quake Palette
Jim Bucher wrote:
>
> I know how the palette is set up, but when I use the palette from the
> gfx.wad the textures do not look right. This leads me to believe that they
> are using a color look up table for the texture. So, do you know if the
> textures reference the palette directly, or is there is an intermediate
> color quantization table? It could be that I have just set the palette
> wrong.
I just fixed the problem. I was setting the palette wrong. The palette entries
are in the range of 0-255. The VGA DAC only accepts 6-bit entries so I had to
right shift all values by 2 before setting the palette.