mirror of
https://github.com/minetest/minetest.git
synced 2025-01-10 10:00:22 +01:00
Change lower limit of display_gamma to 1.0 (linear light)
Now matches function comment
This commit is contained in:
parent
2b99d904f6
commit
5a1975a4e3
@ -116,7 +116,7 @@
|
|||||||
# Disable for speed or for different looks.
|
# Disable for speed or for different looks.
|
||||||
#smooth_lighting = true
|
#smooth_lighting = true
|
||||||
# Adjust the gamma encoding for the light tables. Valid values are in the range
|
# Adjust the gamma encoding for the light tables. Valid values are in the range
|
||||||
# 1.1 to 3.0 (inclusive); lower numbers are brighter. This setting is for the
|
# 1.0 to 3.0 (inclusive); lower numbers are brighter. This setting is for the
|
||||||
# client only and is ignored by the server
|
# client only and is ignored by the server
|
||||||
#display_gamma = 1.8
|
#display_gamma = 1.8
|
||||||
# Path to texture directory. All textures are first searched from here.
|
# Path to texture directory. All textures are first searched from here.
|
||||||
|
@ -88,7 +88,7 @@ void set_light_table(float gamma)
|
|||||||
0
|
0
|
||||||
};
|
};
|
||||||
|
|
||||||
gamma = rangelim(gamma, 1.1, 3.0);
|
gamma = rangelim(gamma, 1.0, 3.0);
|
||||||
|
|
||||||
float brightness = brightness_step;
|
float brightness = brightness_step;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user