T-junctions in cubic mesh cause single-pixel artefacts.
Issue #77
new
Truly fixing T-junctions is difficult (especially between chunks) but there a couple of solutions which should fix the visible artefacts.
-
Dilate the geometry by a tiny (non-visible) amount to introduce a sub-pixel overlap between the triangles. This could be done in either the geometry shader or on the GPU.
-
It might be possible to fix the artefacts with a post-process which would detect single-pixel discontinuities in the depth buffer and fill them in from neighbouring pixels.