1. A concise explanation of the problem you’re experiencing.
When I select a transparent background, a black stroke appears on the globe. https://www.screencast.com/t/V4ZGTFTbutmq
How can I get rid of this without changing the background ?
2. A minimal code example. If you’ve found a bug, this helps us reproduce and repair it.
const viewer = new CesiumViewer(‘globe’, {
animation: false,
baseLayerPicker: false,
fullscreenButton: false,
geocoder: false,
homeButton: false,
infoBox: false,
sceneModePicker: false,
selectionIndicator: false,
timeline: false,
useDefaultRenderLoop: true,
navigationHelpButton: false,
scene3DOnly: true,
shouldAnimate: true,
sun: false,
globe: ellipsoid,
skyBox: false,
skyAtmosphere: false,
terrainShadows: CesiumShadowMode.DISABLED,
requestRenderMode: true,
imageryProvider: mapbox,
contextOptions: {
webgl: {
alpha: true,
},
},
});
const { scene, camera, canvas, entities } = viewer;
scene.backgroundColor = CesiumColor.clone(CesiumColor.TRANSPARENT);
scene.requestRenderMode = true;
scene.highDynamicRange = false;
scene.creditContainer = false;
scene.creditViewport = false;
scene.fxaa = false;
scene.screenSpaceCameraController.enableZoom = false;
scene.screenSpaceCameraController.inertiaSpin = .6;
3. Context. Why do you need to do this? We might know a better way to accomplish your goal.
I would like to achieve a smooth picture, as with the rest of the background
4. The Cesium version you’re using, your operating system and browser.
Cesium v1.60 / Windows 10 / Chrome 76