|
@@ -18,7 +18,7 @@ THREE.SpotLight = function ( color, intensity, distance, angle, exponent, decay
|
|
this.exponent = ( exponent !== undefined ) ? exponent : 10;
|
|
this.exponent = ( exponent !== undefined ) ? exponent : 10;
|
|
this.decay = ( decay !== undefined ) ? decay : 1; // for physically correct lights, should be 2.
|
|
this.decay = ( decay !== undefined ) ? decay : 1; // for physically correct lights, should be 2.
|
|
|
|
|
|
- this.shadow = new THREE.LightShadow( new THREE.PerspectiveCamera( 50, 1, 50, 5000 ) );
|
|
|
|
|
|
+ this.shadow = new THREE.LightShadow( new THREE.PerspectiveCamera( 50, 1, 0.5, 500 ) );
|
|
|
|
|
|
};
|
|
};
|
|
|
|
|