Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Set up stage light
- // ... other code snippets
- // const spotLight = new THREE.SpotLight( 0xffffff ); //!<<< Comment out this line
- //spotLight.position.set( -10, 40, 30 ); //!<<< Comment out this line
- const spotLight = new THREE.SpotLight( 0xffffff, 5, 100 ); //!<<< Add this line
- spotLight.position.set( -10, 20, 20 ); //!<<< Add this line
- // ... other code snippets
- const ambientLight = new THREE.AmbientLight( 0x404040 );
- scene.add( ambientLight );
Advertisement
Add Comment
Please, Sign In to add comment