From 98fd36467293cfcde1680b1146961b0b6d4ed667 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sun, 2 Dec 2012 00:14:27 +0200 Subject: [PATCH] Add enable_shaders to minetest.conf.example --- minetest.conf.example | 4 ++++ src/defaultsettings.cpp | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/minetest.conf.example b/minetest.conf.example index 6f023094..3ca794cc 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 3145a90e..86aa87b2 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. -- 2.30.2