# Why doesn't Sun Brightness get set properly?

**URL:** <https://forums.unrealengine.com/t/why-doesnt-sun-brightness-get-set-properly/372800>\
**Category:** Blueprint\
**Tags:** sky-sphere, unreal-engine, UE4, Blueprint, question\
**Created:** [October 8, 2016, 12:36pm UTC](https://forums.unrealengine.com/t/why-doesnt-sun-brightness-get-set-properly/372800 "2016-10-08T12:36:21Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vpzneox](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vpzneox](https://forums.unrealengine.com/u/Vpzneox)\
**Post date:** [October 8, 2016, 12:36pm UTC](https://forums.unrealengine.com/t/why-doesnt-sun-brightness-get-set-properly/372800/1 "2016-10-08T12:36:21Z")

</div>

Hi, appologies straight away, if this is in the wrong section ( this is my First question in Here) . Just started learning Blueprint programming from tutorials.  
Basically, I made a simple landscape on a new map, with skysphere - at the moment, I made a simple Blueprint, shown below:

 ![110123-blueprint++for+sunbrightness.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/a/6/6a675845e35408a5d6c933961d5bc8010a03a550.png)

IsFPressed is a boolean, that toggles, when Button F is Pressed/ Released.  
SunShine is just a float I made, that would change by 1.25, and the Sun Brightness should read off it.  
As you can see , I made the EventTick constantly “update” the skysphere’s Sun Brightness based on SunShine var, but when I run the simulation , pressing F does nothing- the sun doesn’t become bigger/ brighter, like it should, when I do it via details tab in level editor.  
Any ideas?

---

<div class="post-metadata">

**Author:** ![Vpzneox](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vpzneox](https://forums.unrealengine.com/u/Vpzneox)\
**Post date:** [October 8, 2016, 10:05pm UTC](https://forums.unrealengine.com/t/why-doesnt-sun-brightness-get-set-properly/372800/2 "2016-10-08T22:05:18Z")

</div>

Hi, thanks for reply, but this simulation showed, that Numbers for Sun Brightness DO Change (when I choose he skysphere during simulation, in Details tab), it’s just the actual ingame brightness that doesn’t seem to update?! not sure why

---

<div class="post-metadata">

**Author:** ![iKeepBelieving](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@iKeepBelieving](https://forums.unrealengine.com/u/iKeepBelieving)\
**Post date:** [October 11, 2016, 10:25pm UTC](https://forums.unrealengine.com/t/why-doesnt-sun-brightness-get-set-properly/372800/3 "2016-10-11T22:25:42Z")

</div>

In BP\_SkySphere it changes Brightness inside construction script only and not inside UpdateSunDirection. You need to fire something like this i believe.

 ![110456-updatematerial.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/6/b/36bccf081b3cd199670ea33a227ad5bb2d667aa6.png)

---

<div class="post-metadata">

**Author:** ![Vpzneox](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vpzneox](https://forums.unrealengine.com/u/Vpzneox)\
**Post date:** [October 12, 2016, 11:45am UTC](https://forums.unrealengine.com/t/why-doesnt-sun-brightness-get-set-properly/372800/4 "2016-10-12T11:45:58Z")

</div>

Hi, again, thanks for the Reply  
Where exactly do I include that node? (which BP)  
Also, I’m not sure I got BP\_Good\_Sky\_Sphere anywhere 0\_o

---

<div class="post-metadata">

**Author:** ![iKeepBelieving](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@iKeepBelieving](https://forums.unrealengine.com/u/iKeepBelieving)\
**Post date:** [October 12, 2016, 1:06pm UTC](https://forums.unrealengine.com/t/why-doesnt-sun-brightness-get-set-properly/372800/5 "2016-10-12T13:06:05Z")

</div>

Works for me

 ![110531-works.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/5/7/b57e579321481e9ecc2d210dd287766368a63ace.png)

---

<div class="post-metadata">

**Author:** ![iKeepBelieving](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@iKeepBelieving](https://forums.unrealengine.com/u/iKeepBelieving)\
**Post date:** [October 18, 2016, 2:27pm UTC](https://forums.unrealengine.com/t/why-doesnt-sun-brightness-get-set-properly/372800/6 "2016-10-18T14:27:39Z")

</div>

Please don’t forget to mark my answer as accepted if i was able to help you)

---

<div class="post-metadata">

**Author:** ![Vpzneox](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vpzneox](https://forums.unrealengine.com/u/Vpzneox)\
**Post date:** [October 18, 2016, 10:23pm UTC](https://forums.unrealengine.com/t/why-doesnt-sun-brightness-get-set-properly/372800/7 "2016-10-18T22:23:44Z")

</div>

about That “BP\_” bit- I managed to find Just Sky\_Sphere (reference), but I couldn’t get it to work- it still doesnt get any brighter ((  
the Numbers DO Change for sun brightness- as before, but the simulation doesnt show it for some reason - as if it needs to be Updated or Something.
