Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion chapter-03/02-point-light.html
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 0 additions & 2 deletions chapter-03/05-hemisphere-light.html
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 0 additions & 2 deletions chapter-03/07-lensflares.html
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down