maplibre / maplibre-gl-js

MapLibre GL JS - Interactive vector tile maps in the browser
https://maplibre.org/maplibre-gl-js/docs/
Other
6.23k stars 678 forks source link

Globe - Manage bakcground color / stars #3889

Open Pheonor opened 5 months ago

Pheonor commented 5 months ago

User Story

As a User I can configure the Globe background, so that it could be render with the color of my choice.

As a User I can configure the Globe background stars, so that it could be render with the realistic stars.

Rationale

Choosing the background color for Globe projection allows to select the most adapted color according to the basemap selected. Adding stars could add a touch of realism comine with the atmosphere layer.

Impact

A new globe background style . configuration should be available.

HarelM commented 5 months ago

I believe both this issue and atmosphere issue should use/update the existing sky specification. Also there's a sky branch that is almost ready to be merged, I wonder if we could use some of the code there.

syonfox commented 5 months ago

Maybe this is out of scope but how could we have an accurate sky map so that the stars behind the planet looks accurate as if you were viewing the planet from orbit.

https://forums.unrealengine.com/t/realistic-skybox/87587

https://svs.gsfc.nasa.gov/3895

This might help as far as assets go.

What do you think?

HarelM commented 5 months ago

Bounty direction: https://github.com/maplibre/maplibre/issues/190

vlarrieu commented 5 months ago

@HarelM Could you assign it to me please ? (On Pheonor account, sorry)

vlarrieu commented 5 months ago

Maybe this is out of scope but how could we have an accurate sky map so that the stars behind the planet looks accurate as if you were viewing the planet from orbit.

https://forums.unrealengine.com/t/realistic-skybox/87587

https://svs.gsfc.nasa.gov/3895

This might help as far as assets go.

What do you think?

Perhaps this is more related to a Sky implementation. My idea for atmosphere and stars are more a layer visible only when far from the globe.