I am trying to create a THREE.WebGLRenderer
, but it seems that on iOS, it will only create a WebGL 1.
Here is my code for creating the renderer and printing the capability:
var renderer = new THREE.WebGLRenderer({antialias: false}); console.log("isWebGL2: "+renderer.capabilities.isWebGL2);
Is there a way to create WebGL2 renderer on iOS?
Advertisement
Answer
Browsers on iOS all use WebKit which does not yet support WebGL 2.