Lightmaps are exported as a TextureAtlas… Then actual meshes in the GLTF 2.0 format have the UV2 channels offset to their position in the lightmap texture atlas. So you just set the proper lightmapTexture on your material if you are manually doind this stuff
Now if you use the SceneManager extension (include babylon.manager.js on your host page) this is all auto-magic when you load the GLTF using any of the babylon loading functions (SceneLoader.Load, Append, Import Meshes And Loading Asset Containers)
I am going to use the babylon,manager in react & typescript project.
Now I am using the @babylon/core module.
Could you tell me how I can import and use the babylon.manager with @babylon/core module?