Rendering difference between version 164.1 and 165.0

Hi!
I was updating one of my projects from 164.1 to the latest 167.1 version when I noticed that some of my models looked different. I narrowed it down to the changes between 164.1 and 165.0
This first screenshot is from 164.1:

image

This model is a .glb model, which has a material with these parameters:
MeshStandardMaterial({ metalness: 0.5, roughness: 0.4 })

Now this model in 165.0 looks like this:

image

As you can see the model is way ‘brighter’ or ‘whiter’, I don’t know what to call this.
Is this a documented change somewhere, or did I run into some unknown changes?
I don’t know if this is enough to narrow down what change could have caused this to happen, or should I create a minimal example or something like that…
(The codebase is quite big with many models, it just so happens that I have a page dedicated for viewing some of these models)

Edit: This behaviour happens on all of my models that use the material ‘MeshStandardMaterial’ with those 2 parameters applied to them. No other models had this change, only those that had this exact material applied to them

It looks like this change occured because of commit ‘629f8a068d006c84835a54583e4ac2d32ba64e1f’
Which is strange, because I don’t use useLegacyLights in my code.

But I’m using RoomEnvironment!
The block of change in RoomEditor.js here caused my problem:

So the intensity value of the PointLight changed from 5 to 900 by default
(It was 5 for me because I never passed in my renderer object, so the check was always skipped)
Not sure about this…
I can fix it for myself by just modifying RoomEnvironment.js for myself

2 Likes