✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
A polygon is drawn first, and then lines. But some fragments on the line are displayed behind the corresponding fragment on the polygon (triangle) (this is called Z-fighting as we see in the figure below) due to small numerical errors. What WebGL function is used to resolve this issue?