Open JohnRDOrazio opened 3 days ago
Actually we're not directly initializing the WebGL context, Cesium JS is. See here how to handle this:
We could have a 2d version of the application that would be useable on machines that don't have WebGL support. Then we would redirect to the 2d version when WebGL is not supported.
I recently came across a situation where a PC did not have support for webgl (either webgl wasn't enabled in the browser, or the PC didn't have a graphics card that supports webgl).
Rather than seeing a big red error that makes it look like the codebase has errors, we should do a check for webgl support, and only continue if webgl is supported. If it's not, show a message indicating that webgl support is required for this project to function correctly.
Example check for WebGL support: