vasturiano/three-globe

Is there a way to make the globe transparent?

lewisd1996 opened this issue · 2 comments

Describe the bug
Not a bug but it's not technically a feature request:

Is there a way to make the globe transparent, similar to stripe/github's globe? Or at worst, ability to change it to a nicer solid colour rather than just black? Can't see any parameters anywhere that allows you to control globe colour/transparency.

Thank you! <3

JSFIDDLE
https://jsfiddle.net/wv1eqab5/2/

Screenshot 2022-01-31 at 14 59 30 (2)

@lewisd1996 you can control the globe surface style (including the color) with .globeMaterial. If you don't want to draw the surface, you can even disable it with .showGlobe(false). Additionally you can make the background transparent with .backgroundColor('rgba(0,0,0,0)').

Fantastic, I didn't realise the country polygons i was making and the actual globe were separate, that works nicely. Thank you!