When I use the line: meshC = new THREE.Mesh(geometryC, materialC); I do not see the diamonds, but when I change it to: meshC = new THREE.Mesh(geometryC, materialC); I do see the diamonds. What is wrong with materialCa? Also the alert: alert("up to void main"); never gets displayed. Here is my full code: