Palette assigning to color indexed textures

Hi,

How can I assign a palette to an 8-bit color indexed texture image?

Note: My graphics card does not support extension palettes.

Thanks! :slight_smile:

Haven’t actually done this myself, but what you could investigate doing is using a second, one dimensional texture, and a fragment shader, to do the lookup…

Can this 1-D texture method work, if i have multiple 2-d textures that give a 3-d effect?