# How to bake lightmap on same object with multiple materials

**URL:** <https://forums.unrealengine.com/t/how-to-bake-lightmap-on-same-object-with-multiple-materials/325759>\
**Category:** Asset Creation\
**Tags:** baked-lighting, unreal-engine, Lightmap, Lighting, question\
**Created:** [July 19, 2015, 3:10am UTC](https://forums.unrealengine.com/t/how-to-bake-lightmap-on-same-object-with-multiple-materials/325759 "2015-07-19T03:10:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_e3a752f6](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e3a752f6](https://forums.unrealengine.com/u/anonymous_user_e3a752f6)\
**Post date:** [July 19, 2015, 3:10am UTC](https://forums.unrealengine.com/t/how-to-bake-lightmap-on-same-object-with-multiple-materials/325759/1 "2015-07-19T03:10:08Z")

</div>

I’m doing an architectural visualization and I would like to be able to change the material of a sofa when I hit the “C” button. I used “Set material function” to do this job and I’m able to that in the game.  
The problem is here:  
When I hit play and change materials, the Lightmap is only baked for the first default material. I tried to use “dynamic lighting” and “movable” mesh options but none of these worked.  
Is there an option to bake multiple materials on same object so when I change it during game they would be baked.  
Or I should maybe have copies of same object in the same place and change the visibility of them each time I want to change materials?

 ![50693-001.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/2/d/82da82151235e4e6fd848f6e588beecb77224e4c.jpeg)

---

<div class="post-metadata">

**Author:** ![Jake1337](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jake1337](https://forums.unrealengine.com/u/Jake1337)\
**Post date:** [January 1, 2016, 9:04am UTC](https://forums.unrealengine.com/t/how-to-bake-lightmap-on-same-object-with-multiple-materials/325759/2 "2016-01-01T09:04:16Z")

</div>

Have a similar use-case here where I would like retain the baked light effect while changing materials during gameplay (more specifically I’m creating dynamic material instances and applying them at spawn).

---

<div class="post-metadata">

**Author:** ![Patrick.O](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/patrick.o/32/1007161_2.png) [@Patrick.O](https://forums.unrealengine.com/u/Patrick.O)\
**Post date:** [April 24, 2021, 12:28am UTC](https://forums.unrealengine.com/t/how-to-bake-lightmap-on-same-object-with-multiple-materials/325759/3 "2021-04-24T00:28:32Z")

</div>

Did you ever find an answer?

---

<div class="post-metadata">

**Author:** ![Kratos\_again](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kratos\_again](https://forums.unrealengine.com/u/Kratos_again)\
**Post date:** [February 14, 2025, 1:14pm UTC](https://forums.unrealengine.com/t/how-to-bake-lightmap-on-same-object-with-multiple-materials/325759/4 "2025-02-14T13:14:07Z")

</div>

hello my friend, did you find answer ? 😃
