• Advertisement
Sign in to follow this  

Texture, glTexParameter

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