Can anybody give an example to use color bias/scale when rendering texture image?

Can anybody give a demo to show how to use



to do RGB scale/bias control when rendering a texture image.


glPixelTransferf doesn’t affect textured rendering. It is used during pixel operations of which texture downloads with glTexImage2D is one.
You might want to search for the GL_COLOR_MATRIX functionality of the ARB-imaging subset of OpenGL.