From b3697e1ea739c19fe55652178983e524c63b7733 Mon Sep 17 00:00:00 2001 From: Luc Fauvel Date: Wed, 9 Oct 2019 22:22:36 -0400 Subject: [PATCH 1/2] Increased near plane value --- voxygen/src/scene/camera.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/voxygen/src/scene/camera.rs b/voxygen/src/scene/camera.rs index 719da0f351..9e92319452 100644 --- a/voxygen/src/scene/camera.rs +++ b/voxygen/src/scene/camera.rs @@ -4,7 +4,7 @@ use frustum_query::frustum::Frustum; use std::f32::consts::PI; use vek::*; -const NEAR_PLANE: f32 = 0.1; +const NEAR_PLANE: f32 = 1.0; const FAR_PLANE: f32 = 10000.0; const FIRST_PERSON_INTERP_TIME: f32 = 0.05; From 2651cb9179a0098f6249f69772f6f74685be67e5 Mon Sep 17 00:00:00 2001 From: Imbris Date: Thu, 10 Oct 2019 22:24:24 +0000 Subject: [PATCH 2/2] Adjust far plane and bring near plane back in a bit --- voxygen/src/scene/camera.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/voxygen/src/scene/camera.rs b/voxygen/src/scene/camera.rs index 9e92319452..a759153e20 100644 --- a/voxygen/src/scene/camera.rs +++ b/voxygen/src/scene/camera.rs @@ -4,8 +4,8 @@ use frustum_query::frustum::Frustum; use std::f32::consts::PI; use vek::*; -const NEAR_PLANE: f32 = 1.0; -const FAR_PLANE: f32 = 10000.0; +const NEAR_PLANE: f32 = 0.5; +const FAR_PLANE: f32 = 5000.0; const FIRST_PERSON_INTERP_TIME: f32 = 0.05; const THIRD_PERSON_INTERP_TIME: f32 = 0.1;