Jump to content
  • Advertisement
Sign in to follow this  

texture mapping strange problem

This topic is 4425 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 am using 2d textured quads/untransformed vertices/orthogonal projection (i hate to say this again ...again... in every question:):) .Problem is when i am moving my sprite /character (anything else) in some places (yes only in some places ) of my cartesion coordinate system my texture has some "tearing like thing" (it seems that last vertical left line is lost or pressed.i mean for ex i have 256*256 frame in (120,54) it seems perfect but when it comes (300,412) last vertical left line of it seems to be lost or pressed to the texture.I realized that this is something related with texture mapping so i changed u,v from 1.0 to 0.99 problem seems to be solved (of course i will not chose this way:) ).And one more thing when this mapping error happens i see something like a diagonal tearing effect on my texture? Is this a known error? thnks;

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!