Try to fix acnee.

There is still some acnee on third and fourth cascade though but barely
noticeable
This commit is contained in:
Vincent Lejeune 2015-01-05 01:30:11 +01:00
parent 0d8bb12ec9
commit b756ebd537

View File

@ -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);