# Trying to understand how UE handles light through objects

**URL:** <https://forums.unrealengine.com/t/trying-to-understand-how-ue-handles-light-through-objects/2158619>\
**Category:** Rendering\
**Tags:** unreal-engine, question\
**Created:** [November 29, 2024, 8:07pm UTC](https://forums.unrealengine.com/t/trying-to-understand-how-ue-handles-light-through-objects/2158619 "2024-11-29T20:07:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![EarthHobbit](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@EarthHobbit](https://forums.unrealengine.com/u/EarthHobbit)\
**Post date:** [November 29, 2024, 8:07pm UTC](https://forums.unrealengine.com/t/trying-to-understand-how-ue-handles-light-through-objects/2158619/1 "2024-11-29T20:07:20Z")

</div>

Hi - I am struggling to have proper lighting in my game and try to understand how UE handles light inside and outside rooms.  
The following picture is built in a basic UE 5.5 scene ([project](https://www.dropbox.com/scl/fo/732z6ak297w3smetnj68p/AD-l9JlPGQs28fCxYPvjBlk?rlkey=qbxa9bqlygpibl5uwso8qhbyz&dl=0)), with a single directional light and a Post-process volume having a fixed auto exposure (min/max=2.0).  
How come inside the above cube (2-sided shadows, 2-sided material), the light passes through walls, but the below room (made of scaled cubes), the light doesn’t pass through ?

 ![Screenshot 2024-11-29 at 9.02.51 PM](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/8/7/387ad6ff9047602c5ba121c6536525639babb0dd.jpeg)

Thanks.

---

<div class="post-metadata">

**Author:** ![theblackbeard420](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/theblackbeard420/32/583836_2.png) [@theblackbeard420](https://forums.unrealengine.com/u/theblackbeard420)\
**Post date:** [November 30, 2024, 4:17am UTC](https://forums.unrealengine.com/t/trying-to-understand-how-ue-handles-light-through-objects/2158619/2 "2024-11-30T04:17:22Z")

</div>

The above cube with very thin walls sometimes seems to let light bleed through depending on the global illumination setting your using.

In my experience best way is to use thicker walls and overlap the joints a little to prevent light bleed through. I haven’t had any issues using a wider wall vs using a single plane (like inside your cube) as the wall.

The problem likely revolves around how global illumination is handled as it seems worse with lumen vs screen space or none

---

<div class="post-metadata">

**Author:** ![EarthHobbit](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@EarthHobbit](https://forums.unrealengine.com/u/EarthHobbit)\
**Post date:** [November 30, 2024, 7:59am UTC](https://forums.unrealengine.com/t/trying-to-understand-how-ue-handles-light-through-objects/2158619/3 "2024-11-30T07:59:30Z")

</div>

Thank you. However sorry for the stupid question, but how to thicken the walls of a standard cube in UE ?

---

<div class="post-metadata">

**Author:** ![Dejan33](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/dejan33/32/1194514_2.png) [@Dejan33](https://forums.unrealengine.com/u/Dejan33)\
**Post date:** [November 30, 2024, 10:05am UTC](https://forums.unrealengine.com/t/trying-to-understand-how-ue-handles-light-through-objects/2158619/4 "2024-11-30T10:05:10Z")

</div>

Modeling tool. Create 2 boxes. Place them in same position. Scale one of them to get desired thickness. Select both cubes, Model - Boolean tool - operation - choose difference (A-B or B-A).
