diff options
author | ANAND <ClobberXD@gmail.com> | 2019-06-27 08:34:12 +0530 |
---|---|---|
committer | Paramat <paramat@users.noreply.github.com> | 2019-06-27 04:04:12 +0100 |
commit | 91d244c5229695933bf8510b01e06f922f062359 (patch) | |
tree | 248df50f5cb277fe4df6d2d726962f3197c04644 /src | |
parent | 429a98964859b83016f2eb47a47a08ab8dc3c57e (diff) | |
download | minetest-91d244c5229695933bf8510b01e06f922f062359.tar.gz minetest-91d244c5229695933bf8510b01e06f922f062359.tar.bz2 minetest-91d244c5229695933bf8510b01e06f922f062359.zip |
Increase upper limit of display_gamma to 10 (#8618)
Diffstat (limited to 'src')
-rw-r--r-- | src/light.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/light.cpp b/src/light.cpp index c60f8eaca..9b6f5c210 100644 --- a/src/light.cpp +++ b/src/light.cpp @@ -66,7 +66,7 @@ void set_light_table(float gamma) params.center = g_settings->getFloat("lighting_boost_center"); params.sigma = g_settings->getFloat("lighting_boost_spread"); // Gamma correction - params.gamma = rangelim(gamma, 0.5f, 3.0f); + params.gamma = rangelim(gamma, 0.5f, 10.0f); // Boundary values should be fixed light_LUT[0] = 0; |