Advertisement Jump to content


This topic is now archived and is closed to further replies.


What is the palette?

This topic is 5835 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

depends on what type of palette you are refering to. If it''s in the 256 color mode sense, then a palette is just an array of colors that the 8-bit image indexes into to form an image. If you are talking about skinned animation, then a palette is a set of matrices vertices index into to transform into world space (when combined with other matrices)

I assume you mean the 8-bit sense, so I''ll go into more detail.

on older video cards memory was very limited and they processing was slow. this meant that you could get speed improvements by storing images with only 8 bits per pixel. but what color does that 8-bit number represent? that comes from the palette. it stores usually 256 colors, and the pixel value indexes into it. so you images will be small in memory consumption, and copying them is therefore faster. plus you can do some cool tricks with palette animation.

Share this post

Link to post
Share on other sites
You probably won''t now. Palettes are relativly low quality considering that many formats now support 256 to the power of 4 colors (including alpha that is).

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!