Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

222
Views
Newer three.js version brakes light reflection on mesh

I recently upgraded from three.js version r110 to r124 because I needed some new features in r124. However now my meshes don't reflect light the way they used to, everything looks different! 😢

Does anyone know what changed between these versions that would have this effect and how I can undo it without reverting to the older version?

Here are some photos to show what i'm talking about... You can see in picture ONE (r110) the light clearly reflects off the cylinder but in picture TWO (r124) the effect is not clear at all!

It's a little difficult to share the code here because the example is part of a large project but the only thing that has changed between these two photos is the three.js version number. In both photos I am using black standard material and a white point light.

ONE

enter image description here

TWO

enter image description here

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

As per my comment...
The roughness and metalness default values for MeshStandardMaterial were changed in r112.

So setting your material roughness and metalness to the values that were previously the defaults "0.5" should produce a material that looks the same as pre r112.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!