summaryrefslogtreecommitdiff
path: root/src/defaultsettings.cpp
diff options
context:
space:
mode:
authorparamat <paramat@users.noreply.github.com>2017-11-18 00:22:15 +0000
committerparamat <mat.gregory@virginmedia.com>2017-11-27 01:28:29 +0000
commit03c11a73d86b2cd6fd204f9eef1cdb9d33ab88c6 (patch)
treed46001a20d249d1d70bab8eba042ef8e0ab16987 /src/defaultsettings.cpp
parent76eb3f2b7ab3a88509d70f3bb936b850d5d83e86 (diff)
downloadminetest-03c11a73d86b2cd6fd204f9eef1cdb9d33ab88c6.tar.gz
minetest-03c11a73d86b2cd6fd204f9eef1cdb9d33ab88c6.tar.bz2
minetest-03c11a73d86b2cd6fd204f9eef1cdb9d33ab88c6.zip
Light curve: Add and tune mid boost gaussian
Create a closer match to the light curve of 0.4.16 stable. Results in darker shadows while maintaining the 'brightness' and light spread.
Diffstat (limited to 'src/defaultsettings.cpp')
-rw-r--r--src/defaultsettings.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/defaultsettings.cpp b/src/defaultsettings.cpp
index 1a2656f0e..41f018b78 100644
--- a/src/defaultsettings.cpp
+++ b/src/defaultsettings.cpp
@@ -163,8 +163,11 @@ void set_default_settings(Settings *settings)
settings->setDefault("connected_glass", "false");
settings->setDefault("smooth_lighting", "true");
settings->setDefault("lighting_alpha", "0.0");
- settings->setDefault("lighting_beta", "0.0");
+ settings->setDefault("lighting_beta", "1.5");
settings->setDefault("display_gamma", "1.0");
+ settings->setDefault("lighting_boost", "0.2");
+ settings->setDefault("lighting_boost_center", "0.5");
+ settings->setDefault("lighting_boost_spread", "0.2");
settings->setDefault("texture_path", "");
settings->setDefault("shader_path", "");
settings->setDefault("video_driver", "opengl");