I am trying to draw a cylinder with chocolate color 0xd2691e but when I use :
var cylinder = new THREE.Mesh(new THREE.CylinderGeometry(100, 100, 100, 100, 50, false), new THREE.MeshNormalMaterial({ color: 0xd2691e }));
It doesn't change the color. And when I use
var cylinder = new THREE.Mesh(new THREE.CylinderGeometry(100, 100, 100, 100, 50, false), new THREE.MeshBasicMaterial({ color: 0xd2691e }));
It does change color, but the color of the top face is the same as the sides, so it ends up like a blob without showing the cylinder 3D shape.
I checked this question and it does change the colors of faces randomly, but I would want simply some way to distinguish the colors of the top and the sides.