Three.js browser compatibility

此生再无相见时 提交于 2020-01-01 01:18:11

问题


I was reading the Three.js wikipedia page and it states "Three.js runs in all browsers supported by WebGL." If you use canvas renderer will the application/game created with Three.js run in browsers that support canvas but not webGL. Also are there any know issues with Three.js and mobile browsers.


回答1:


Actually all browsers are supported which have support for canvas. We do not support polyfilled canvas. Mainly because most of the time, we use other things beside the canvas that are not implemented by the browser.




回答2:


Checkout the browser compatibility list here:

http://caniuse.com/webgl

There's another site with a pretty neat breakdown of the OS + device/browser combination support for WebGL:

http://webglstats.com

Edit: To answer your second question on mobile, problems will be unlikely if the mobile browser supports WebGL since WebGL is basically based off of Open GL 2.0 ES (Embedded Systems). "ES" is mainly targeted things like mobile devices




回答3:


You can take a look at WebGL plugin for Internet Explorer 10 and below.



来源:https://stackoverflow.com/questions/20850210/three-js-browser-compatibility

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!