diff options
author | number Zero <silverunicorn2011@yandex.ru> | 2017-01-12 12:19:36 +0300 |
---|---|---|
committer | Auke Kok <sofar@foo-projects.org> | 2017-04-09 17:30:19 -0700 |
commit | 0a8834608d21998bd05b899bd91ddc2196762926 (patch) | |
tree | f5b1740d32ce9c70cf04e17a7c62744408a84f83 /builtin | |
parent | 8ad3dad137df740ce63101bf224e977e66b9df2c (diff) | |
download | minetest-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')
-rw-r--r-- | builtin/settingtypes.txt | 5 |
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. |