three.js:Failed to execute 'texImage2D' on 'WebGLRenderingContext解决方案
three.js加载图片时,出现Failed to execute 'texImage2D' on 'WebGLRenderingContext .Tainted canvases may not be loaded.的错误跨域安全问题。解决办法:1 如果你用的是纹理题图:如:var loader = new THREE.TextureLoader();加上:loader....