# Light baking in unreal engine and render the exported gltf in babylonjs

**URL:** <https://forum.babylonjs.com/t/light-baking-in-unreal-engine-and-render-the-exported-gltf-in-babylonjs/36711>\
**Category:** Questions\
**Tags:** lighting\
**Created:** [December 20, 2022, 12:27pm UTC](https://forum.babylonjs.com/t/light-baking-in-unreal-engine-and-render-the-exported-gltf-in-babylonjs/36711 "2022-12-20T12:27:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![wmj0cn](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/wmj0cn/32/26327_2.png) [@wmj0cn](https://forum.babylonjs.com/u/wmj0cn)\
**Post date:** [December 20, 2022, 12:27pm UTC](https://forum.babylonjs.com/t/light-baking-in-unreal-engine-and-render-the-exported-gltf-in-babylonjs/36711/1 "2022-12-20T12:27:37Z")

</div>

Hi All,

is it possible to render the gltf exported from unreal engine, where the lighting is baked?

found that there’s a uasset folder generated during the exporting, how should we unpack/convert it into a format that could be recognized by BS and render the baked lighting correctly?

much appreciated your help in advance, dealing with light is really not a easy job… any further tools / utilities that could help us achieving better lighting effect in BS is more than expected…

> **[Make the Best Use of the Forum | Babylon.js Documentation](https://doc.babylonjs.com/journey/forum)**
>
> Learn about the best place to get help, the Babylon.js forum.

---

<div class="post-metadata">

**Author:** ![Evgeni\_Popov](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/evgeni_popov/32/4432_2.png) [@Evgeni\_Popov](https://forum.babylonjs.com/u/Evgeni_Popov)\
**Post date:** [December 20, 2022, 3:32pm UTC](https://forum.babylonjs.com/t/light-baking-in-unreal-engine-and-render-the-exported-gltf-in-babylonjs/36711/2 "2022-12-20T15:32:04Z")

</div>

If you drag & drop the .gltf file + the asset folder into the [sandbox](https://sandbox.babylonjs.com/) it should work.

The easiest way to deal with this, however, would be to convert the file + folder to a .glb, which is self contained. I’m sure there are a lot of tools to do this, I’m using [Microsoft Apps](https://apps.microsoft.com/store/detail/gltf-shell-extensions/9NPGVJ9N57MV?hl=en-us&gl=us).

---

<div class="post-metadata">

**Author:** ![wmj0cn](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/wmj0cn/32/26327_2.png) [@wmj0cn](https://forum.babylonjs.com/u/wmj0cn)\
**Post date:** [December 21, 2022, 1:26pm UTC](https://forum.babylonjs.com/t/light-baking-in-unreal-engine-and-render-the-exported-gltf-in-babylonjs/36711/3 "2022-12-21T13:26:46Z")

</div>

I drag & drop in sandbox, but still not seeing the light baking texture

---

<div class="post-metadata">

**Author:** ![Evgeni\_Popov](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/evgeni_popov/32/4432_2.png) [@Evgeni\_Popov](https://forum.babylonjs.com/u/Evgeni_Popov)\
**Post date:** [December 21, 2022, 2:00pm UTC](https://forum.babylonjs.com/t/light-baking-in-unreal-engine-and-render-the-exported-gltf-in-babylonjs/36711/4 "2022-12-21T14:00:45Z")

</div>

That’s probably because glTF does not support lightmaps.

To be sure it’s not a problem on Babylon.js side, can you try in another glTF viewer (like [https://gltf-viewer.donmccurdy.com/](https://gltf-viewer.donmccurdy.com/))?

---

<div class="post-metadata">

**Author:** ![joie](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/joie/32/24608_2.png) [@joie](https://forum.babylonjs.com/u/joie)\
**Post date:** [February 3, 2023, 10:57am UTC](https://forum.babylonjs.com/t/light-baking-in-unreal-engine-and-render-the-exported-gltf-in-babylonjs/36711/5 "2023-02-03T10:57:36Z")

</div>

Excuse me to step into your thread, but I need to know exactly the same. How do you bake lightmaps inside Unreal and how to export glTF from it?  
Thanks!
