You’re running into some migration issues. A lot has changed since version r148
. Keep in mind that breaking changes are typically introduced every 10 versions. Between r148
and r175
, the biggest changes involve lighting and color management.
Check out these migration guides for more details:
-
Lighting: Updates to lighting in three.js r155
Most of the changes affect light intensity. Try tweaking the values to see how they translate in the new version. -
Color Management: Updates to Color Management in three.js r152
The main updates involve color encoding. About 90% of the time, you’ll need to set the appropriatecolorSpace
on your textures. If you’re not using textures or custom shaders, you’re likely unaffected. -
Console warnings: Keep an eye on the console (
F12
) and read the warnings. It will let you know if any properties are deprecated, need replacing, or are no longer supported.