2D Sunshafts

Updated on December 30, 2018 in Unity
Share on Facebook0Tweet about this on TwitterShare on Google+0Share on Reddit0
1 on December 29, 2018

Hi,

I have my sunshafts intensity linked to when the light is facing the terrain or away (Day/Night)… When it turns night the sunshafts slowly fade out with the intensity (I have sped it up in the video). However, about 9 seconds into the video, when the scene turns into day the sunshafts pop straight back in but before it turns day.

Just wondering if anyone knew how to make it slowly fade in with the suns intensity.

Hope this makes sense but any help would be grateful!

Problem (video):

https://youtu.be/n1h7hW1NsFU

Sun/Sunshafts Intensity script:

 

https://pastebin.com/xafwgc3Y

 

Thanks,

 

Dean

 

 

  • Liked by
Reply
0 on December 30, 2018

Bump

  • Liked by
Reply
Cancel