From 04dcbd294cc2fd85c21df717502f67e25fc45dbc Mon Sep 17 00:00:00 2001 From: Ykkrosh Date: Fri, 18 Feb 2011 23:38:28 +0000 Subject: [PATCH] Push the near clip plane further out, to reduce z-fighting This was SVN commit r8933. --- source/graphics/GameView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/graphics/GameView.cpp b/source/graphics/GameView.cpp index 2ea0897fe5..f2b3f76259 100644 --- a/source/graphics/GameView.cpp +++ b/source/graphics/GameView.cpp @@ -59,7 +59,7 @@ extern int g_xres, g_yres; const float CGameView::defaultFOV = DEGTORAD(20.f); -const float CGameView::defaultNear = 4.f; +const float CGameView::defaultNear = 16.f; const float CGameView::defaultFar = 4096.f; const float CGameView::defaultCullFOV = CGameView::defaultFOV + DEGTORAD(6.0f); //add 6 degrees to the default FOV for use with the culling frustum const float CGameView::cameraPivotMargin = -20.0f;