Skip to main content
gamedev.net
🔒 Locked

Texture, glTexParameter

Started by 7Days May 19, 2006 at 3:17 AM 1 replies 800+ views
Original Post
7Days
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. I would like to use more accurate options, such as bilinear if it is possible.
deavik
deavik
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.
7Days
7Days
thanks

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.