Jump to content
  • Advertisement
Sign in to follow this  
jake_Ghost

OpenGL my textures look like crap in opengl

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

when i look at my textures close up they look like crap and all pixelated. I can see each pixel clearly!! How do i make it so the textures actually look decent and not so zoomed up so even when the textures is almost at zero u wont see everysingle pixel on the texture? thx jake

Share this post


Link to post
Share on other sites
Advertisement
Texture filtering helps. Have you used glTexParameteri to set the min and mag filters to linear?

Share this post


Link to post
Share on other sites
yup i have, i have it so i can change the filtering on the texture by loading a texture with different filtering, nearest linear mipmap. I have also tried different values of FSAA and anisotropic filtering but it doesnt help

Share this post


Link to post
Share on other sites
mipmapping helps for textures far away not close up
use GL_LINEAR filtering
+ bigger sized textures perhaps
if u still have problems post a screenshot

Share this post


Link to post
Share on other sites
Play any game and get up real close to some textures. You'll always start seeing the pixels (hopefully blurred though because of filtering). As of now we are limited by resolution. Try increasing the resolution, and hopefully it will help some. But we'll always be limited by resolution, just do your best to not let the viewer get so close up.

Share this post


Link to post
Share on other sites
The most aggressive filtering is achieved by setting min, mag, and mip filters to linear, and enabling anisotropy. If you've done that, you can't get any better. As you get really close to objects, texture artifacts will show. It helps to use higher resolution textures, detail textures, normal maps, etc.

Share this post


Link to post
Share on other sites
ok ill use what u guys have suggested. Thx for all the help!
and ill put up the link for my game when its done a year or so :p.

thx jake

Share this post


Link to post
Share on other sites
Just for the sake of it, what size are your textures?

Even with the best filtering, a 64x64 texture up close WILL look pixelated, and pretty badly too if viewed close enough to occupy the screen. Your best bet, if possible, is to up the resolution of your textures. This assumes, like has been suggested, that you've set your textures to use filtering, though (linear for max, mipmapping for min; easiest to implement and pretty good looking, frankly.)

Share this post


Link to post
Share on other sites
i have experimented with different sized textures andi have used very large ones. I dont no the exactsize cause im at skool but its prob bought 800x800 size.

Share this post


Link to post
Share on other sites
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!