Hi All
Now I use
glPolygonOffset(0.0f, -fabs(zFar - zNear) / 1024);
But it works bad, see "quadrangles" in the attached image. Setting bigger values can help with the actual model but rises probs with others. What am I doing wrong?
Also: I've read about other solutions (instead of glPolygonOffset) like setup projection matrix or use shader code. But I think with ortho (no perspective) they do same as glPolygonOffset. Is it correct?
Thank you