|
@@ -145,14 +145,13 @@
|
|
var ambient = new THREE.AmbientLight( 0x222222 );
|
|
var ambient = new THREE.AmbientLight( 0x222222 );
|
|
scene.add( ambient );
|
|
scene.add( ambient );
|
|
|
|
|
|
- var directionalLight = new THREE.DirectionalLight( 0xdddddd );
|
|
|
|
|
|
+ var directionalLight = new THREE.DirectionalLight( 0xdddddd, 4 );
|
|
directionalLight.position.set( 0, 0, 1 ).normalize();
|
|
directionalLight.position.set( 0, 0, 1 ).normalize();
|
|
scene.add( directionalLight );
|
|
scene.add( directionalLight );
|
|
|
|
|
|
- spot1 = new THREE.SpotLight( 0xffffff, 1 );
|
|
|
|
|
|
+ spot1 = new THREE.SpotLight( 0xffffff, 2 );
|
|
spot1.position.set( 10, 20, 10 );
|
|
spot1.position.set( 10, 20, 10 );
|
|
spot1.angle = 0.25;
|
|
spot1.angle = 0.25;
|
|
- spot1.distance = 1024;
|
|
|
|
spot1.penumbra = 0.75;
|
|
spot1.penumbra = 0.75;
|
|
|
|
|
|
if ( sceneInfo.shadows ) {
|
|
if ( sceneInfo.shadows ) {
|