mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Increase upper limit of display_gamma to 10 (#8618)
This commit is contained in:
parent
429a989648
commit
91d244c522
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue