diff options
author | Lars Hofhansl <larsh@apache.org> | 2017-07-22 12:44:15 -0700 |
---|---|---|
committer | paramat <mat.gregory@virginmedia.com> | 2017-07-30 18:28:16 +0100 |
commit | d1a130488e5a5f3837479ad7f929beb4c43e81fb (patch) | |
tree | 4ea7161553d23f492375e41952479319ef815be9 /build/android/Makefile | |
parent | 640ba7727629392211ed3c2bd116e938883a6f90 (diff) | |
download | minetest-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 'build/android/Makefile')
0 files changed, 0 insertions, 0 deletions