Getting Started
...
Glossary
N-Z Terms
Z-fighting
3min
z fighting is a term used to describe the visual artifact that occurs when two polygons have very similar depth values this can cause the polygons to appear to flicker or "fight" for the same space on the screen z fighting is caused by the way that depth values are stored in computer graphics when a polygon is rendered, its depth value is stored in a special buffer called the z buffer the z buffer is used to determine which polygon is in front of which when two polygons have very similar depth values, the z buffer may not be able to accurately determine which polygon is in front this can cause the polygons to flicker or "fight" for the same space on the screen z fighting can be caused by a number of factors, including using a low resolution z buffer using a low quality depth buffer having two polygons with very similar depth values there are a number of ways to reduce or eliminate z fighting, including increasing the resolution of the z buffer using a high quality depth buffer splitting polygons that have very similar depth values here are some additional details about z fighting z fighting is a common problem in computer graphics, and it can be difficult to completely eliminate there are a number of techniques that can be used to reduce or eliminate z fighting, but the best technique will vary depending on the specific application z fighting can be a significant visual artifact, and it can be distracting or even disorienting to the user if you are experiencing z fighting in your computer graphics application, there are a number of things you can do to try to reduce or eliminate it by understanding the causes of z fighting and the techniques that can be used to reduce it, you can create more visually appealing and immersive graphics feedback please be sure to submit issues or feature requests through the embedded feedback form in the event it is a major issue please contact us directly through discord