Mail Archives: djgpp/1999/08/11/20:27:01
zidharta AT yahoo DOT com writes:
> when we use color pallete technique in 13h graphics mode ...
> (where we set RGB using outport or inport )
> are we really get more colors?... it still 256 bits anyway isnt it?
> so why are we using it? ...
The palette chooses _which_ set of 256 colors you want to use.
Maybe for a Doom game, you mostly want lots of different shades
of brown and grey, while for a Mario game you want lots of
bright, primary colors. There can only be 256 on the screen at
a time, but the palette chooses which colors those are.
Shawn Hargreaves.
- Raw text -