PDA

View Full Version : Palette assigning to color indexed textures



Tomy
03-01-2005, 01:10 AM
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! :)

charliejay
03-02-2005, 02:40 AM
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...

Tomy
03-06-2005, 02:19 AM
Can this 1-D texture method work, if i have multiple 2-d textures that give a 3-d effect?