4

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?

Mugen87
  • 28,829
  • 4
  • 27
  • 50

1 Answers1

2

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

Mugen87
  • 28,829
  • 4
  • 27
  • 50
  • 1
    If we're lucky it will be shipping soon. It's finally available in MacOS Safari Technology Preview and rumors are people have seen it running on iOS. Hopefully they'll ship it. – gman Oct 19 '20 at 17:08
  • That would be awesome! – Mugen87 Oct 20 '20 at 09:19