mrdoob/three.js — Issue #1211: how to use textures on a sphere?
Author: ivankuzev
Created: 2012-01-29 19:21:15+00:00
State: open

i tried
materials['desert'] = new THREE.MeshPhongMaterial(
{
color:0xFF0000,
map: THREE.ImageUtils.loadTexture( 'images/textures/desert1.png')

});

and
var moon = new THREE.Mesh( meshes['sphere'], materials['desert'] );

but the sphere became invisible(but it was still clickable).
it works fine without the texture...but its a requred part cant do without it, please help