What is the possible way to use HDR Image-Based Lighting in AR.js with three.js? I’m referencing the following example for the same and I would need RGBELoader and RoughnessMipmapper for it: https://threejs.org/examples/q=webgl_loader_gltf#webgl_loader_gltf
and these files are externally loaded in three.js.
But the problem is, as I could understand, AR.js works only with global three.js files. AR.js itself is very poorly adapted for NPM. So where can I find the global files for RGBELoader and RoughnessMipmapper? As without HDR Image-Based Lighting, my .glb model looks very raw and dull. Or is there any other way to make my model look more realistic in AR.js?