Jump to content

  • Log In with Google      Sign In   
  • Create Account

Interested in a FREE copy of HTML5 game maker Construct 2?

We'll be giving away three Personal Edition licences in next Tuesday's GDNet Direct email newsletter!

Sign up from the right-hand sidebar on our homepage and read Tuesday's newsletter for details!


GL_PRIMARY_EXT, GL_CONSTANT_COLOR_EXT


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
3 replies to this topic

#1 WarAmp   Members   -  Reputation: 749

Like
Likes
Like

Posted 29 June 2001 - 08:16 AM

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.

Sponsor:

#2 Serge K   Members   -  Reputation: 154

Like
Likes
Like

Posted 30 June 2001 - 11:40 AM

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.

#3 WarAmp   Members   -  Reputation: 749

Like
Likes
Like

Posted 30 June 2001 - 06:32 PM

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.


#4 Serge K   Members   -  Reputation: 154

Like
Likes
Like

Posted 30 June 2001 - 06:51 PM

Yes,
this extension uses texture environment color as constant color.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS