# Day/Night cycle Shadow issues

**URL:** <https://forums.unrealengine.com/t/day-night-cycle-shadow-issues/304675>\
**Category:** Rendering\
**Tags:** shadow, light, unreal-engine, Landscape, question\
**Created:** [January 22, 2015, 10:26am UTC](https://forums.unrealengine.com/t/day-night-cycle-shadow-issues/304675 "2015-01-22T10:26:46Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Tim\_Hobson](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tim\_Hobson](https://forums.unrealengine.com/u/Tim_Hobson)\
**Post date:** [January 22, 2015, 8:57pm UTC](https://forums.unrealengine.com/t/day-night-cycle-shadow-issues/304675/2 "2015-01-22T20:57:15Z")

</div>

Hi Yannoch,

Essentially what is happening is the light is not being turned off when it it is below the landscape surface. This would need to be driven via Blueprints to let the directional light know that once it’s below a specific line it will need to be turned off and turned back on when above that line. This is why objects are illuminated below the landscape like that.

Luckily there is an awesome tutorial on our Wiki by Gregdumb that explains exactly how to set this up and use it.

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

Even more so, I’ve set up this project myself and made it available on my forum thread for all the mini projects I use or do while helping people on the AnswerHub which you can grab here:

> **[\[TUTORIALS\] Photons Be Free: Mini-tutorials and other curiosities](https://forums.unrealengine.com/showthread.php?56777-Photons-Be-Free-Mini-tutorials-and-other-curiosities&p=209224&viewfull=1#post209224)**
>
> Hello Everyone! I’ve been wanting to do this for sometime and just now getting around to organizing and getting some mini projects and things together. Instead of just posting a bunch of random threads with a bunch of scattered bits of information...

If you have any questions or need help please let me know. 🙂

Tim

---

_[View the full topic](https://forums.unrealengine.com/t/day-night-cycle-shadow-issues/304675)._
