Incorrect materials due to large Index of Refraction value

Hello :wave:,

I’ve been busy bumping the @babylonjs package in our project and stumbled upon an issue in one of the environments we use. Where the materials, of all the meshes, are very reflective and don’t look great at all (this is top view):

After some debugging I noticed that it was due to the Index of Refraction
(which can be found in the debugLayer under the METALLIC WORKFLOW tab)
having a value 1000 causing this effect.
When editing the value through the debugLayer I noticed that I can only set the value from 1-3.

Which looks like (and is what I want it to look like):

playground: Babylon.js Playground
I’ve bumped the version from 7.42.0 → 8.7.0

Anything specific on the 3D model that causes this?

Thanks in advance :slight_smile:

The Green and Wood materials in your asset are set with an IOR (Index Of Refraction) of 1000:

You should fix the problem in the DCC tool you use (is it Blender?).

2 Likes

I’m indeed using Blender.
Now I feel stupid making a bug post for this issue :sweat_smile: