summaryrefslogtreecommitdiff
path: root/builtin/settingtypes.txt
diff options
context:
space:
mode:
authorANAND <ClobberXD@gmail.com>2020-03-29 02:23:55 +0530
committerGitHub <noreply@github.com>2020-03-28 21:53:55 +0100
commit13b228513e5bafafb78924cf301dae873d5d93f6 (patch)
treea76791ec8d233365b6dd8154a9f840c10c10b915 /builtin/settingtypes.txt
parentc6d6358b9283718bda1963f6f0b3b4363d477477 (diff)
downloadminetest-13b228513e5bafafb78924cf301dae873d5d93f6.tar.gz
minetest-13b228513e5bafafb78924cf301dae873d5d93f6.tar.bz2
minetest-13b228513e5bafafb78924cf301dae873d5d93f6.zip
Ignore near_plane setting on non-Android platforms (#8749)
Camera's near-plane will be hard-coded to 0.1 on all non-Android platforms. The upper-bound of this setting has been reduced to 0.25, as 0.5 is just way too high.
Diffstat (limited to 'builtin/settingtypes.txt')
-rw-r--r--builtin/settingtypes.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt
index 2e84138a4..1f2889b45 100644
--- a/builtin/settingtypes.txt
+++ b/builtin/settingtypes.txt
@@ -623,11 +623,11 @@ pause_on_lost_focus (Pause on lost window focus) bool false
# View distance in nodes.
viewing_range (Viewing range) int 100 20 4000
-# Camera 'near clipping plane' distance in nodes, between 0 and 0.5.
-# Most users will not need to change this.
+# Camera 'near clipping plane' distance in nodes, between 0 and 0.25
+# Only works on GLES platforms. Most users will not need to change this.
# Increasing can reduce artifacting on weaker GPUs.
# 0.1 = Default, 0.25 = Good value for weaker tablets.
-near_plane (Near clipping plane) float 0.1 0 0.5
+near_plane (Near plane) float 0.1 0 0.25
# Width component of the initial window size.
screen_w (Screen width) int 1024 1