update material

This commit is contained in:
casperlamboo 2017-12-05 11:20:06 +01:00
parent bcf0bb254d
commit a1b4a9c454

View File

@ -39,7 +39,7 @@ export function createScene(canvas, props, state) {
const light = new THREE.AmbientLight(0x656565); const light = new THREE.AmbientLight(0x656565);
scene.add(light); scene.add(light);
const material = new THREE.MeshPhongMaterial({ color: 0x2194ce, side: THREE.DoubleSide, specular: 0xaaaaaa, shininess: 10 }); const material = new THREE.MeshPhongMaterial({ color: 0x2194ce, side: THREE.DoubleSide, specular: 0xc5c5c5, shininess: 5 });
const mesh = new THREE.Mesh(geometry, material); const mesh = new THREE.Mesh(geometry, material);
placeOnGround(mesh); placeOnGround(mesh);
scene.add(mesh); scene.add(mesh);