1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-11-02 16:25:27 +01:00

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.
This commit is contained in:
number Zero
2017-01-12 12:19:36 +03:00
committed by Auke Kok
parent 8ad3dad137
commit 0a8834608d
5 changed files with 54 additions and 7 deletions

View File

@@ -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.