Sign in to follow this  
luckyyyyyy

Smoothest and high quality parameters for texture mapping with multi-sampling mode?

Recommended Posts

what is the smoothest parameters for texturing with multi-sampling mode.

I mean to say I am using GL_LINEAR, GL_CLAMP, and GL_MODULATE. What should I choose here to get smoothest and high quality texture.

can you recommend me any other parameters for making texture high quality.

we I don't use these paramaters then there is no difference in visual but the pixel values changes when we draw the graph of "U (horizontal coord)" and intensity of the image.


glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP); glTexEnvf(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_MODULATE);

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this