I am trying to load an external image into a texture loader and returns this errors:
The image.... has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://inbounder-69680.firebaseapp.com' is therefore not allowed access.
Searching on google I have tried this with same result:
var loader = new THREE.TextureLoader(); //allow cross origin loading loader.crossOrigin = ''; var texture = loader.load('https://www.google.es/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png');
What would be wrong?