From 03c11a73d86b2cd6fd204f9eef1cdb9d33ab88c6 Mon Sep 17 00:00:00 2001 From: paramat Date: Sat, 18 Nov 2017 00:22:15 +0000 Subject: 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. --- builtin/settingtypes.txt | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'builtin') 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 -- cgit v1.2.3