|
@@ -24,7 +24,7 @@
|
|
|
|
|
|
//Create a PointLight and turn on shadows for the light
|
|
|
const light = new THREE.PointLight( 0xffffff, 1, 100 );
|
|
|
- light.position.set( 0, 10, 0 );
|
|
|
+ light.position.set( 0, 10, 4 );
|
|
|
light.castShadow = true; // default false
|
|
|
scene.add( light );
|
|
|
|