Blurry 2D rendering

Started by
1 comment, last by zedz 14 years, 8 months ago
Ive created a 2d engine in opengl but I have a problem. The textures I render come out blurry. Im running on an old GeForce MX2 and further upgrade of hardware is not possible. I use gluBuildMipMaps for uploading textures. How can I make textures come out with pixel perfection?
Advertisement
Possible reasons:
1) your texture is NPOT. Make it POT.
2) add 0.375 offset to x:y
as idinev implys gluBuildMipMaps first resizes texture to POT (power of two)
this can create distortions,
also try GL_NEAREST mapping

This topic is closed to new replies.

Advertisement