Z-fighting

Z-fighting is a 3D rendering artifact in which surfaces at nearly the same depth flicker because the renderer cannot tell which one is in front.

1 articleLast mentioned

Z-fighting is a 3D rendering artifact in which two surfaces lying at the same or nearly the same depth flicker or show striped patterns because the renderer cannot determine which one is in front. It is also called depth fighting. It arises from the limited precision of the depth buffer, or Z-buffer, which stores a depth value for each pixel to resolve visibility.

Under perspective projection, depth precision decreases with distance from the camera, so the artifact appears more readily on distant surfaces. It is reduced by separating the overlapping surfaces, narrowing the range between the near and far clipping planes, increasing the bit depth of the depth buffer, or applying an offset to depth values.

This entry is based on AIPOST articles and widely known facts. If something is wrong, please send us a correction request.

Articles covering this entry

  • Gyro-M vs. Gyro-S on a 16GB GPU: Higher Scores, Similar Coding ResultsAI Performance ·

    Slight Z-fighting artifacts appear where surfaces overlap.

    Read article

Found a mistake or missing an entry?

Wiki entries are based on AIPOST articles and widely known facts. If an entry is wrong, send us a correction request and we will check and fix it. Names from new articles are added to the wiki after the article is published.