Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


Anisotropic filtering

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

I''m using this code to enable anisotropic filtering in my app: float fMax = 0.0f; glGetTexParameterfv(GL_TEXTURE_2D, GL_TEXTURE_MAX_ANISOTROPY_EXT, &fMax ); glTexParameterf( GL_TEXTURE_2D, GL_TEXTURE_MAX_ANISOTROPY_EXT, fMax); So, the same constant is used to get the MAX anisotropy level and to set the CURRENT level? Isn''t this a little misleading? I was looking for a way to retrieve the current (not the max) anisotropy level, is there a way to do this? Thanks

Share this post

Link to post
Share on other sites


Will return the currently set max anisotropy level. To get the maximum value supported by the implementation, use:


What you''re doing in your code is just setting it to the value it was already at.

Share this post

Link to post
Share on other sites

  • 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!