Sign in to follow this  

texture mapping strange problem

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this