View Full Version : about glTexParameter()

10-15-2009, 10:41 AM
I wonder about glTexParameter() in GL_TEXTURE_MIN_FILTER target I think default value should be GL_NEAREST instead of GL_NEAREST_MIPMAP_LINEAR ?

10-15-2009, 04:49 PM
Why ? It is ugly and slow.

Alfonse Reinheart
10-15-2009, 06:01 PM
I'm with ZbuffeR. If they are going to change the default, then it should be to either GL_NEAREST_MIPMAP_NEAREST, or GL_LINEAR_MIPMAP_LINEAR.

I don't think it's worth the effort to begin with. Just create a simple texture object creation wrapper function and have it set new defaults.

10-15-2009, 11:37 PM
This isn't a very useful suggestion. Thumbs down.

10-16-2009, 02:45 PM
I can't agree with GL_NEAREST for the GL_MIN_FILTER, one can make a weak case for GL_NEAREST_MIPMAP_NEAREST to be the default value, but really I am with v-man on this: thumbs down, especially since it totally kills any backwards compatibility.