Jump to content
  • Advertisement
Sign in to follow this  

OpenGL 2D sprite texturing problem

This topic is 3604 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 working on a little low-res sprite game using OpenGL. I'm having problems with texture artifacts- at first I thought they were due to scaling, but that doesn't seem to be the case. Rather, it's due to float coordinates. It seems that whenever a sprite's coordinates are near x.5 on either axis, it flips out. In this case, the textures are 16x16 and the resolution is 320x240. Good: Bad: Any ideas?

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!