天天看點

js 判斷支援webgl_WebView是否支援WebGL??

最近在搞公司的APP,需要一個3D庫房的展示功能。

在PC端用three.js的WebGL技術API實作,沒問題。

移植到APP端,運作報錯。

13:34:48.232 THREE.WebGLRenderer: OES_texture_float extension not supported. at 3droom/js/three.js:15111

13:34:48.253 THREE.WebGLRenderer: OES_texture_half_float extension not supported. at 3droom/js/three.js:15111

13:34:48.273 THREE.WebGLRenderer: OES_texture_half_float_linear extension not supported. at 3droom/js/three.js:15111

13:34:48.294 THREE.WebGLRenderer: OES_texture_float_linear extension not supported. at 3droom/js/three.js:15111

哪位有過相關經驗,請指點一二,不勝感激。