How to create WebGL 2 renderer in iOS?

331 views Asked by At

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?

1

There are 1 answers

2
Mugen87 On BEST ANSWER

Browsers on iOS all use WebKit which does not yet support WebGL 2.