Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

223
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda