1. A concise explanation of the problem you’re experiencing.
When zoomed out enough the solar terminator (line between day/night) is clear and it’s easy to see which side of the earth is sunlit vs. dark. When zoomed in, the terminator disappears. The entire globe is “light”. I have enableLighting set to true. Tried messing around with showGroundAtmosphere, nightFadeInDistance, nightFadeOutDistance, lightingFadeInDistance, lightingFadeOutDistance, but I’m not sure how to get a consistent appearance of the terminator and day/night representation on the globe.
2. A minimal code example. If you’ve found a bug, this helps us reproduce and repair it.
var scene2 = view3D_2v.scene;
scene2.globe.enableLighting = true;
scene2.globe.showGroundAtmosphere = true;
scene2.globe.nightFadeOutDistance = 100000;
3. Context. Why do you need to do this? We might know a better way to accomplish your goal.
I need to show day/night on the globe regardless of how zoomed in i am. This is for a contract deliverable for my job so it’s critical I figure this out soon.
4. The Cesium version you’re using, your operating system and browser.
1.61, Windows 10, Firefox.