var materials = [ new THREE.MeshBasicMaterial( {color:'#b02030'} ), new THREE.MeshLambertMaterial( {color:'#b02030'} ), new THREE.MeshPhongMaterial( {color:'#b02030', shininess: 100 } ), new THREE.MeshNormalMaterial(), // ... ]; var materialToShow = 0;