I’m trying to match the look of Khronos Viewer & ThreeJS using Babylon. I prefer the look of ThreeJS the most. I’m not sure this image captures it well enough but there seems to be some differences in lighting and metallic reflections. For this setup I simply loaded the same .glb model and .hdr in each viewer.
As for Babylon - do you use Babylon Viewer in its default configuration? Did you try to load your model into Sandbox and does it look good or bad there?
For ThreeJS I used the code here (click the icon in the bottom right to see the code), turned off tone mapping, and loaded my .glb model and .hdr, I believe it’s fairly vanilla: https://threejs.org/examples/?q=gltf#webgl_tonemapping
It is really difficult to provide any reliable answer without having a look at the model itself.
Is it possible?
Did you try this viewer - https://modelviewer.dev/ ?
Babylon appears to process the hdr to a lower resolution
As per the reply to the post linked below, I tried to set hardware scaling for a local development test and I think it may have helped just the slightest. Things still don’t quite match though.
Thanks for all the help! I appreciate the fast responses and engagement. I loaded in a few other models and decided that I’m happy with the settings as they because with some materials Babylon looks better. I think the main difference is coming from the resolution of the hdr lighting. I also ended up disabling the hardware scaling as it was causing performance issues on mobile.