I have uploaded several large files on Amazon S3 that I would like to load on my website using a Three.js load call. However, every time I try to load these files, I encounter an error stating that the loading is not permitted due to access control allow-origin restrictions. Here is the load call I am using:
loader = new THREE.JSONLoader();
loader.load("https://s3.amazonaws.com/folder/shoot-o.js",function(geometry){
//DO STUFF
});
Is there a way for me to bypass this restriction and access these files?