vasturiano / globe.gl

UI component for Globe Data Visualization using ThreeJS/WebGL
https://vasturiano.github.io/globe.gl/example/world-population/
MIT License
2.03k stars 301 forks source link

Lessen shade on white globe #40

Open BenPav opened 3 years ago

BenPav commented 3 years ago

On a white globe, there is heavy shading on the lower quadrant. Is there any way to lessen it? Thanks!

vasturiano commented 3 years ago

@BenPav that is because there is a directional light directly above the north pole, that can cause some shading on the southern hemisphere.

You can adjust the lighting by manipulating the directional light position, or even switch it off. Look in the following example for a sample on how to access it: https://github.com/vasturiano/globe.gl/blob/master/example/custom-globe-styling/index.html#L30-L33