I did search for this, and it seems like the wackiest thing. Here’s the problem. I am learning three.js following this excellent tutorial. When I run it locally using vite, it looks normal:
And yet, I’m pretty sure I’m using the same version, because I’ve uploaded the indentical files. Maybe as someone mentioned, there is a double-exposure? Double the light source?
Turns out this CDN import of three version 154 was ignored locally, preceded by version 182, which had the correct lighting. When I uploaded it, the CDN import kicked in, using version 154, which showed the lighting problem.