# Lighting difference on similar objects

**URL:** <https://forums.unrealengine.com/t/lighting-difference-on-similar-objects/309138>\
**Category:** Rendering\
**Tags:** unreal-engine, Lighting, Rendering, question\
**Created:** [March 4, 2015, 12:58pm UTC](https://forums.unrealengine.com/t/lighting-difference-on-similar-objects/309138 "2015-03-04T12:58:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Madmenyo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Madmenyo](https://forums.unrealengine.com/u/Madmenyo)\
**Post date:** [March 4, 2015, 12:58pm UTC](https://forums.unrealengine.com/t/lighting-difference-on-similar-objects/309138/1 "2015-03-04T12:58:19Z")

</div>

I have set up a very basic scene using a couple of basic floor pieces and the default direct light. I would expect this scene to be lit properly but as you can see in the picture the separate ceiling meshes are lit very differently. I just used an empty scene deleted all meshes except the “floor mesh” and copied that a couple of times.

I tried fixing it with a “Lighmass Importance Volume” and also tried to tweak some light settings in the world settings. But all without results.

 ![32185-ue4_lighting.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/1/0/11049e97605a5f50ac7ae147d552a1562e2fa5ae.jpeg)

I have read that I should insert some static meshes over the seams, this would indeed get rid of the seams but if the light received on the pieces above in the picture is massive and will still look strange. I am also aware the results would look less obvious when the texture is less clean but I am planning to make some clean looking sci-fi meshes and want this to look as good as possible.

I just got UE4 so I might be doing wrong that is obvious for a experienced user. I do remember when i was fiddling with UDK a long time ago I experienced similar problems.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2ed5b4c7](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2ed5b4c7](https://forums.unrealengine.com/u/anonymous_user_2ed5b4c7)\
**Post date:** [March 4, 2015, 1:07pm UTC](https://forums.unrealengine.com/t/lighting-difference-on-similar-objects/309138/2 "2015-03-04T13:07:06Z")

</div>

Hi!

I think you Lighting has a low quality.

Read this

> **[Modular Asset Lighting Problem](https://forums.unrealengine.com/showthread.php?46269-Modular-Asset-Lighting-Problem)**
>
> Hello all! I just started working on my first set of modular assets (which are primarily different sized tiles) and I’ve gotten them to fit correctly and everything but now the problem is lighting. It is being lit differently on some tiles. Also,...

> **[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:** ![Madmenyo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Madmenyo](https://forums.unrealengine.com/u/Madmenyo)\
**Post date:** [March 4, 2015, 1:17pm UTC](https://forums.unrealengine.com/t/lighting-difference-on-similar-objects/309138/3 "2015-03-04T13:17:42Z")

</div>

I did found the first link and using the settings from it. I just rendered the pieces with the issue with a Lightmap Resolution of 64, it took an age but this does do a better job on the light received by the meshes, however this creates seems along the edges. The stretched shadows are probably caused by the scaling i did on the floor mesh but I need to get rid of the lines in between the ceiling pieces.

 ![32187-ue4_lighting2.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/f/e/6fecd947e5c1df299b72483eb290d11c00cb3aa5.jpeg)

I will start on some very basic meshes to do proper tests.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e391b7bc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e391b7bc](https://forums.unrealengine.com/u/anonymous_user_e391b7bc)\
**Post date:** [March 5, 2015, 1:34am UTC](https://forums.unrealengine.com/t/lighting-difference-on-similar-objects/309138/4 "2015-03-05T01:34:41Z")

</div>

This looks like a common issue related to modular assets and inefficient lightmaps. Your lightmap UVs are dictated by your meshes scaling. So when you do rescale existing geometry you will often encounter bleeding shadows and/or distorted shading. If you enable lightmap visualization you will probably notice this. A further increase in lightmap resolution may remove those seems, but they will not solve the root cause of the problem. I’ve experimented with modular wall sections a lot and you may want to look into some of the following…

- Make sure you setup your fbx system  
units correctly (meters or cm)
- Always align vertices to the grid
- Align lightmaps to their own grid based on the intended resolution (32 or 64 are  
most commonly used)
- Use adequate spacing
- Disconnect and space out faces which may cause their own shadows to  
bleed onto adjacent polygons (edge bleeding)
- Smoothing groups may interfere with trying to reach uniform lighting
- Accept the fact that prefabs will always be shaded more accurately than  
modular sections
- Combining sections in advance, then exporting the whole group as a single mesh may solve related issues

My advice would be to create and export the simplest wall/ceiling mesh you can come up with in your preferred modelling software, but do so with as much precision as possible. Take your time and plan the dimensions in advance. Unwrap your lightmap manually and set it to channel 2 (1 would usually be for your textures). You will notice that once you’ve imported and setup everything correctly, those seems will be gone and you should get better looking results. But again, it is always more effective to model the ceiling in its entirity and not have any unneeded edges in the first place.
