4 ms·
It's a good question. I have an entire bookmark folder of "cool WebGL demos" collected over the years, but have seen very few full-fledged applications. One wa
by nairteashop 13y ago
It's a good question. I have an entire bookmark folder of "cool WebGL demos" collected over the years, but have seen very few full-fledged applications.
One way you could hedge the WebGL vs. Canvas bet is to use something like THREE.js, where you use THREE's cameras, lighting, etc and then specify whether it should use WebGL or Canvas for rendering. But then again, you'd be betting on THREE.js :)
https://github.com/mrdoob/three.js/ https://github.com/mrdoob/three.js/
- AshleysBrain 13y agoWebGL is not just for 3D: it can be used for 2D games, where it is way faster than ordinary canvas2d, and allows use of shader effects and such. Major web game engines like Construct 2 [disclaimer: I am developer] use WebGL rendering with effects, and fall back to canvas2d if WebGL is not supported. So at least with Construct 2, it's been in commercial production use for a couple of years already.
- TazeTSchnitzel 13y agoWorth noting that only the WebGL renderer has normal FPS.