1,白天效果:
scene.sun.show = true;
scene.globe.enableLighting = false;
scene.lightSource._ambientLightColor = {red: 0.76, green: 0.76, blue: 0.76, alpha: 1};
2,黑夜效果:
scene.sun.show = false;
scene.globe.enableLighting = true;
scene.lightSource._ambientLightColor = new Cesium.Color(0.4, 0.4, 0.4, 0.4);
如何设置场景参数,使黑夜效果更好?