Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Day Night cycle - Darker Nights?

So I've integrated a simple day and night cycle which works fantastically. My only question is how does one go about adjusting the brightness values at night? Its really far too bright and I'd like to make it darker at night. Otherwise its perfect.

Product Version: Not Selected
more ▼

asked Feb 18 '15 at 09:28 AM in Rendering

avatar image

1.2k 88 116 146

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

There are a few things you can adjust. One would be the postprocess settings, either on a postprocess volume or on a camera:

alt text

If you have an ambient cubemap, you can turn down its intensity to reduce some ambient brightness.

And you can also adjust the exposure bias to change how bright the overall image from the tonemapper will be (you can also adjust the min and max brightness as well, if you're using manual values for those).

You might also need to adjust the environment color and intensity, in the world settings. You can access this by clicking on the big Settings dropdown button in the editor and choosing World Settings:

alt text

You'll probably want to make the environment color darker and/or turn the environment intensity down. (These settings are used by lightmass when building the lighting environment).

nightstuff1.png (23.5 kB)
nightstuff2.png (54.8 kB)
more ▼

answered Feb 18 '15 at 10:01 AM

avatar image

2.4k 101 72 124

avatar image TorQueMoD Feb 18 '15 at 10:42 AM

Can you adjust the environment color and ambient cubemap in realtime via blueprints? This is for a dynamic day and night cycle so its not something I'd want to set to a permanent value. I never thought to use a post process though, that's a good idea.

avatar image cancel Feb 18 '15 at 10:48 AM

Yes, you can. And even easier than that -- you can just set up different 2 different postprocess volumes, one for day and night. Check only the options you want to override from your base postprocess volume. Then, you can control the Blend Weight parameter for each of the day/night postprocess volumes via Blueprints based on the time of day.

Also, if you found the answer helpful, mark it as answered so people searching for day/night in the future can find it (and reduce the number of people asking the same question twice).

avatar image TorQueMoD Feb 18 '15 at 11:00 AM

Thanks for the answer that's a great idea! How do you set up the blend weight parameter though?

avatar image cancel Feb 18 '15 at 11:17 AM

Make them both unbounded, and then give one higher priority than the other -- for example, make the priority of the 'night' postprocess volume have a priority of 3, and the 'day' postprocess volume have a priority of 4. Set the Blend Weight of the night postprocess to 1.0 and leave it there. Then, set the Blend Weight of the day postprocess to 1.0 when it's noon, and towards 0.0 the farther away from noon the current time us.

Edit: hmm, that's weird. Does replying to an answer that was marked as answered remove the answered status from it?

avatar image TorQueMoD Feb 18 '15 at 07:32 PM

Apparently it does. Thanks again Cancel!

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question