Most likely the tutorial is using an old release of Three.js, where lights and their parameters were designed to use “nice” numbers. Since release 155 lights and their properties are closer to physical lights. You can find more details here:
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Why lights dont work for me | 3 | 577 | July 10, 2024 | |
| Why is threejs lighting fun such as pointlight and ambientlight not working with version "three": "^0.164.1" | 1 | 420 | April 27, 2024 | |
| I'm new to threeJS and want to display a sphere. But somehow I cant. Please help | 6 | 645 | March 3, 2024 | |
| Lights significantly differ when switching r147 to r157 | 3 | 761 | October 9, 2023 | |
| Updates to lighting in three.js r155 | 39 | 28564 | October 28, 2023 |