summaryrefslogtreecommitdiff
path: root/builtin/settingtypes.txt
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2019-09-17 06:13:17 +0200
committerSmallJoker <mk939@ymail.com>2019-09-17 19:06:51 +0200
commit05a7da627959afef2198f2036f4144e3d8abfbda (patch)
treecee876c0abfcb919d314ac973ded26b62e6c54ec /builtin/settingtypes.txt
parente0a85fae01287fb06c0d29fc309067d18286b100 (diff)
downloadminetest-05a7da627959afef2198f2036f4144e3d8abfbda.tar.gz
minetest-05a7da627959afef2198f2036f4144e3d8abfbda.tar.bz2
minetest-05a7da627959afef2198f2036f4144e3d8abfbda.zip
Improve undersampling settings
The setting now accepts values between 1 and 8 in the Advanced Settings menu. Values 0 and 1 now behave the same way (setting it to 1 won't disable MSAA anymore), so there's no need to expose 0 as a value. This closes #8939.
Diffstat (limited to 'builtin/settingtypes.txt')
-rw-r--r--builtin/settingtypes.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt
index 8b508cf59..f73190fad 100644
--- a/builtin/settingtypes.txt
+++ b/builtin/settingtypes.txt
@@ -508,10 +508,11 @@ texture_min_size (Minimum texture size) int 64
# when set to higher number than 0.
fsaa (FSAA) enum 0 0,1,2,4,8,16
-# Undersampling is similar to using lower screen resolution, but it applies
+# Undersampling is similar to using a lower screen resolution, but it applies
# to the game world only, keeping the GUI intact.
-# It should give significant performance boost at the cost of less detailed image.
-undersampling (Undersampling) enum 0 0,2,3,4
+# It should give a significant performance boost at the cost of less detailed image.
+# Higher values result in a less detailed image.
+undersampling (Undersampling) int 1 1 8
[**Shaders]