Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

TM

GL_CLAMP_TO_EDGE & GL_CLAMP

This topic is 6293 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Advertisement
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)

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!