From 08f30e6f5040a037b12d022abc32204ffd3d18ea Mon Sep 17 00:00:00 2001 From: Andrei Kortunov Date: Tue, 11 May 2021 21:15:13 +0400 Subject: [PATCH] Temporary increase default near clip distance, until reverse-z depth buffer is implemented --- docs/source/reference/modding/settings/camera.rst | 2 +- files/settings-default.cfg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/reference/modding/settings/camera.rst b/docs/source/reference/modding/settings/camera.rst index e15b06e749..a880a2b62d 100644 --- a/docs/source/reference/modding/settings/camera.rst +++ b/docs/source/reference/modding/settings/camera.rst @@ -6,7 +6,7 @@ near clip :Type: floating point :Range: > 0 -:Default: 1.0 +:Default: 3.0 This setting controls the distance to the near clipping plane. The value must be greater than zero. Values greater than approximately 18.0 will occasionally clip objects in the world in front of the character. diff --git a/files/settings-default.cfg b/files/settings-default.cfg index ea678c70f6..ecce453d42 100644 --- a/files/settings-default.cfg +++ b/files/settings-default.cfg @@ -14,7 +14,7 @@ [Camera] # Near clipping plane (>0.0, e.g. 0.01 to 18.0). -near clip = 1 +near clip = 3 # Cull objects that occupy less than 'small feature culling pixel size' on the screen. small feature culling = true