GL_PRIMARY_EXT, GL_CONSTANT_COLOR_EXT

Started by
2 comments, last by WarAmp 22 years, 9 months ago
hey again all. One more question: What do GL_PRIMARY_EXT, and GL_CONSTANT_COLOR_EXT represent? (env_combine extention) the spec says that GL_PRIMARY is the primary color, but what exactly does that mean? is it the vertex color, the vertex color times the texture color? Im confused. Similarily, what is GL_CONSTANT_COLOR? thanx again for your help. Waramp.
Waramp.Before you insult a man, walk a mile in his shoes.That way, when you do insult him, you'll be a mile away, and you'll have his shoes.
Advertisement
GL_PRIMARY_EXT == vertex color

GL_CONSTANT_COLOR_EXT has nothing to do with GL_EXT_texture_env_combine,
it''s from GL_EXT_blend_color.
Thanx for the reply. I meant GL_CONSTANT_EXT, not GL_CONTANTS_COLOR_EXT, but the spec says Texture Environment Color, so I''m assuming it means the glTexEnv(..., GL_TEXTURE_ENV_COLOR, ...) value?

Is this right?

Thanx.
Waramp.
Waramp.Before you insult a man, walk a mile in his shoes.That way, when you do insult him, you'll be a mile away, and you'll have his shoes.
Yes,
this extension uses texture environment color as constant color.

This topic is closed to new replies.

Advertisement