Look-up table

Is there a way to insert a color look-up table into the texture rendering path? What I want to do is allow the user to be able to interactively adjust the contents of a look-up table, and observe the changes in real-time. The glPixelMap and glColorTable functions occur in the pixel transfer stage, which is fine when creating the textures, but inconvenient when trying to render changes to the look-up table quickly.

You might want to look into GL_EXT_paletted_texture.

Not sure if it will suit your needs, and also, ATI drivers dont support the extension.