三.js 浏览器兼容性 [英] Three.js browser compatibility

查看:38
本文介绍了三.js 浏览器兼容性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在阅读 Three.js 维基百科页面,它指出Three.js 在 WebGL 支持的所有浏览器中运行".如果您使用画布渲染器,使用 Three.js 创建的应用程序/游戏将在支持画布但不支持 webGL 的浏览器中运行.Three.js 和移动浏览器也有任何已知问题.

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.

推荐答案

实际上所有支持画布的浏览器都被支持.我们不支持 polyfill 画布.主要是因为大多数时候,我们在画布之外使用浏览器没有实现的其他东西.

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.

这篇关于三.js 浏览器兼容性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆