Trying to add material in THREE.js like this
THREE.js
var materialWall = new materialClass( { color: 0xffffff, map: THREE.ImageUtils.loadTexture( \'image
Perfect solution for:
THREE.js: Cross-origin image load denied
Just add timestamp to the image url. I don't know the logic behind it, but it works.
Example:
var material = new THREE.MeshBasicMaterial({ map: loader.load(url + "?v=" + (new Date()).toString(), function() { animate(); }) });