summaryrefslogtreecommitdiff
path: root/builtin
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 /builtin
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 'builtin')
-rw-r--r--builtin/settingtypes.txt14
1 files changed, 13 insertions, 1 deletions
diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt
index 74c71a1ec..994b49ed2 100644
--- a/builtin/settingtypes.txt
+++ b/builtin/settingtypes.txt
@@ -574,9 +574,21 @@ zoom_fov (Field of view for zoom) int 15 7 160
# This setting is for the client only and is ignored by the server.
display_gamma (Gamma) float 1.0 0.5 3.0
+# Gradient of light curve at minimum light level.
lighting_alpha (Darkness sharpness) float 0.0 0.0 4.0
-lighting_beta (Lightness sharpness) float 0.0 0.0 4.0
+# Gradient of light curve at maximum light level.
+lighting_beta (Lightness sharpness) float 1.5 0.0 4.0
+
+# Strength of light curve mid-boost.
+lighting_boost (Light curve mid boost) float 0.2 0.0 1.0
+
+# Center of light curve mid-boost.
+lighting_boost_center (Light curve mid boost center) float 0.5 0.0 1.0
+
+# Spread of light curve mid-boost.
+# Standard deviation of the mid-boost gaussian.
+lighting_boost_spread (Light curve mid boost spread) float 0.2 0.0 1.0
# Path to texture directory. All textures are first searched from here.
texture_path (Texture path) path