diff options
-rw-r--r-- | minetest.conf.example | 4 | ||||
-rw-r--r-- | src/defaultsettings.cpp | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/minetest.conf.example b/minetest.conf.example index 6f023094a..3ca794cc8 100644 --- a/minetest.conf.example +++ b/minetest.conf.example @@ -136,6 +136,10 @@ #trilinear_filter = false # Set to true to pre-generate all item visuals #preload_item_visuals = false +# 0: disable shaders +# (1: low level shaders; not implemented) +# 2: enable high level shaders +#enable_shaders = 2 # # Server stuff diff --git a/src/defaultsettings.cpp b/src/defaultsettings.cpp index 3145a90e5..86aa87b24 100644 --- a/src/defaultsettings.cpp +++ b/src/defaultsettings.cpp @@ -104,7 +104,6 @@ void set_default_settings(Settings *settings) settings->setDefault("view_bobbing_amount", "1.0"); settings->setDefault("enable_3d_clouds", "true"); settings->setDefault("opaque_water", "false"); - settings->setDefault("enable_shaders", "2"); settings->setDefault("console_color", "(0,0,0)"); settings->setDefault("console_alpha", "200"); settings->setDefault("enable_sound", "true"); @@ -116,6 +115,7 @@ void set_default_settings(Settings *settings) settings->setDefault("bilinear_filter", "false"); settings->setDefault("trilinear_filter", "false"); settings->setDefault("preload_item_visuals", "false"); + settings->setDefault("enable_shaders", "2"); // Server stuff // "map-dir" doesn't exist by default. |