Hello everyone.
1. A concise explanation of the problem you’re experiencing.
CesiumJS is throwing a “RuntimeError: Fragment shader failed to compile” (full trace at the end).
After searching the forums, the suggestion has been to update the graphic card’s drivers, however I’m using the latest ones.
2. A minimal code example. If you’ve found a bug, this helps us reproduce and repair it.
The problem occurs only if the GUI widgets are included.
If they are deactivated during initialization, the exception is not raised.
var viewer = new Cesium.Viewer(‘cesiumContainer’, {
homeButton : false,
fullscreenButton : false,
navigationHelpButton : false,
navigationInstructionsInitiallyVisible: false,
sceneModePicker: false,
selectionIndicator: false,
infoBox: false,
terrainProvider : new Cesium.CesiumTerrainProvider({
url : ‘//assets.agi.com/stk-terrain/world’
})
});
3. Context. Why do you need to do this? We might know a better way to accomplish your goal.
4. The Cesium version you’re using, your operating system and browser.
Cesium version: 1.42
Browser: CEF 3.2987.1601.gf035232 (Chromium 57.0.2987.133)
Graphics card: Intel HD Graphics 520
OS: Windows 10
Traceback
Error
at new t (http://localhost:8080/Build/Cesium/Cesium.js:471:28582)
at f (http://localhost:8080/Build/Cesium/Cesium.js:497:25773)
at y (http://localhost:8080/Build/Cesium/Cesium.js:497:28190)
at d._bind (http://localhost:8080/Build/Cesium/Cesium.js:497:29205)
at V (http://localhost:8080/Build/Cesium/Cesium.js:523:2208)
at k.draw (http://localhost:8080/Build/Cesium/Cesium.js:523:5843)
at n.execute (http://localhost:8080/Build/Cesium/Cesium.js:496:30018)
at Ue (http://localhost:8080/Build/Cesium/Cesium.js:544:22509)
at He (http://localhost:8080/Build/Cesium/Cesium.js:544:24572)
at Ke (http://localhost:8080/Build/Cesium/Cesium.js:545:375)