From b756ebd537dcb94163a072d4312d4c1b7b4ea684 Mon Sep 17 00:00:00 2001 From: Vincent Lejeune Date: Mon, 5 Jan 2015 01:30:11 +0100 Subject: [PATCH] Try to fix acnee. There is still some acnee on third and fourth cascade though but barely noticeable --- src/graphics/render_geometry.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/graphics/render_geometry.cpp b/src/graphics/render_geometry.cpp index c485a06ad..44c560eaf 100644 --- a/src/graphics/render_geometry.cpp +++ b/src/graphics/render_geometry.cpp @@ -983,7 +983,7 @@ void IrrDriver::renderShadows() { glDrawBuffer(GL_NONE); glEnable(GL_POLYGON_OFFSET_FILL); - glPolygonOffset(1.5, 0.); + glPolygonOffset(1.5, 50.); } glCullFace(GL_BACK); glEnable(GL_CULL_FACE);