mirror of
https://github.com/glest/glest-source.git
synced 2025-08-18 14:11:15 +02:00
- fixed models that flicker when intersecting with other polygons (also known as z-fighting)
This commit is contained in:
@@ -143,6 +143,7 @@ void ModelRendererGl::renderMesh(Mesh *mesh) {
|
||||
}
|
||||
else{
|
||||
glEnable(GL_CULL_FACE);
|
||||
glPolygonOffset(0.05, 0);
|
||||
}
|
||||
|
||||
//set color
|
||||
|
Reference in New Issue
Block a user