aboutsummaryrefslogtreecommitdiff
path: root/doc/client_lua_api.md
diff options
context:
space:
mode:
authorLars Hofhansl <larsh@apache.org>2017-07-22 12:44:15 -0700
committerparamat <mat.gregory@virginmedia.com>2017-07-30 18:28:16 +0100
commitd1a130488e5a5f3837479ad7f929beb4c43e81fb (patch)
tree4ea7161553d23f492375e41952479319ef815be9 /doc/client_lua_api.md
parent640ba7727629392211ed3c2bd116e938883a6f90 (diff)
downloadminetest-d1a130488e5a5f3837479ad7f929beb4c43e81fb.tar.gz
minetest-d1a130488e5a5f3837479ad7f929beb4c43e81fb.tar.bz2
minetest-d1a130488e5a5f3837479ad7f929beb4c43e81fb.zip
Darkness detection: Reduce chance of false positives darkening the skybox
The getBackgroundBrightness() function detects darkness in the view direction to decide when to make the skybox dark. The volume checked was too narrow and missed the left and right edges of the view, too easily causing a dark skybox. Widen the checked volume to match a FOV of 72 degrees and a 16:9 aspect ratio game window.
Diffstat (limited to 'doc/client_lua_api.md')
0 files changed, 0 insertions, 0 deletions