Blender to Babylon.js: Glb Export - Extremely Overexposed Lights, Seeking Solutions

Hey everyone,

I’m having a really tough time here. I’ve carefully adjusted the light parameters in Blender. Everything looks great in Blender, with the lighting creating the perfect mood and intensity. But when I export the model as a glb file and import it into Babylon.js, the lights are extremely overexposed. It’s like all the careful lighting work I did in Blender has gone to waste.

I’m really confused and don’t know what’s causing this. I’ve double - checked all my Blender settings, but I still can’t figure out the problem.

So my questions are:

  1. What could be the reason for this significant difference in light intensity between Blender and Babylon.js after exporting a glb file?
  2. How should I set the light parameters in Blender to ensure that the light intensity is consistent when the model is imported into Babylon.js?

I would really appreciate any help or advice you can give me. This has been holding up my project for a while now.

Thank you!

Is it the same in other GLB viewers?

1 Like

Yes,Both https://sandbox.babylonjs.com/ and the viewers I built myself will be exposed

I believe we need a repro to solve this.
Is it possible to share your model somehow?

1 Like


Cycles renderer effect in Blender


Babylon display effect

LightingTest.zip (145.6 KB)

1 Like

you have to set lighting mode to unitless when exporting : )

data > lighting > lighting mode > unitless

here’s an example export:
LightingTest.glb.zip (17.3 KB)

4 Likes

Did some quick research. It seems this is related to the Lumens vs. Watt discussion with glTF that is happening right now in the glTF PBR working group.

For reference, some links with more info:

1 Like