- fixed models that flicker when intersecting with other polygons (also known as z-fighting)
This commit is contained in:
parent
e03b029bea
commit
c856aa2c44
|
@ -143,6 +143,7 @@ void ModelRendererGl::renderMesh(Mesh *mesh) {
|
|||
}
|
||||
else{
|
||||
glEnable(GL_CULL_FACE);
|
||||
glPolygonOffset(0.05, 0);
|
||||
}
|
||||
|
||||
//set color
|
||||
|
|
Loading…
Reference in New Issue
Block a user