Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

removed first of double assignement to spotLight.shadowCameraNear and sp... #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
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.
Jump to
Jump to file
Failed to load files.
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