How do GameEngines stop Pixel Seams appearing in adjacent mesh boundaries due to FP imprecision?

Posted by ufomorace on Game Development See other posts from Game Development or by ufomorace
Published on 2014-08-17T10:29:42Z Indexed on 2014/08/18 16:48 UTC
Read the original article Hit count: 298

Filed under:
|
|
|

Graphics cards are mathematically imprecise.

So when some meshes are joined by their borders, the graphics card often makes mistakes and decides that some pixels at the seam represent neither object, and unwanted pixels appear.

It's a natural behaviour on all graphics cards. How are such worries avoided in Pro Games? Batching? Shaders? Different tangent vectors? Merging? Overlaping seams? Dark backgrounds? Extra vertices at borders? Z precision? Camera distance tweaks?

Screencap of a fix that ended up not working: enter image description here

© Game Development or respective owner

Related posts about vertex

Related posts about gpu