Jump to content
  • Advertisement
Sign in to follow this  
7Days

Texture, glTexParameter

This topic is 4441 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

Hi, I would like to know if there are other option than GL_NEAREST, and GL_LINEAR that I can use in the functionglTexParameter. I would like to use more accurate options, such as bilinear if it is possible.

Share this post


Link to post
Share on other sites
Advertisement
Quote:
Original post by 7Days
Hi,

I would like to know if there are other option than GL_NEAREST, and GL_LINEAR that I can use in the functionglTexParameter.

GL_LINEAR is bilinear interpolation, across a 2x2 array of texels (for 2D textures).

If you specify mipmap LODs you can sample from adjacent levels of detail as well by using options such as GL_LINEAR_MIPMAP_LINEAR - this produces fantastic quality during minification. Additionally anisotropis filtering may also be used for anisotropic filtering.

Also, take a look at the man page entry here - all possible settings are given and explained.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!