ES5 Support with GLTFLoader?

I’m in an ES5 Project, and not yet on babel.
So far everything in threejs I had used was compatible.

Now im triying to use the GLTFLoader - which uses Promises, and thus does not work on IE11.

What do I preferably do if I want to use GLTFLoader (no transpilation)?
More importantly: How do I know which parts of Threejs are Es5 compatible?

Like suggested in the documentation, I recommend the usage of a polyfill.

The core itself is ES5 compatible (except of WebVR/WebXR related code). Also see: three.js docs

1 Like