Three.js: Dose three.js support cross-domain access?

Created on 13 Mar 2018  路  3Comments  路  Source: mrdoob/three.js

Dose three.js support cross-domain access?
I want to use image with URL like as material's mapDiffuse but chrome get the error "DOMException: Failed to execute 'texImage2D' on 'WebGLRenderingContext': Tainted canvases may not be loaded.".
309894ee-e795-492b-affd-a6d251256084

Help (please use the forum)

Most helpful comment

@trymoremore Please use the forum if you need more help. Like @Usnul said, loading assets from different origins is supported. But it's more a feature of the Web Platform than of three.js.

All 3 comments

To me this is not sufficient to debug your issue. In short: "yes is dose".
I suggest you provide more information on what you are loading and how. What is the version of three.js that you are using?

@trymoremore Please use the forum if you need more help. Like @Usnul said, loading assets from different origins is supported. But it's more a feature of the Web Platform than of three.js.

the same question

Was this page helpful?
0 / 5 - 0 ratings

Related issues

seep picture seep  路  3Comments

zsitro picture zsitro  路  3Comments

donmccurdy picture donmccurdy  路  3Comments

scrubs picture scrubs  路  3Comments

boyravikumar picture boyravikumar  路  3Comments