I began learning Three js and it has been bothering me that some of the lights does not work for me. While following a tutorial on Youtube (https://www.youtube.com/watch?v=XXzqSAt3UIw&list=PLjcjAqAnHd1EIxV4FSZIiJZvsdrBc1Xho&index=2), everything works fine except for the lights that are supposed to illuminate the planets (like in the video at 4:21). When I tested it out, there is not even the faintest light illuminating any planets.
I thought maybe is a syntax error so I tried copying and pasting the code from the video’s src file (https://github.com/WaelYasmina/solarsystem/blob/main/src/js/scripts.js) and run it but the problem persists. Why is that light dont work properly for? Thanks.