Fix shadow glitches in minigolf

This commit is contained in:
Vincent Lejeune 2014-11-04 01:48:50 +01:00
parent aeed2618a4
commit c93e6c0ee3

View File

@ -638,7 +638,7 @@ core::matrix4 getTighestFitOrthoProj(const core::matrix4 &transform, const std::
return tmp_matrix;
tmp_matrix.buildProjectionMatrixOrthoLH(left, right,
down, up,
30, zmax);
zmin - 30, zmax);
return tmp_matrix;
}