# How would light baking work in regards to modular levels?

**URL:** <https://forums.unrealengine.com/t/how-would-light-baking-work-in-regards-to-modular-levels/17574>\
**Category:** Rendering\
**Tags:** unreal-engine\
**Created:** [December 20, 2014, 9:16pm UTC](https://forums.unrealengine.com/t/how-would-light-baking-work-in-regards-to-modular-levels/17574 "2014-12-20T21:16:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_805efe8b1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_805efe8b1](https://forums.unrealengine.com/u/anonymous_user_805efe8b1)\
**Post date:** [December 20, 2014, 9:16pm UTC](https://forums.unrealengine.com/t/how-would-light-baking-work-in-regards-to-modular-levels/17574/1 "2014-12-20T21:16:14Z")

</div>

I’ll try and describe a really simple example here,

I have a lovely detailed wall piece that I’ve created and want to use multiple times in the level. This piece shouldn’t have it’s own light map because it’s being repeated? For example in another area there may be a statue casting a shadow on one of them. So then how do people lightmap modular levels within Unreal? All I can think of is to create the full level in a 3D application and divide it up into chunks with their own lightmaps.

---

<div class="post-metadata">

**Author:** ![A-J-K](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@A-J-K](https://forums.unrealengine.com/u/A-J-K)\
**Post date:** [December 20, 2014, 11:07pm UTC](https://forums.unrealengine.com/t/how-would-light-baking-work-in-regards-to-modular-levels/17574/2 "2014-12-20T23:07:37Z")

</div>

Every mesh has his own lightmap after building the light… so far i know there is no sharing of one light map for multiple meshes even when it is the same…

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_805efe8b1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_805efe8b1](https://forums.unrealengine.com/u/anonymous_user_805efe8b1)\
**Post date:** [December 21, 2014, 12:53am UTC](https://forums.unrealengine.com/t/how-would-light-baking-work-in-regards-to-modular-levels/17574/3 "2014-12-21T00:53:41Z")

</div>

oOOOh right. So even if two wall pieces have the same UV2 (or 1 in the case of Unreal) for the LM, when you bake lights it takes both UVs and places them into one lightmap automatically?

---

<div class="post-metadata">

**Author:** ![A-J-K](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@A-J-K](https://forums.unrealengine.com/u/A-J-K)\
**Post date:** [December 21, 2014, 2:10am UTC](https://forums.unrealengine.com/t/how-would-light-baking-work-in-regards-to-modular-levels/17574/4 "2014-12-21T02:10:36Z")

</div>

Every mesh has it’s own lightmap, for example i have 6 balks in my scene “they are all the same” but i placed them in different places, of course they all have they’re own lightmap baked…  
I’m not sure why you are asking ? simply place your mesh whereevery you need it and build the light…

---

<div class="post-metadata">

**Author:** ![darthviper107](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/darthviper107/32/710746_2.png) [@darthviper107](https://forums.unrealengine.com/u/darthviper107)\
**Post date:** [December 21, 2014, 6:05am UTC](https://forums.unrealengine.com/t/how-would-light-baking-work-in-regards-to-modular-levels/17574/5 "2014-12-21T06:05:41Z")

</div>

Each static mesh gets its own lightmap, by reusing a mesh, it saves on memory for the actual mesh, not the lightmaps. It would then only keep one copy of the mesh in memory, but it would still have a lightmap for every time that mesh is used.
