View Full Version : glColor per Texture Unit?

01-23-2004, 10:17 AM
Hi all, does glColor() apply to every Texture unit or only the active one?

Can I specifiy a seperate per-vertex color per texture unit?

01-23-2004, 02:14 PM
glColor is one color and can be applied per vertex, there is no per texture per vertex color. You have other colors available like the secondary color using glSecondaryColor3f, but you need to look at using combiner & related extensions or the more contemporary fragment shaders to use these colors instead of just daisy chaining textures.

01-23-2004, 03:32 PM
Ah Crap. Thanks Dorbie. http://www.opengl.org/discussion_boards/ubb/smile.gif