render settings:
this.renderer.outputEncoding = THREE.sRGBEncoding
this.renderer.toneMapping = this.toneMappingOptions[ this.params.toneMapping ]; //'ACESFilmic'
this.renderer.toneMappingExposure = this.params.exposure; //0.9
world colors set with:
_child.material.color.setHex(_color).convertSRGBToLinear();
hdr environment:
new RGBELoader().load("assets/hdr/color_sky_3.hdr", ( _texture )=>{
_texture.mapping = THREE.EquirectangularReflectionMapping; //THREE.CubeReflectionMapping; //THREE.EquirectangularReflectionMapping;
this.scene.environment = _texture;
this.scene.environment.needsUpdate = true;
});
When I don’t set scene.environment to the hdr coloring is fine:
Any idea what may cause this? I haven’t seen this issue yet…
If you lower the intensity of your environment map it might look better - but what it looks like is the HDR environment has some bright lighting to it pushing the rendered colors to some pretty high values, and then tonemapping gives those light colors for particularly bright values. Playing with the exposure may help here, as well.
Otherwise you may need to provide a live demo and show what hdr map you’re using for more help.
Thanks for reply. Yes, I think I will have to try reduce the coloring of the hdr I just don’t quite understand why it was fine in blender and fine in older threejs and now way too bright.
hdr:
This wasn’t clear from your initial post. If you think there’s been a regression or meaningful undocumented change you should share a before / after jsfiddle with specific three.js version numbers that the difference occurred on.
Does a similar change appear if you disable tone mapping both before and after the update?
Possibly related: Shaders: apply exposure boost to ACES Filmic tone mapping by WestLangley · Pull Request #19696 · mrdoob/three.js · GitHub … but there have been lots of changes related to environment maps and PMREM and lighting and tone mapping over various versions. It would narrow things down a lot to know what versions you’re updating from and to.
r125 to r133
before:
after:
but there have been lots of changes related to environment maps and PMREM and lighting and tone mapping over various versions
@donmccurdy yes seems so
I will fix it by adjusting the hdr, thanks.