Sky appears abruptly during globe-to-mercator transition
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 12.4k
- Forks
- 2.4k
- PR merge metrics
- No merged PRs in 30d
Description
### Actual Behavior
The sky layer does not fade in during globe-to-mercator transition.
The sky appears abruptly regardless of whether atmosphere is on or not.
https://user-images.githubusercontent.com/10137547/169843322-f7d0d96a-93e2-4f1f-adad-cd2124f76984.mp4
### Expected Behavior
I'd expect a smooth transition to the sky layer just like with other projections (e.g. Equal Earth).
https://user-images.githubusercontent.com/10137547/169843302-662ee820-d3c7-483c-aa3e-2eb438079c36.mp4
**mapbox-gl-js version**: 2.9.0-beta.1
**browser**: Chrome
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the globe-to-mercator transition in Chrome with mapbox-gl-js 2.9.0-beta.1, comparing the sky behavior with the Equal Earth example and with atmosphere enabled or disabled. Trace the globe-to-mercator transition and sky-layer rendering paths; done means the sky fades smoothly rather than appearing abruptly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- computer-graphics, web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100