summaryrefslogtreecommitdiff
path: root/builtin/settingtypes.txt
diff options
context:
space:
mode:
authornumber Zero <silverunicorn2011@yandex.ru>2017-01-12 12:19:36 +0300
committerAuke Kok <sofar@foo-projects.org>2017-04-09 17:30:19 -0700
commit0a8834608d21998bd05b899bd91ddc2196762926 (patch)
treef5b1740d32ce9c70cf04e17a7c62744408a84f83 /builtin/settingtypes.txt
parent8ad3dad137df740ce63101bf224e977e66b9df2c (diff)
downloadminetest-0a8834608d21998bd05b899bd91ddc2196762926.tar.gz
minetest-0a8834608d21998bd05b899bd91ddc2196762926.tar.bz2
minetest-0a8834608d21998bd05b899bd91ddc2196762926.zip
Hard-coded undersampling.
Adds uniform undersampling for the 3D rendered scene. GUI elements are not undersampled, resulting in better playability for users with low-performance platforms with readable fonts and formspecs. The undersampling setting can be set to 0 (disabled), 2, 3, 4 pixels which translates into a resolution reduction of x4, x9 or x16, and is significant.
Diffstat (limited to 'builtin/settingtypes.txt')
-rw-r--r--builtin/settingtypes.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt
index a3b91fe74..2c74d6c44 100644
--- a/builtin/settingtypes.txt
+++ b/builtin/settingtypes.txt
@@ -362,6 +362,11 @@ texture_min_size (Minimum texture size for filters) 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
+# 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
+
[***Shaders]
# Shaders allow advanced visual effects and may increase performance on some video cards.