Paletted texture

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,

Yossi

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.