Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Every time I draw two primitives side by side, in this case two quads, I always get this seam-like tearing effect right along the sides of them. I'd like to think there is just an easy fix, but the only way I can think of would be reworking my indices, which I think would compromise my ability to draw textures. If anyone reading this can think of any fix, that would be great. Thanks in advance.

enter image description here

share|improve this question

There's two ways you can fix this.

  1. You can apply a half pixel offset to the corners, to make sure you have UVs that point to the center of a texel.

  2. You can change your sampling mode to POINT sampling, for Mag, Min, Mip, AddressU and AddressV sampler states, like "untitled" mentioned.

share|improve this answer
See this SO post for more details… – monkey Feb 19 '13 at 20:06

That looks more like a graphical artifact stemming from the texture that you are applying. It would be good if you gave some more information about how you are defining the quads, what vertex structure you are using and what effect you are using to render the quads.

share|improve this answer

If you're using a texture atlas, What sampler states are you using? Try using magfilter = POINT, minfilter = POINT, mipfilter = POINT, AddressU = WRAP, AddressV = WRAP

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.