Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Darkness detection: Reduce chance of false positives darkening the sk…
…ybox 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.
- Loading branch information