- fixed models that flicker when intersecting with other polygons (also known as z-fighting)

This commit is contained in:
Mark Vejvoda 2011-02-08 04:50:57 +00:00
parent e03b029bea
commit c856aa2c44
1 changed files with 1 additions and 0 deletions

View File

@ -143,6 +143,7 @@ void ModelRendererGl::renderMesh(Mesh *mesh) {
}
else{
glEnable(GL_CULL_FACE);
glPolygonOffset(0.05, 0);
}
//set color