HDR from polyhaven was overexposed

I found some wonderful free hdr from https://polyhaven.com/

so I follow the doc: Using An HDR Environment For PBR | Babylon.js Documentation

process the hdr download from polyhaven with Babylon.js Texture Tools

but the result seems overexposed.

here is the origin hdr:

when I use the processed .env in my project.
the whole scene became dazzling.

I try to decrease the environmentIntensity to make the exposure looks normal.
but the whole scene was gloomy.

any idea to solve overexposed problem and keep a nice global illumination.

Welcome aboard!

Maybe there is some settings we can use in the IBL tools to decrease saturation when processing the file. Let’s cc @sebavan the mastermind behind the tool!

One thing you could try is using IBL baker to create the env file and see if it’s any different.

1 Like

This is totally expected for HDR data as the sun is always amazingly bright. In this case, you need to set a tonemapping on your scene: https://playground.babylonjs.com/#F97LI4#3

I would recommend to not use IBL Baker as they do not follow the same curves than Babylon :slight_smile:

3 Likes

It looks good, I will try it in my project, tks guys.

@sebavan How to create an env file without overexposure?
And what’s the tool or process used by Babylon to create the env files in the texture library?

You can use the sandbox but we do not have an exposure control for it. We simply use the one from the source.