Texture from hard disk not loading in three.js - showing black
问题 I encountered problem on trying to load images from the local machine. If I give a link in internet to a jpeg file it works okay, but if I replace with path from my local machine - the texture is black. var texture = THREE.ImageUtils.loadTexture( 'http://ewgl.erbix.com/js/nodes2/textures/sun.jpg', {}, function(){ renderer.render(scene, camera); } ); paintMaterial = new THREE.MeshBasicMaterial({map: texture}) So instead of 'http://ewgl.erbix.com/js/nodes2/textures/sun.jpg' if I load the same