-
-
Notifications
You must be signed in to change notification settings - Fork 783
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ib/remove sky on low zoom globe (#4878)
* Sky blending when transitioning * Add test * Add changelog entry * Undo uneeded changes * Change sky globe test style * Go to transparent * Update test results * Move tests * Fix error * Test with a longer wait * Try with another test...
- Loading branch information
Showing
5 changed files
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
45 changes: 45 additions & 0 deletions
45
test/integration/render/tests/projection/globe/sky/style.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{ | ||
"version": 8, | ||
"sprite": "local://sprites/sprite", | ||
"glyphs": "local://glyphs/{fontstack}/{range}.pbf", | ||
"timeout": 60000, | ||
"metadata": { | ||
"test": { | ||
"height": 512, | ||
"width": 512, | ||
"operations": [ | ||
[ | ||
"wait", | ||
1000 | ||
] | ||
] | ||
} | ||
}, | ||
"center": [ | ||
0, | ||
0 | ||
], | ||
"zoom": 1, | ||
"pitch": 80, | ||
"maxPitch": 85, | ||
"sources": { }, | ||
"layers": [ | ||
{ | ||
"id": "background", | ||
"type": "background", | ||
"paint": { | ||
"background-color": "#000000" | ||
} | ||
} | ||
], | ||
"sky": { | ||
"sky-color": "#199EF3", | ||
"horizon-color": "#daeff0", | ||
"sky-horizon-blend": 1, | ||
"fog-ground-blend": 1, | ||
"atmosphere-blend": 0 | ||
}, | ||
"projection": { | ||
"type": "globe" | ||
} | ||
} |