Hello,
I’ve been importing the 3D model of a building I’ve modified in the Babylon Sandbox.I’ve tried both ‘Scene Export’ and GLTF ‘Exports’ to export a .babylon and a .glb file. Under ‘GLTF Exports’ I’ve made sure to toggle ‘Export Lights’ to export a directional and possibly a ShadowGenerator added to it.
In my project, I use LoadAssetContainerAsync() following the documentation and its example scene to import my model along with all its necessary assets, but my scene appears completely black. I need to manually create a DirectionalLight to see the meshes and their textures.
My question is why the loader doesn’t seem to recognize the light, while it has no issue with materials, textures, etc. Any suggestions would help.