function createLight() {
  light = new THREE.HemisphereLight(0xffffff, 0xffffff, .3)
  scene.add(light);
  shadowLight = new THREE.DirectionalLight(0xffffff, .8);
  shadowLight.position.set(1, 1, 1);
 	scene.add(shadowLight);
}
// And a harder light to add some shadows
And a harder light to add some shadows
And a harder light to add some shadows
function createLight() {
  light = new THREE.HemisphereLight(0xffffff, 0xffffff, .3)
  scene.add(light);
  shadowLight = new THREE.DirectionalLight(0xffffff, .8);
  shadowLight.position.set(1, 1, 1);
 	scene.add(shadowLight);
}
function createLight ( ) { light = new THREE . HemisphereLight ( 0xffffff , 0xffffff , .3 ) scene . add ( light ) ; shadowLight = new THREE . DirectionalLight ( 0xffffff , .8 ) ; shadowLight . position . set ( 1 , 1 , 1 ) ; scene . add ( shadowLight ) ; }
And a harder light to add some shadows
And a harder light to add some shadows