// In this code snippet, we are loading a mesh and adding it to the scene.
var loader = new THREE.JSONLoader();
loader.load( "models/cubic.js", function(geometry){
var material = new THREE.MeshLambertMaterial({color: 0x55B663});
mesh1 = new THREE.Mesh(geometry, material);
scene.add(mesh1);
mesh1.position.x=-3;
});
This is an object where I've set the color to 0x55B663. Now, I'm exploring how I can assign different colors to each face of mesh1 (a cube object).