Do not enable texture_clean_transparent by default
authorkwolekr <kwolekr@minetest.net>
Mon, 23 Mar 2015 22:19:19 +0000 (18:19 -0400)
committerkwolekr <kwolekr@minetest.net>
Mon, 23 Mar 2015 22:25:14 +0000 (18:25 -0400)
This feature is still experimental and has some issues. Also,
increase texture_min_size to 64 px. The setting was initially
a conservative 16 so that the effect would not be noticable
for players who aren't using aniso/bi/trilinear filtering. This
isn't necessary now that texture_clean_transparent is disabled
by default.

minetest.conf.example
src/defaultsettings.cpp

index 2c6f5e861f3c6a031c943070d9200d2909c48fcd..fd43d2797826ad3fbaee6337d1c235fc8d9bebf0 100644 (file)
 #    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.
-#texture_clean_transparent = true
+#texture_clean_transparent = 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
 #    memory.  Powers of 2 are recommended.  Setting this higher than 1 may not
 #    have a visible effect unless bilinear/trilinear/anisotropic filtering is
 #    enabled.
-#texture_min_size = 16
+#texture_min_size = 64
 #    Set to true to pre-generate all item visuals
 #preload_item_visuals = false
 #    Set to true to enable shaders. Disable them if video_driver = direct3d9/8.
index ff2d148aa8feeaeef558443f8706fab5a56f3733..4ad0418bb022d223aefc5df744ef8a8bbe59b579 100644 (file)
@@ -149,8 +149,8 @@ void set_default_settings(Settings *settings)
        settings->setDefault("anisotropic_filter", "false");
        settings->setDefault("bilinear_filter", "false");
        settings->setDefault("trilinear_filter", "false");
-       settings->setDefault("texture_clean_transparent", "true");
-       settings->setDefault("texture_min_size", "16");
+       settings->setDefault("texture_clean_transparent", "false");
+       settings->setDefault("texture_min_size", "64");
        settings->setDefault("preload_item_visuals", "false");
        settings->setDefault("enable_bumpmapping", "false");
        settings->setDefault("enable_parallax_occlusion", "false");