Hi,
I'm trying to remove the blue atmosphere / surface that becomes visible when you tilt the camera and looking at the surface from the side?
The following settings does not seem to do the trick:
var viewer = new Cesium.Viewer("cesiumContainer", {
timeline: false,
animation: false,
baseLayerPicker: false,
fullscreenButton: false,
geocoder: true,
selectionIndicator: false,
infoBox: false,
sceneModePicker: false,
navigationHelpButton: true,
navigationInstructionsInitiallyVisible: false
});
viewer.scene.skyBox.show = false;
viewer.scene.sun.show = false;
viewer.scene.moon.show = false;
viewer.scene.skyAtmosphere.show = false;
viewer.scene.backgroundColor = Cesium.Color.BLACK;
viewer.scene.globe.baseColor = Cesium.Color.BLACK;
viewer.scene.fxaa = false;
viewer.scene.globe.depthTestAgainstTerrain = false;
viewer.scene.globe.enableLighting = false;
viewer.scene.globe.showWaterEffect = false;
viewer.scene.imageryLayers.removeAll();
This can illustrated in sandcastle here:
And select "Fly to Rectangle". Once loaded, CTRL + Left Mouse to to tilt the camera.. Not sure what effect it is, since skyAtmosphere is disabled.
Is there perhaps a property I've missed somewhere?
Any pointers or advice would be greatly appreciated.
Cheers,
Andries