Search code examples
javascriptinternet-explorerthree.jsinternet-explorer-11gltf

Is the gltf loader from three.js incompatible with ie11?


I have been trying to load gltf in three.js scenes using the loader but it doesn't work on ie11 whereas it is said that it does on their web site. Also, the gltf loader examples don't work either (on internet explorer). Can anybody confirm that this is the case and, if so, please update the information about the browser compatibility of the loader?

EDIT: I have already tried using ES6 Promises polyfill as in my example in this question I posted a month ago.


Solution

  • GLTFLoader is compatible with IE11, but requires that you "polyfill" certain features that are missing in IE11. In practice, that means you must include a script that adds the Promise feature, which IE11 does not have by default.

    If that isn't working, I would suggest filing an issue on the three.js github issues, it may be a bug.