Skip to content

Commit

Permalink
Mac science scene
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonsturges committed Nov 18, 2024
1 parent fefe7e6 commit 063eb72
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions examples/scenes/mad-science.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,11 @@
scene.add(spotLight);
scene.add(spotLight.target);

const spotLight2 = new THREE.SpotLight(0xffffff, 8, 50, Math.PI / 4, 1, 0.9);
spotLight2.position.set(0, 8, 0);
spotLight2.castShadow = true;
scene.add(spotLight2);

const hemisphereLight = new THREE.HemisphereLight(0xaaaaaa, 0x000000, 0.5);
hemisphereLight.position.set(0, 10, 0);
scene.add(hemisphereLight);
Expand Down

0 comments on commit 063eb72

Please sign in to comment.