"Failed to execute 'texImage2D' on 'WebGLRenderingContext': tainted canvases may not be loded."
出现这错误是因为threejs内部没有处理图片跨域问题,设置图片TextureLoader为允许跨域就可以了var loader=new THREE.TextureLoader();loader.setCrossOrigin( "Anonymous" );