Webxr AR same hdri looks darker and duller in AR

using version 136 and the hdri seems duller in AR mode

both screenshots are using same environment generated by pmremGen. and there are no Lights

you can test yourself , open ‘webxr AR’ optimus007

renderer settings

 renderer.toneMapping = THREE.ACESFilmicToneMapping;  
 renderer.outputEncoding = THREE.sRGBEncoding;
 renderer.physicallyCorrectLights = true;
 renderer.xr.enabled= true;

and hdri is an exr file from hdriHaven https://dl.polyhaven.org/file/ph-assets/HDRIs/exr/1k/comfy_cafe_1k.exr

and two separate scenes one for web and other or AR , both are using same environment texture

once the ar session starts i switch the render loop to render the arScene
& on session end i switch back the render loop to the web scene

Can you please test with the current dev version of three.js? You can find it here: three.js/build at dev · mrdoob/three.js · GitHub

There will be some color space related refactorings in r137 which might solve your issue.

1 Like

Looks correct now !
r137 FTW!
Thank you !

now to add lighting estimation…

1 Like