|
@@ -58,6 +58,20 @@ THREE.SpotLight.prototype.clone = function () {
|
|
|
light.castShadow = this.castShadow;
|
|
|
light.onlyShadow = this.onlyShadow;
|
|
|
|
|
|
+ //
|
|
|
+
|
|
|
+ light.shadowCameraNear = this.shadowCameraNear;
|
|
|
+ light.shadowCameraFar = this.shadowCameraFar;
|
|
|
+ light.shadowCameraFov = this.shadowCameraFov;
|
|
|
+
|
|
|
+ light.shadowCameraVisible = this.shadowCameraVisible;
|
|
|
+
|
|
|
+ light.shadowBias = this.shadowBias;
|
|
|
+ light.shadowDarkness = this.shadowDarkness;
|
|
|
+
|
|
|
+ light.shadowMapWidth = this.shadowMapWidth;
|
|
|
+ light.shadowMapHeight = this.shadowMapHeight;
|
|
|
+
|
|
|
return light;
|
|
|
|
|
|
};
|