# Mesh has bad lighting after building light

**URL:** <https://forums.unrealengine.com/t/mesh-has-bad-lighting-after-building-light/468199>\
**Category:** Rendering\
**Tags:** Blender, build-lighting, unreal-engine, Lighting, question\
**Created:** [July 15, 2020, 2:08pm UTC](https://forums.unrealengine.com/t/mesh-has-bad-lighting-after-building-light/468199 "2020-07-15T14:08:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_fb9dc6ac](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_fb9dc6ac](https://forums.unrealengine.com/u/anonymous_user_fb9dc6ac)\
**Post date:** [July 15, 2020, 2:08pm UTC](https://forums.unrealengine.com/t/mesh-has-bad-lighting-after-building-light/468199/1 "2020-07-15T14:08:52Z")

</div>

Hello! Currently I am importing some models I made in Blender. I made a wall that looked perfectly fine before building lighting. However, once I built the lighting, weird shadows appeared (Especially on the crown molding and trim of the wall). I would like to ask if someone could help me out.

My Lightmap Resolution is 128. If you need anymore information please let me know 🙂

![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/a/3/da312b8589d0a620005539e91152bdebcd23b1b7.png)

---

<div class="post-metadata">

**Author:** ![presto423](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@presto423](https://forums.unrealengine.com/u/presto423)\
**Post date:** [July 15, 2020, 7:34pm UTC](https://forums.unrealengine.com/t/mesh-has-bad-lighting-after-building-light/468199/2 "2020-07-15T19:34:52Z")

</div>

Provide more information about the project’s lighting:

Directional light(s) settings (base settings and the ones under Lighting / Rendering)  
Skylight(s) (same as directional)  
World Lightmass Settings

I’m guessing by the picture that a number of the settings are default. Is Generate Mesh Distance Fields enabled for the project?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_fb9dc6ac](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_fb9dc6ac](https://forums.unrealengine.com/u/anonymous_user_fb9dc6ac)\
**Post date:** [July 16, 2020, 2:04am UTC](https://forums.unrealengine.com/t/mesh-has-bad-lighting-after-building-light/468199/3 "2020-07-16T02:04:23Z")

</div>

Yes, all settings are default. I will get the exact numbers when I get back on my PC. Generate Mesh Distance Fields was not enabled. Should I enable it?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_fb9dc6ac](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_fb9dc6ac](https://forums.unrealengine.com/u/anonymous_user_fb9dc6ac)\
**Post date:** [July 16, 2020, 2:09am UTC](https://forums.unrealengine.com/t/mesh-has-bad-lighting-after-building-light/468199/4 "2020-07-16T02:09:02Z")

</div>

Ok, so just for a little test I tilted the wall back a little to see if it could possibly be due to the angle of the lighting. Here’s the result:

![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/6/5/b652a5750853d1f0e5f18f375bdd5c85c74256d1.png)

It looks a lot better in my opinion. Does that mean it’s the angle of the lighting? I’m just using the default lighting that is provided by ue4.

---

<div class="post-metadata">

**Author:** ![presto423](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@presto423](https://forums.unrealengine.com/u/presto423)\
**Post date:** [July 16, 2020, 1:43pm UTC](https://forums.unrealengine.com/t/mesh-has-bad-lighting-after-building-light/468199/5 "2020-07-16T13:43:50Z")

</div>

It has something to do with the angle of the mesh. That’s weird. I would go to the directional light settings, increase or decrease Shadow Bias, Shadow Slope Bias, and Shadow Resolution. There’s a few other settings, but I need to see what they’re currently at to consider what’s happening.
