Using a Day/Night cycle, but the nights have a wierd light going on
So I was trying to use a day/night cycle on my project. Was simple enough to do, but I have some trouble with the lights on the night time. I did some searching and found out turning down ligthmass or changing environment color in world settings would help, and it did, but it makes everything too dark. So I tried to add a little bit of light (tried both a skylight and slightly lighter world settings) and here is the problem: When the sun goes down, it gets darker, but when the stars comes to sight, the whole level gets brighter, and when the sun comes up, it gets darker, and then turns to daytime.
What I want to have is a light setup that does not make it brighter in the night time, but I can't figure out how =/
Picture trying to show what I mean:
asked May 13 '15 at 12:56 AM in Rendering
I have a sample project here that may help as well: https://forums.unrealengine.com/showthread.php?56777-Photons-Be-Free-Mini-tutorials-and-other-curiosities&p=209224&viewfull=1#post209224
This is a day/night cycle based around Gregdumb's Wiki Tutorial.
I've extended it to use a skylight that fades in and out it's intensity when the sun is below/above the horizon line.
If you're using a skylight you will want to essentially set it's intensity to get the look you want during the night time. In my example I use a very low intensity for the night since I wanted to have it go nearly pitch black, but still have a little bit of light.
The World Settings > Lightmass > Environment color shouldn't have any effect on your dynamic day/night scene since these are specifically used for pre-computed (baked) lighting.
I hope this helps.
answered May 13 '15 at 03:17 PM
Tim Hobson ♦♦ STAFF
Follow this question
Once you sign in you will be able to subscribe for any updates here