View Full Version : Paletted texture

05-19-2004, 12:53 AM
I have a texture of 8 bits indices that are entries to color lookup tables (256 RGBA values).
How do I implement it on shaders?
Can I define the color lut as a 1D RGBA texture?
If yes, how do I acceess both textures in the fragment shader.

Many thanks,