# How do I make a specific area dark?

**URL:** <https://forums.unrealengine.com/t/how-do-i-make-a-specific-area-dark/526097>\
**Category:** Rendering\
**Tags:** unreal-engine, lighting-problem, question, UE4-27\
**Created:** [April 12, 2022, 5:02pm UTC](https://forums.unrealengine.com/t/how-do-i-make-a-specific-area-dark/526097 "2022-04-12T17:02:52Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sd00044](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sd00044](https://forums.unrealengine.com/u/Sd00044)\
**Post date:** [April 12, 2022, 5:02pm UTC](https://forums.unrealengine.com/t/how-do-i-make-a-specific-area-dark/526097/1 "2022-04-12T17:02:52Z")

</div>

I made a snowy level consisting of rocks and mountains and made in one of the areas of the level a small cave or a small room inside a mountain, but the problem is that this area which was supposed to be dark it remained lit just like the outside area, The sunlight enters the entire room as if there are no walls. How can I make this small room dark and the sunlight only enters through the door? I searched a lot and couldn’t find a solution to this problem other than some complicated suggestions that didn’t work

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [April 12, 2022, 5:33pm UTC](https://forums.unrealengine.com/t/how-do-i-make-a-specific-area-dark/526097/2 "2022-04-12T17:33:09Z")

</div>

Use a moveable skylight and reduce it’s intensity.

---

<div class="post-metadata">

**Author:** ![Sd00044](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sd00044](https://forums.unrealengine.com/u/Sd00044)\
**Post date:** [April 12, 2022, 10:55pm UTC](https://forums.unrealengine.com/t/how-do-i-make-a-specific-area-dark/526097/3 "2022-04-12T22:55:44Z")

</div>

It didn’t work, it affects the whole level not just the place I want it to be dark

---

<div class="post-metadata">

**Author:** ![Roy\_Wierer.Seda145](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/roy_wierer.seda145/32/906551_2.png) [@Roy\_Wierer.Seda145](https://forums.unrealengine.com/u/Roy_Wierer.Seda145)\
**Post date:** [April 12, 2022, 11:49pm UTC](https://forums.unrealengine.com/t/how-do-i-make-a-specific-area-dark/526097/4 "2022-04-12T23:49:43Z")

</div>

Thing is, some light types are global and will light indoor areas. I’m following this question.

---

<div class="post-metadata">

**Author:** ![jwatte](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jwatte/32/744941_2.png) [@jwatte](https://forums.unrealengine.com/u/jwatte)\
**Post date:** [April 13, 2022, 1:06am UTC](https://forums.unrealengine.com/t/how-do-i-make-a-specific-area-dark/526097/5 "2022-04-13T01:06:53Z")

</div>

The problem is likely that either your skylight or sunlight don’t have “cast shadows” turned on, OR the roof of the cave does not cast a shadow. A roof can fail to cast a shadow if either it’s only turned inwards (single-sided triangles) with no separate outwards layer, OR if the mesh/asset in question is not marked as casting shadows.

If fixing those options doesn’t make it work for you, you’ll want to post a screen shot of the editor, somewhat zoomed out, showing the mouth/roof/innards of the cave, and the properties of that object opened in the property inspector, so someone else can perhaps figure out what’s going on.

---

<div class="post-metadata">

**Author:** ![Sd00044](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sd00044](https://forums.unrealengine.com/u/Sd00044)\
**Post date:** [April 13, 2022, 4:30am UTC](https://forums.unrealengine.com/t/how-do-i-make-a-specific-area-dark/526097/6 "2022-04-13T04:30:27Z")

</div>

cast shadows options is turned on by default, and I’m using megascans assets for the walls but I tried to surround it with external walls but this did not reduce the percentage of light entering the cave at all, it remained the same as if nothing changed

---

<div class="post-metadata">

**Author:** ![Sd00044](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sd00044](https://forums.unrealengine.com/u/Sd00044)\
**Post date:** [April 13, 2022, 9:50am UTC](https://forums.unrealengine.com/t/how-do-i-make-a-specific-area-dark/526097/7 "2022-04-13T09:50:31Z")

</div>

Problem solved, I followed a tutorial that has nothing to do with this issue specifically but in the end it solved it

---

<div class="post-metadata">

**Author:** ![Mousevirus](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mousevirus](https://forums.unrealengine.com/u/Mousevirus)\
**Post date:** [September 4, 2022, 8:46am UTC](https://forums.unrealengine.com/t/how-do-i-make-a-specific-area-dark/526097/8 "2022-09-04T08:46:48Z")

</div>

Can you please share how did you solve the problem?

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [September 4, 2022, 9:07am UTC](https://forums.unrealengine.com/t/how-do-i-make-a-specific-area-dark/526097/9 "2022-09-04T09:07:47Z")

</div>

Yes, nice of them to share, not… 😉

You could put a localized post process around the area

I can desaturate part of the level with this

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/3/e/c3e2869f1e9289127d275a6585eb0f4d5c54af49.png)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/9/f/b9f1229ed7dffa7bb7e03e2323e6bbb4e56908df.jpeg)

---

<div class="post-metadata">

**Author:** ![Mousevirus](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mousevirus](https://forums.unrealengine.com/u/Mousevirus)\
**Post date:** [September 4, 2022, 9:20am UTC](https://forums.unrealengine.com/t/how-do-i-make-a-specific-area-dark/526097/10 "2022-09-04T09:20:59Z")

</div>

Yes i tried, but i did`t like the result. When i enter the cave it is light, but when leave the cave the world is dark

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [September 4, 2022, 9:21am UTC](https://forums.unrealengine.com/t/how-do-i-make-a-specific-area-dark/526097/11 "2022-09-04T09:21:42Z")

</div>

Can you elaborate, not quite sure what you mean.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [September 4, 2022, 9:25am UTC](https://forums.unrealengine.com/t/how-do-i-make-a-specific-area-dark/526097/12 "2022-09-04T09:25:24Z")

</div>

If a cave is not dark enough, there are two main areas to focus on

1. Make sure no light is leaking in

2. Turn off auto exposure in the cave

---

<div class="post-metadata">

**Author:** ![Mousevirus](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mousevirus](https://forums.unrealengine.com/u/Mousevirus)\
**Post date:** [September 4, 2022, 9:27am UTC](https://forums.unrealengine.com/t/how-do-i-make-a-specific-area-dark/526097/13 "2022-09-04T09:27:12Z")

</div>

I have an open world, i`m using dynamic direction light and the whole world is always illuminated(buildings, cave and so on). I need to made dark areas in caves.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [September 4, 2022, 9:28am UTC](https://forums.unrealengine.com/t/how-do-i-make-a-specific-area-dark/526097/14 "2022-09-04T09:28:25Z")

</div>

It should automatically be dark in the cave, if you turn off auto exposure.

---

<div class="post-metadata">

**Author:** ![Mousevirus](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mousevirus](https://forums.unrealengine.com/u/Mousevirus)\
**Post date:** [September 4, 2022, 9:30am UTC](https://forums.unrealengine.com/t/how-do-i-make-a-specific-area-dark/526097/15 "2022-09-04T09:30:55Z")

</div>

do i need to turn it off in post processing?

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [September 4, 2022, 9:39am UTC](https://forums.unrealengine.com/t/how-do-i-make-a-specific-area-dark/526097/16 "2022-09-04T09:39:43Z")

</div>

Yes. You can just put a normal PP volume in the cave with AE turned off ( or down ).

Watch out though, UE5 doesn’t work properly in this area yet.

At the moment, the only way you can get AE PP to affect the player seems to be, do it on the player camera.

---

<div class="post-metadata">

**Author:** ![Mousevirus](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mousevirus](https://forums.unrealengine.com/u/Mousevirus)\
**Post date:** [September 4, 2022, 11:07am UTC](https://forums.unrealengine.com/t/how-do-i-make-a-specific-area-dark/526097/17 "2022-09-04T11:07:13Z")

</div>

It doesn`t work, i wrote about it before, PP volume works only when you`re in it

 ![2022-09-04_13-59-05](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/5/f/45f7413d595b75caade14efd54b522775b09c1b8.jpeg)

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [September 4, 2022, 11:26am UTC](https://forums.unrealengine.com/t/how-do-i-make-a-specific-area-dark/526097/18 "2022-09-04T11:26:06Z")

</div>

If you want it to look dark from the outside, then you need what I outlined above, which does work

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/9/4/29419ec7cafe9812fe77e073397b45ec1699f9e5.jpeg)

---

<div class="post-metadata">

**Author:** ![ORTyOW](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ortyow/32/1169712_2.png) [@ORTyOW](https://forums.unrealengine.com/u/ORTyOW)\
**Post date:** [January 26, 2023, 4:08am UTC](https://forums.unrealengine.com/t/how-do-i-make-a-specific-area-dark/526097/19 "2023-01-26T04:08:50Z")

</div>

it’s a shame for you for not sharing the solution

---

<div class="post-metadata">

**Author:** ![abhijeetsparadis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@abhijeetsparadis](https://forums.unrealengine.com/u/abhijeetsparadis)\
**Post date:** [June 30, 2023, 3:32pm UTC](https://forums.unrealengine.com/t/how-do-i-make-a-specific-area-dark/526097/21 "2023-06-30T15:32:01Z")

</div>

Maybe set scalability from low to medium that worked for me😁

[Next page](https://forums.unrealengine.com/t/how-do-i-make-a-specific-area-dark/526097.md?page=2)
