Hi, I realized this forum is more relevant to my question.
I’ve used Babylonjs for several projects, I’m also an Unreal Engine 4 developer and have big interest in the ability to export glTF directly from Unreal Engine and use directly in BabylonJS.
There is an open source project that supports this for PlayCanvas (GitHub - ue4plugins/GLTFWebViewer) which has a few extensions that allow enhanced rendering, including extension for lightmaps.
I’m no expert in BabylonJS to understand how to implement these extensions myself. Anyone can shed some light on how to tackle this task? I’m mostly interested in the lightmap extension.
I finally managed to create my own BabylonJS extension implementing some of the code from the extension above. I can now do lightbaking in Unreal and export to babylonjs.
Hi, no I havent uploaded any public version yet. but the key concept is basically taken from the PlayCanvas extension above and applied to a PBRCustomMaterial: