diff --git a/chapter-03/02-point-light.html b/chapter-03/02-point-light.html index d2ddc05b..5caeaf2a 100644 --- a/chapter-03/02-point-light.html +++ b/chapter-03/02-point-light.html @@ -98,7 +98,6 @@ var ambientLight = new THREE.AmbientLight(ambiColor); scene.add(ambientLight); - // add spotlight for the shadows // add spotlight for the shadows var spotLight = new THREE.SpotLight(0xffffff); spotLight.position.set(-40, 60, -10); diff --git a/chapter-03/05-hemisphere-light.html b/chapter-03/05-hemisphere-light.html index da527112..6255d54f 100644 --- a/chapter-03/05-hemisphere-light.html +++ b/chapter-03/05-hemisphere-light.html @@ -124,8 +124,6 @@ var spotLight = new THREE.DirectionalLight(pointColor); spotLight.position.set(30, 10, -50); spotLight.castShadow = true; - spotLight.shadowCameraNear = 0.1; - spotLight.shadowCameraFar = 100; spotLight.shadowCameraFov = 50; spotLight.target = plane; spotLight.distance = 0; diff --git a/chapter-03/07-lensflares.html b/chapter-03/07-lensflares.html index 408cfcd4..e3905aab 100644 --- a/chapter-03/07-lensflares.html +++ b/chapter-03/07-lensflares.html @@ -123,8 +123,6 @@ var spotLight = new THREE.DirectionalLight(pointColor); spotLight.position.set(30, 10, -50); spotLight.castShadow = true; - spotLight.shadowCameraNear = 0.1; - spotLight.shadowCameraFar = 100; spotLight.shadowCameraFov = 50; spotLight.target = plane; spotLight.distance = 0;