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!


We're also offering banner ads on our site from just $5! 1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


GL_CLAMP_TO_EDGE & GL_CLAMP


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
1 reply to this topic

#1 TM   Members   -  Reputation: 122

Like
Likes
Like

Posted 21 September 2001 - 12:44 AM

What''s the difference between GL_CLAMP_TO_EDGE and GL_CLAMP?

Sponsor:

#2 Prosper/LOADED   Members   -  Reputation: 100

Like
Likes
Like

Posted 21 September 2001 - 06:13 AM

Quoted from the Red Book (for OpenGL 1.2) :

- For the wrapping mode GL_CLAMP, the texel from the border (or GL_TEXTURE_BORDER_COLOR) is used in the 2x2 array of weighted texels.

- For the wrapping mode GL_CLAMP_TO_EDGE, the border is always ignored. Texels at or near the edge of the texture are used for texturing calculations, but not the border. (GL_CLAMP_TO_EDGE is new to OpenGL 1.2)




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