Jump to content
  • Advertisement

Archived

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

agent666

Texture Filtering

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

Does anyone know what setting would be best for GL_TEXTURE_MAG_FILTER to convert picture 1 (see attachment below) to picture 2 Picture 1 is kinda square blocky, i wanna make it circly blocky (or blurred) like in picture 2 (see bottom left corner of picture 2) Picture 1 Url: http://www.geocities.com/bad_guy_image26/magfilter2.jpg Picture 2 Url: (I want it to look like this) http://www.geocities.com/bad_guy_image26/magfilter.jpg

Share this post


Link to post
Share on other sites
Advertisement
For a magnification filter use GL_LINEAR. GL_LINEAR_MIPMAP_LINEAR is not a magnification filter . It is a minification filter. Magnification by it''s very definition means you have only one mipmap to filter from (the base image).

Sorry to shout, but people just don''t seem to get this. I realise that using GL_LINEAR_MIPMAP_LINEAR will probably give you linear magnification but I don''t believe this behaviour is guarenteed.

Enigma

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!