PDA

View Full Version : Usage of different mag and min filters



Gorg
01-19-2003, 11:29 AM
Aside from mipmapping, is there any practical use of having a different texture filter for min and mag?


[This message has been edited by Gorg (edited 01-19-2003).]

jwatte
01-19-2003, 07:05 PM
Depends on what you want. I can see various effects being pulled with LINEAR one way and NEAREST the other, say.

V-man
01-19-2003, 07:12 PM
Well, you can use the texture LOD value to have some nice effects with mipmaps.
I think using GL_NEAREST_MIPMAP_NEAREST comes in handy for this case.

Gorg
01-19-2003, 07:26 PM
Originally posted by jwatte:
Depends on what you want. I can see various effects being pulled with LINEAR one way and NEAREST the other, say.

What kind of effects?

I am just trying to widen my horizons here because I do not seem to have enough knowledge/experience to find of a use of having say GL_NEAREST as mag and GL_LINEAR as min or any other combination.

JustHanging
01-20-2003, 12:02 AM
Certain types of textures look better when magnified with GL_NEAREST instead of GL_LINEAR. Basically ones with sharp color variations and lots of straight edges, for example the panels on the surface of a star destroyer. However, when they are minificated you still get better results when using linear interpolation and mipmaps.

-Ilkka