'Chrome DevTools - Set WebGL version
In Chrome DevTools, is it possible to set the version of WebGL and/or disable WebGL for testing purposes?
Solution 1:[1]
While I haven't been able to find an answer to my question yet, I have found something that addresses the reason I asked it.
In Three.js, if you want to test your code with WebGL 1, you can replace your WebGLRenderer
with WebGL1Renderer
:
const renderer = new THREE.WebGL1Renderer({
// ...
});
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Ben |