T-junctions in cubic mesh cause single-pixel artefacts.

Issue #77 new
David Williams created an issue

Truly fixing T-junctions is difficult (especially between chunks) but there a couple of solutions which should fix the visible artefacts.

  1. 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.

  2. 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.

Comments (0)

  1. Log in to comment