# How can I build lighting with a blueprint node?

**URL:** <https://forums.unrealengine.com/t/how-can-i-build-lighting-with-a-blueprint-node/417813>\
**Category:** Rendering\
**Tags:** light, build, light-build, unreal-engine, Lighting, Blueprint, question\
**Created:** [February 20, 2018, 5:39am UTC](https://forums.unrealengine.com/t/how-can-i-build-lighting-with-a-blueprint-node/417813 "2018-02-20T05:39:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anna\_Jean](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Anna\_Jean](https://forums.unrealengine.com/u/Anna_Jean)\
**Post date:** [February 20, 2018, 5:39am UTC](https://forums.unrealengine.com/t/how-can-i-build-lighting-with-a-blueprint-node/417813/1 "2018-02-20T05:39:36Z")

</div>

I want my character to trigger an event that changes the time of day by changing the direction of the sun (ie the game begins at twilight, and when the event is triggered, I want it to become night by rotating the directional light that is the sun.) The problem is, for the sky color to be changed, the light has to be built. How could I build the lighting mid-game with blueprints?

---

<div class="post-metadata">

**Author:** ![redbox](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@redbox](https://forums.unrealengine.com/u/redbox)\
**Post date:** [February 20, 2018, 5:43am UTC](https://forums.unrealengine.com/t/how-can-i-build-lighting-with-a-blueprint-node/417813/2 "2018-02-20T05:43:55Z")

</div>

to use dynamic lightning you should setup dynamic environment, so change your sky material to reflect light changes immediately.

---

<div class="post-metadata">

**Author:** ![Anna\_Jean](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Anna\_Jean](https://forums.unrealengine.com/u/Anna_Jean)\
**Post date:** [February 20, 2018, 5:50am UTC](https://forums.unrealengine.com/t/how-can-i-build-lighting-with-a-blueprint-node/417813/3 "2018-02-20T05:50:35Z")

</div>

Sorry, I’m super new to unreal. How would I go about setting up a dynamic environment? If that’s really complicated to explain, could you direct me to some documentation? I couldn’t find an answer from my initial google search.

---

<div class="post-metadata">

**Author:** ![redbox](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@redbox](https://forums.unrealengine.com/u/redbox)\
**Post date:** [February 20, 2018, 7:32am UTC](https://forums.unrealengine.com/t/how-can-i-build-lighting-with-a-blueprint-node/417813/4 "2018-02-20T07:32:37Z")

</div>

> **[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 — ue4community.wiki! You will be able to find content from the official...

> **[How do I make an adjustable day/night cycle?](https://forums.unrealengine.com/questions/72186/day-night-cycle-1.html)**
>
> Hi, I want to have a Day Night Cycle with Sunrises & Sunsets in my game. I don't want the time going by super fast, can I set a time limit in seconds for how long it's day and how long it's night? So like it's day for 600 Seconds and it's night...

[https://forums.unrealengine.com/development-discussion/blueprint-visual-scripting/1344-working-basic-day-night-cycle-w-updating-sun?1237-Working-Basic-Day-Night-Cycle-w-Updating-sun=](https://forums.unrealengine.com/development-discussion/blueprint-visual-scripting/1344-working-basic-day-night-cycle-w-updating-sun?1237-Working-Basic-Day-Night-Cycle-w-Updating-sun=)

---

<div class="post-metadata">

**Author:** ![Anna\_Jean](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Anna\_Jean](https://forums.unrealengine.com/u/Anna_Jean)\
**Post date:** [February 20, 2018, 7:37am UTC](https://forums.unrealengine.com/t/how-can-i-build-lighting-with-a-blueprint-node/417813/5 "2018-02-20T07:37:07Z")

</div>

Thank you!
