# Dynamic Lighting Shines Through Landscape

**URL:** <https://forums.unrealengine.com/t/dynamic-lighting-shines-through-landscape/311574>\
**Category:** Rendering\
**Tags:** dynamic-lighting, unreal-engine, question\
**Created:** [March 18, 2015, 4:55pm UTC](https://forums.unrealengine.com/t/dynamic-lighting-shines-through-landscape/311574 "2015-03-18T16:55:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![BlueEagle](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BlueEagle](https://forums.unrealengine.com/u/BlueEagle)\
**Post date:** [March 18, 2015, 4:55pm UTC](https://forums.unrealengine.com/t/dynamic-lighting-shines-through-landscape/311574/1 "2015-03-18T16:55:31Z")

</div>

I am creating a day/night system for a project and I keep running into the same problem. I have created a landscape and have a dynamic light rotating around the landscape in the sky sphere. When it is daytime everything looks fine, but when the sun arcs underneath the landscape for nighttime the light shines through the landscape. I have tried to fix it for the last few days and I was unable to find a solution. I also looked around the Internet and no one seemed to be having the same problem.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6e7b421a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6e7b421a](https://forums.unrealengine.com/u/anonymous_user_6e7b421a)\
**Post date:** [March 18, 2015, 6:31pm UTC](https://forums.unrealengine.com/t/dynamic-lighting-shines-through-landscape/311574/2 "2015-03-18T18:31:00Z")

</div>

Hello BlueEagle,

We actually have a tutorial that shows you how to set up time of day via blueprints. There is a section within the tutorial that mentions what to do if your sun is showing through the ground. Take a look at the tutorial for your solution, but in short you need to disable the sun when it reaches a certain point below the horizon line.

**Time of Day Tutorial**

> **[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...

 ![34796-timeofdaytroubleshoot.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/5/3/f532de8e94b3fc0bf8c028efa81d82dbb2a6605b.png)

This was taken directly from the tutorial’s troubleshooting part.

Let me know if this tutorial helped you fix the issue, or if you need more assistance.

Cheers,

---

<div class="post-metadata">

**Author:** ![BlueEagle](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BlueEagle](https://forums.unrealengine.com/u/BlueEagle)\
**Post date:** [March 18, 2015, 11:17pm UTC](https://forums.unrealengine.com/t/dynamic-lighting-shines-through-landscape/311574/3 "2015-03-18T23:17:20Z")

</div>

That’s what I was looking for. Thank you.
