diff options
author | Vitaliy <silverunicorn2011@yandex.ru> | 2017-08-17 01:23:20 +0300 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-08-17 00:23:20 +0200 |
commit | 9c8fec83af2c94791865cd82ee18abdc54f913a1 (patch) | |
tree | 60119edbbc7f49ff1f31da35795c093319e7dd41 /builtin | |
parent | 1d8d01074fdb52946f81110bebf1d001185b394b (diff) | |
download | minetest-9c8fec83af2c94791865cd82ee18abdc54f913a1.tar.gz minetest-9c8fec83af2c94791865cd82ee18abdc54f913a1.tar.bz2 minetest-9c8fec83af2c94791865cd82ee18abdc54f913a1.zip |
New lighting curve (#5279)
* New lighting curve
* Make polynomial lighting curve
* Update default lighting settings
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/settingtypes.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt index 395f98290..2ee8f5e2c 100644 --- a/builtin/settingtypes.txt +++ b/builtin/settingtypes.txt @@ -602,7 +602,11 @@ zoom_fov (Field of view for zoom) int 15 7 160 # Adjust the gamma encoding for the light tables. Higher numbers are brighter. # This setting is for the client only and is ignored by the server. -display_gamma (Gamma) float 2.2 1.0 3.0 +display_gamma (Gamma) float 1.0 0.5 3.0 + +lighting_alpha (Darkness sharpness) float 0.0 0.0 4.0 + +lighting_beta (Lightness sharpness) float 0.0 0.0 4.0 # Path to texture directory. All textures are first searched from here. texture_path (Texture path) path |