# Having issues with floors not getting same baked lighting as walls/ceilings

**URL:** <https://forums.unrealengine.com/t/having-issues-with-floors-not-getting-same-baked-lighting-as-walls-ceilings/72999>\
**Category:** Rendering\
**Tags:** unreal-engine\
**Created:** [September 5, 2016, 11:00pm UTC](https://forums.unrealengine.com/t/having-issues-with-floors-not-getting-same-baked-lighting-as-walls-ceilings/72999 "2016-09-05T23:00:19Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![motorsep](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/motorsep/32/918698_2.png) [@motorsep](https://forums.unrealengine.com/u/motorsep)\
**Post date:** [September 5, 2016, 11:00pm UTC](https://forums.unrealengine.com/t/having-issues-with-floors-not-getting-same-baked-lighting-as-walls-ceilings/72999/1 "2016-09-05T23:00:19Z")

</div>

Using 4.12.5. Not really sure what’s happening, but inside of the “crypt” walls are dark, ceiling is dark, but floor is the same as outdoors (sand is static mesh):

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/c/a/3ca0a71f7d33cd40f00ea1fd2547026bcbd8b510.jpeg "ss2 dev stream 31") ](https://www.youtube.com/watch?v=zNrUEgAcFwE)

No matter what I do, walls / ceiling react properly to the lighting, but floors don’t. I have directional light and sky light. Both are static.

Has anyone had similar issues?

Thanks

---

<div class="post-metadata">

**Author:** ![motorsep](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/motorsep/32/918698_2.png) [@motorsep](https://forums.unrealengine.com/u/motorsep)\
**Post date:** [September 6, 2016, 4:58am UTC](https://forums.unrealengine.com/t/having-issues-with-floors-not-getting-same-baked-lighting-as-walls-ceilings/72999/2 "2016-09-06T04:58:10Z")

</div>

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/f/b/5fb3159420bb8f14d644aad08328a1b46a9ec558.jpeg "ss2 dev stream 33") ](https://www.youtube.com/watch?v=-fCMIT9uvz8)

Added a blocker mesh to seal that “room” completely (also added a smaller room made from brushes and converted into static mesh). Note that the blocker, the ceiling and the floor are all static meshes, with exactly the same materials applied to them.

Bizarre… 😕

---

<div class="post-metadata">

**Author:** ![AllenGingrich](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AllenGingrich](https://forums.unrealengine.com/u/AllenGingrich)\
**Post date:** [September 6, 2016, 12:08pm UTC](https://forums.unrealengine.com/t/having-issues-with-floors-not-getting-same-baked-lighting-as-walls-ceilings/72999/3 "2016-09-06T12:08:05Z")

</div>

I gave up trying to get my bakes to look great, instead trying dynamic lighting wherever I can afford it. This scene looks small, maybe try dynamic?

---

<div class="post-metadata">

**Author:** ![motorsep](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/motorsep/32/918698_2.png) [@motorsep](https://forums.unrealengine.com/u/motorsep)\
**Post date:** [September 6, 2016, 12:11pm UTC](https://forums.unrealengine.com/t/having-issues-with-floors-not-getting-same-baked-lighting-as-walls-ceilings/72999/4 "2016-09-06T12:11:54Z")

</div>

> [@AllenGingrich;590509](#):
>
> I gave up trying to get my bakes to look great, instead trying dynamic lighting wherever I can afford it. This scene looks small, maybe try dynamic?

Unfortunately I can’t use dynamic lighting - it’s for mobile VR

---

<div class="post-metadata">

**Author:** ![AllenGingrich](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AllenGingrich](https://forums.unrealengine.com/u/AllenGingrich)\
**Post date:** [September 6, 2016, 12:21pm UTC](https://forums.unrealengine.com/t/having-issues-with-floors-not-getting-same-baked-lighting-as-walls-ceilings/72999/5 "2016-09-06T12:21:51Z")

</div>

Hmm. Well, I think the issue is that the different meshes are baked in different threads and the floor is being computed WELL before the walls inside the crypt. Maybe try modularizing the floor a bit so this doesn’t happen and they compute closer to each other?

---

<div class="post-metadata">

**Author:** ![motorsep](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/motorsep/32/918698_2.png) [@motorsep](https://forums.unrealengine.com/u/motorsep)\
**Post date:** [September 6, 2016, 1:39pm UTC](https://forums.unrealengine.com/t/having-issues-with-floors-not-getting-same-baked-lighting-as-walls-ceilings/72999/6 "2016-09-06T13:39:52Z")

</div>

> [@AllenGingrich;590516](#):
>
> Hmm. Well, I think the issue is that the different meshes are baked in different threads and the floor is being computed WELL before the walls inside the crypt. Maybe try modularizing the floor a bit so this doesn’t happen and they compute closer to each other?

That doesn’t make sense. Lightmapping should be working like regular offline rendering (e.g. Blender’s Internal or Cycles, etc.) and if Lightmass doesn’t do that, how on Earth such half-a$$ed lightmapper exists in the top of the line game engine?! 😕

I’ve worked with Quake 3 lightmapper since 2008 and never had issues with lighting any kind of scene (indoors, outdoors, mixed environments). It always came down to bake time and quality (splotches), but never to half of the geometry lit properly and half unlit (or like in this case, lit as if it’s still outdoors).

Maybe @RyanB or [MENTION=4894]Tim Hobson[/MENTION] could help ?

Thanks

---

<div class="post-metadata">

**Author:** ![Tim\_Hobson](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tim\_Hobson](https://forums.unrealengine.com/u/Tim_Hobson)\
**Post date:** [September 6, 2016, 1:48pm UTC](https://forums.unrealengine.com/t/having-issues-with-floors-not-getting-same-baked-lighting-as-walls-ceilings/72999/7 "2016-09-06T13:48:51Z")

</div>

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — https://unrealcommunity.wiki/! You will be able to find content from...

---

<div class="post-metadata">

**Author:** ![motorsep](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/motorsep/32/918698_2.png) [@motorsep](https://forums.unrealengine.com/u/motorsep)\
**Post date:** [September 6, 2016, 1:55pm UTC](https://forums.unrealengine.com/t/having-issues-with-floors-not-getting-same-baked-lighting-as-walls-ceilings/72999/8 "2016-09-06T13:55:16Z")

</div>

“This is an unfortunate side-effect of how static indirect lighting is handled at the moment and **doesn’t have an easy way to fix.** ”

That’s helpful ☹

I’ll try some of the tips listed there, but at this point I think I bet on a wrong horse going into mobile development.

[MENTION=4894]Tim Hobson[/MENTION]

It’s not about shading differences between modular pieces. Floor is a single static mesh. It’s about lightmapper ignoring 100% sealed off space and not calculating lighting properly for indoor areas located in the outdoor areas.

---

<div class="post-metadata">

**Author:** ![AllenGingrich](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AllenGingrich](https://forums.unrealengine.com/u/AllenGingrich)\
**Post date:** [September 6, 2016, 2:19pm UTC](https://forums.unrealengine.com/t/having-issues-with-floors-not-getting-same-baked-lighting-as-walls-ceilings/72999/9 "2016-09-06T14:19:52Z")

</div>

> [@motorsep;590548](#):
>
> That doesn’t make sense. Lightmapping should be working like regular offline rendering (e.g. Blender’s Internal or Cycles, etc.) and if Lightmass doesn’t do that, how on Earth such half-a$$ed lightmapper exists in the top of the line game engine?! 😕
> 
> I’ve worked with Quake 3 lightmapper since 2008 and never had issues with lighting any kind of scene (indoors, outdoors, mixed environments). It always came down to bake time and quality (splotches), but never to half of the geometry lit properly and half unlit (or like in this case, lit as if it’s still outdoors).
> 
> Maybe @RyanB or [MENTION=4894]Tim Hobson[/MENTION] could help ?
> 
> Thanks

I agree, it doesn’t make sense. I’m dealing with exactly the same thing right now and that’s what I’ve surmised. Maybe I’m wrong, but it’s the only lead I have so far.

---

<div class="post-metadata">

**Author:** ![motorsep](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/motorsep/32/918698_2.png) [@motorsep](https://forums.unrealengine.com/u/motorsep)\
**Post date:** [September 6, 2016, 3:20pm UTC](https://forums.unrealengine.com/t/having-issues-with-floors-not-getting-same-baked-lighting-as-walls-ceilings/72999/10 "2016-09-06T15:20:46Z")

</div>

> [@AllenGingrich;590566](#):
>
> I agree, it doesn’t make sense. I’m dealing with exactly the same thing right now and that’s what I’ve surmised. Maybe I’m wrong, but it’s the only lead I have so far.

I guess UE4 wants everyone to use real-time lighting, effectively declaring that UE4 is for PC/consoles only and mobile/VR platform is a by-product.

Anyhow, I just thought of a hack I’ll try after I get off work. I am planning on placing a small point light with intensity set to 1 inside the room and re-build. That should force Lightmass to calculate insides of the room and hopefully it will be lit more or less properly (dark).

Also thinking about Lightmass Portals, but there isn’t whole a lot of info about that besides: [What's New | Unreal Engine 5.3 Documentation](https://docs.unrealengine.com/latest/INT/Support/Builds/ReleaseNotes/2016/4_11/index.html)

---

<div class="post-metadata">

**Author:** ![AllenGingrich](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AllenGingrich](https://forums.unrealengine.com/u/AllenGingrich)\
**Post date:** [September 6, 2016, 3:30pm UTC](https://forums.unrealengine.com/t/having-issues-with-floors-not-getting-same-baked-lighting-as-walls-ceilings/72999/11 "2016-09-06T15:30:33Z")

</div>

> [@motorsep;590602](#):
>
> I guess UE4 wants everyone to use real-time lighting, effectively declaring that UE4 is for PC/consoles only and mobile/VR platform is a by-product.
> 
> Anyhow, I just thought of a hack I’ll try after I get off work. I am planning on placing a small point light with intensity set to 1 inside the room and re-build. That should force Lightmass to calculate insides of the room and hopefully it will be lit more or less properly (dark).

I agree, it’s really weird that this issue still exists. I can’t get around it. I even tried your “hack” and it still doesn’t work. ☹

---

<div class="post-metadata">

**Author:** ![motorsep](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/motorsep/32/918698_2.png) [@motorsep](https://forums.unrealengine.com/u/motorsep)\
**Post date:** [September 6, 2016, 4:03pm UTC](https://forums.unrealengine.com/t/having-issues-with-floors-not-getting-same-baked-lighting-as-walls-ceilings/72999/12 "2016-09-06T16:03:52Z")

</div>

@AllenGingrich

Have you tried Lightmass Portals ?

---

<div class="post-metadata">

**Author:** ![motorsep](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/motorsep/32/918698_2.png) [@motorsep](https://forums.unrealengine.com/u/motorsep)\
**Post date:** [September 6, 2016, 5:54pm UTC](https://forums.unrealengine.com/t/having-issues-with-floors-not-getting-same-baked-lighting-as-walls-ceilings/72999/13 "2016-09-06T17:54:43Z")

</div>

So, is this something Epic can fix?

---

<div class="post-metadata">

**Author:** ![motorsep](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/motorsep/32/918698_2.png) [@motorsep](https://forums.unrealengine.com/u/motorsep)\
**Post date:** [September 7, 2016, 3:24am UTC](https://forums.unrealengine.com/t/having-issues-with-floors-not-getting-same-baked-lighting-as-walls-ceilings/72999/14 "2016-09-07T03:24:31Z")

</div>

Weird sh#t is going on :mad:

I tweaked lightmap indices on “test room” mesh (since it was converted from BSP to static mesh) and got walls/ceiling getting proper lighting. However, the \*\*\*\* floor is not receiving it. WTF?!?!?! :mad: :mad: :mad:

Next thing I did was moving the test room away from the shadow area to the well lit area - same story.

Next step was raising the test room slightly above the sand. That got me proper lighting in the whole “test room”, including floors (not 100% dark, but much closer to what it should be).

Why is this happening, Epic devs?!

Does it meant UE4 is not designed to have mixed environments with purely static/baked lighting ?

P.S. Tried doing the same with the “crypt” and it didn’t do the trick. As if walls don’t block sky light at all. I’ll try removing sky light and see if anything changes at all.

---

<div class="post-metadata">

**Author:** ![motorsep](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/motorsep/32/918698_2.png) [@motorsep](https://forums.unrealengine.com/u/motorsep)\
**Post date:** [September 7, 2016, 3:55am UTC](https://forums.unrealengine.com/t/having-issues-with-floors-not-getting-same-baked-lighting-as-walls-ceilings/72999/15 "2016-09-07T03:55:52Z")

</div>

> **[Sky Light](https://docs.unrealengine.com/4.27/en-US/BuildingWorlds/LightingAndShadows/LightTypes/SkyLight/)**
>
> An overview of using Sky Lights with environment and scene lighting.

“A Sky Light should be used instead of the Ambient Cubemap to represent the sky’s light, because **Sky Lights support local shadowing, which prevents indoor areas from getting lit by the sky.** ”

I don’t believe the feature in bold is working (or maybe it does, but partially, since floor in the “room”/“crypt” isn’t being darkened).

---

<div class="post-metadata">

**Author:** ![motorsep](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/motorsep/32/918698_2.png) [@motorsep](https://forums.unrealengine.com/u/motorsep)\
**Post date:** [September 7, 2016, 1:22pm UTC](https://forums.unrealengine.com/t/having-issues-with-floors-not-getting-same-baked-lighting-as-walls-ceilings/72999/16 "2016-09-07T13:22:52Z")

</div>

@AllenGingrich

Do you think you could try baking our mixed environment scene without Sky Light present ? (but with using indirect light in Directional Light)

---

<div class="post-metadata">

**Author:** ![Deathrey](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Deathrey](https://forums.unrealengine.com/u/Deathrey)\
**Post date:** [September 7, 2016, 3:21pm UTC](https://forums.unrealengine.com/t/having-issues-with-floors-not-getting-same-baked-lighting-as-walls-ceilings/72999/17 "2016-09-07T15:21:46Z")

</div>

@motorsep Just got dragged in from another thread. I don’t think that your issue is related to [this](https://wiki.unrealengine.com/LightingTroubleshootingGuide#Shadow_Seams.2FShading_Differences_with_Indirect_Lighting).

Back around 4.6 or so I made an open scene with a cave, that had quite narrow and long entrance. It was static lighting only and I did not remember having any complications. It was a desktop project though. I remember only enabling cast shadows as two sided on terrain mesh and unchecking lower hemisphere is black in skylight. Otherwise, most settings were close to defaults.

---

<div class="post-metadata">

**Author:** ![motorsep](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/motorsep/32/918698_2.png) [@motorsep](https://forums.unrealengine.com/u/motorsep)\
**Post date:** [September 7, 2016, 3:43pm UTC](https://forums.unrealengine.com/t/having-issues-with-floors-not-getting-same-baked-lighting-as-walls-ceilings/72999/18 "2016-09-07T15:43:02Z")

</div>

> [@Deathrey;591177](#):
>
> @motorsep Just got dragged in from another thread. I don’t think that your issue is related to [this](https://wiki.unrealengine.com/LightingTroubleshootingGuide#Shadow_Seams.2FShading_Differences_with_Indirect_Lighting).

I don’t see anywhere in my post I mention having seams between modular pieces. It has nothing to do with modularity and that link (which [MENTION=4894]Tim Hobson[/MENTION] also posted).

It has to do with floor receiving Sky Light (my latest theory at this time). I bet if I shrink the model of the floor to be enclosed inside the room, it will be lit properly. However since it sticks out (part of it inside the room, part outside), it ignores the indoor factor.

---

<div class="post-metadata">

**Author:** ![motorsep](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/motorsep/32/918698_2.png) [@motorsep](https://forums.unrealengine.com/u/motorsep)\
**Post date:** [September 7, 2016, 3:58pm UTC](https://forums.unrealengine.com/t/having-issues-with-floors-not-getting-same-baked-lighting-as-walls-ceilings/72999/19 "2016-09-07T15:58:29Z")

</div>

Another theory is that I need to enable two-sided lighting on the floor mesh (since it has no bottom).

---

<div class="post-metadata">

**Author:** ![Deathrey](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Deathrey](https://forums.unrealengine.com/u/Deathrey)\
**Post date:** [September 7, 2016, 8:06pm UTC](https://forums.unrealengine.com/t/having-issues-with-floors-not-getting-same-baked-lighting-as-walls-ceilings/72999/20 "2016-09-07T20:06:14Z")

</div>

Does the land mesh have high enough lightmap resolution? Your land mesh looks quite large. Also like two sided shadow I’ve mentioned before refers to dynamic shadows only it seems.

[Next page](https://forums.unrealengine.com/t/having-issues-with-floors-not-getting-same-baked-lighting-as-walls-ceilings/72999.md?page=2)
