Running threejs on IE 9 failing because of Float32Array

745 Views Asked by At

I'm writing a threejs demo that MUST run on pretty much all browsers - particularly IE down to IE9.

It looks like IE 9 should at least be able to run the Canvas Demos but I'm getting a Float32Array Javascript error.

I'm sure there is a simple answer to this somewhere but my searches have yielded nothing so far.

I should say that I'm a webdev beginner (although experienced programmer) and that I'm running an IE 9 instance on the virtualising service Spoon.net. IE10 works well with threejs through this service.

Thanks in advance

1

There are 1 best solutions below

0
Abd On

This is quite a late answer. But for reference, inexorabletash provides a polyfill that you can find on github: https://github.com/inexorabletash/polyfill/blob/master/typedarray.js

It adds Float32Array support to IE 9. This way, you won't add WebGL support to IE9, but you will get rid of the Float32Array error.