Jump to content
  • Advertisement
Sign in to follow this  
luckyyyyyy

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

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

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
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!