mapbox / mapbox/mapbox-gl-js

Sky appears abruptly during globe-to-mercator transition

Open
#11,925 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug :lady_beetle:
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.