# Baked light on Rotated Streaming level

**URL:** <https://forums.unrealengine.com/t/baked-light-on-rotated-streaming-level/467218>\
**Category:** Rendering\
**Tags:** streaming-level, light-level, unreal-engine, Lightmap, question, baked\
**Created:** [June 25, 2020, 3:29am UTC](https://forums.unrealengine.com/t/baked-light-on-rotated-streaming-level/467218 "2020-06-25T03:29:13Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![RafaelLima](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rafaellima/32/779687_2.png) [@RafaelLima](https://forums.unrealengine.com/u/RafaelLima)\
**Post date:** [June 25, 2020, 3:29am UTC](https://forums.unrealengine.com/t/baked-light-on-rotated-streaming-level/467218/1 "2020-06-25T03:29:13Z")

</div>

I have built a separated level to be load. And I have baked all the light in the level.  
When I load the level everything works fine, however when I rotate the level in level Streaming the baked light get all wrong. Looks like the lightmap will not rotate whit the level.

 ![305338-bakedlevel.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/3/4/434045c5fa73496f67b5c759370f13e1b2eaaf4d.jpeg)

 ![305340-bakedlevelwhitpersistent.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/b/c/ebc1ad48a83559a8701e0cc7f3a0f3526f98333c.jpeg)

 ![305351-bakedlevelrotated.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/0/5/305963ac0f95a80f90f7bc1a2e6a36c812ce306a.jpeg)

---

<div class="post-metadata">

**Author:** ![irajsb](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/irajsb/32/740687_2.png) [@irajsb](https://forums.unrealengine.com/u/irajsb)\
**Post date:** [June 25, 2020, 5:31am UTC](https://forums.unrealengine.com/t/baked-light-on-rotated-streaming-level/467218/2 "2020-06-25T05:31:43Z")

</div>

Its called static light for this reason!

---

<div class="post-metadata">

**Author:** ![LNaej](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LNaej](https://forums.unrealengine.com/u/LNaej)\
**Post date:** [June 25, 2020, 7:51am UTC](https://forums.unrealengine.com/t/baked-light-on-rotated-streaming-level/467218/3 "2020-06-25T07:51:41Z")

</div>

If I’m not mistaken, you should bake the light for this sublevel while being in the persistent.  
Meaning:

- Open your persistent map containing the sublevel rotated
- Show the sublevel (make sure the little eye on the left of its name on the Level Panel is open
- Bake the lights

This way, the lights should be baked with the wanted sublevel orientation.  
Never tested it though I may be wrong.

---

<div class="post-metadata">

**Author:** ![RafaelLima](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rafaellima/32/779687_2.png) [@RafaelLima](https://forums.unrealengine.com/u/RafaelLima)\
**Post date:** [February 8, 2021, 5:47pm UTC](https://forums.unrealengine.com/t/baked-light-on-rotated-streaming-level/467218/4 "2021-02-08T17:47:08Z")

</div>

Update: in 4.26.1  
When using point and spot light I have no problem in load the level rotated. Just when using directional light the bake broke.

---

<div class="post-metadata">

**Author:** ![Andariel\_yo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Andariel\_yo](https://forums.unrealengine.com/u/Andariel_yo)\
**Post date:** [November 2, 2022, 3:51pm UTC](https://forums.unrealengine.com/t/baked-light-on-rotated-streaming-level/467218/5 "2022-11-02T15:51:30Z")

</div>

Hi. met the same problem with rotating baked level. After some research I found that baking lightmaps taking into consideration vertex normals. So i found a solution.  
Make material function (see attached pic) and add it as normal input for all materials used in baked meshes. It unrotates normals back. LevelAngle parameter in degrees must be equal your level’s yaw.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/7/1/071fd3bc9fab063d5866acda745b091fcbc3b58a.png)

---

<div class="post-metadata">

**Author:** ![JaroMast](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JaroMast](https://forums.unrealengine.com/u/JaroMast)\
**Post date:** [February 9, 2024, 7:54am UTC](https://forums.unrealengine.com/t/baked-light-on-rotated-streaming-level/467218/6 "2024-02-09T07:54:52Z")

</div>

Tried your solution Andariel\_yo and indeed it fixes part of a problem but generates another one - because you rotate the normal everything that comes from dynamic light will also be rotated. For example, if you load level with a rotation of 180 degrees the dynamic light will appear on the opposite side of the mesh.

---

<div class="post-metadata">

**Author:** ![Andariel\_yo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Andariel\_yo](https://forums.unrealengine.com/u/Andariel_yo)\
**Post date:** [February 20, 2024, 9:32am UTC](https://forums.unrealengine.com/t/baked-light-on-rotated-streaming-level/467218/7 "2024-02-20T09:32:46Z")

</div>

yes, its a solution for static lighting only. Also I found that reflection captures also do wrong reflections. The only way I can see for now to make all fine is to bake level in different rotations you’ll use. Dumb.
