From 13b228513e5bafafb78924cf301dae873d5d93f6 Mon Sep 17 00:00:00 2001 From: ANAND Date: Sun, 29 Mar 2020 02:23:55 +0530 Subject: 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. --- builtin/settingtypes.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'builtin') 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 -- cgit v1.2.3