Hello,
I am very interested in implementing the day-night shading that is shown in this showcase: http://apps.agi.com/SatelliteViewer/?Status=Operational
Is this built in with Cesium?
Thank you.
Hello,
I am very interested in implementing the day-night shading that is shown in this showcase: http://apps.agi.com/SatelliteViewer/?Status=Operational
Is this built in with Cesium?
Thank you.
Hello,
You can enable day/night lighting with this line of code:
viewer.scene.globe.enableLighting = true;
``
Best,
Hannah
Thank you!
Is the lighting driven by Viewer.clock? If the clock time is changed, will the day/night be updated accordingly?
Yes! The lighting is determined by the approximate position of the sun, so day/night should be correct for the time on the clock.
Best,
Hannah