Hi @omar , I used the above code and background didn’t change too. I saw errors like
[.WebGL-0000666C02477100] GL_INVALID_OPERATION: Must have element array buffer bound.
WebGL: INVALID_OPERATION: drawElements: no valid shader program in use
My codes are
let background_img = "https://storage.googleapis.com/portal_assets/square_white_background.jpg";
if (scene.globe.show) {
scene.globe.show = false;
viewerOptions['skyBox'] = new Cesium.SkyBox({
sources: {
positiveX: background_img,
negativeX: background_img,
positiveY: background_img,
negativeY: background_img,
positiveZ: background_img,
negativeZ: background_img
}
});
viewer = new Cesium.Viewer("cesiumContainer", viewerOptions);
There’re other config in viewerOptions which proved working before.
Appreciated if you guys can help @Shehzan_Mohammed @Matt_Boyd-Surka