diff options
author | sfan5 <sfan5@live.de> | 2021-04-20 19:50:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-20 19:50:19 +0200 |
commit | 1da73418cd2ea0e03e8289f54a47dededcf8b331 (patch) | |
tree | 384bd9f7680f9444fc8c6f95c56400f0f22487bb /builtin | |
parent | 90a7bd6a0afb6509e96bcb373f95b448ee7f3b1d (diff) | |
download | minetest-1da73418cd2ea0e03e8289f54a47dededcf8b331.tar.gz minetest-1da73418cd2ea0e03e8289f54a47dededcf8b331.tar.bz2 minetest-1da73418cd2ea0e03e8289f54a47dededcf8b331.zip |
Enable cleanTransparent filter for mipmapping and improve its' algorithm (#11145)
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/settingtypes.txt | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt index f7412c1ee..00d1b87d7 100644 --- a/builtin/settingtypes.txt +++ b/builtin/settingtypes.txt @@ -504,18 +504,17 @@ bilinear_filter (Bilinear filtering) bool false trilinear_filter (Trilinear filtering) bool false # Filtered textures can blend RGB values with fully-transparent neighbors, -# which PNG optimizers usually discard, sometimes resulting in a dark or -# light edge to transparent textures. Apply this filter to clean that up -# at texture load time. +# which PNG optimizers usually discard, often resulting in dark or +# light edges to transparent textures. Apply a filter to clean that up +# at texture load time. This is automatically enabled if mipmapping is enabled. texture_clean_transparent (Clean transparent textures) bool false # When using bilinear/trilinear/anisotropic filters, low-resolution textures # can be blurred, so automatically upscale them with nearest-neighbor # interpolation to preserve crisp pixels. This sets the minimum texture size # for the upscaled textures; higher values look sharper, but require more -# memory. Powers of 2 are recommended. Setting this higher than 1 may not -# have a visible effect unless bilinear/trilinear/anisotropic filtering is -# enabled. +# memory. Powers of 2 are recommended. This setting is ONLY applies if +# bilinear/trilinear/anisotropic filtering is enabled. # This is also used as the base node texture size for world-aligned # texture autoscaling. texture_min_size (Minimum texture size) int 64 |