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"

Switch between different lightmaps

How to have a level with two different lighting conditions (different position of sun to emulate two different day time), and build lightmaps for both lighting conditions, and switch between them in the Editor to see the light effect and compare both them?

Product Version: Not Selected
more ▼

asked Feb 02 '15 at 09:53 AM in Rendering

avatar image

37 8 11 15

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

2 answers: sort voted first

Hey janherca -

In order to do this with static lighting you would have to have your level built (level A) with Morning lighting as a non-persistent level then duplicate the entire level and save as level B. In level B, add, remove or change lighting to reproduce the evening lighting. In your persistent level blueprint you can then set up a Blueprint load for each level independent and you can switch between the two levels.

I have attached a sample setup for this Streaming Process. The important thing is to rebuild lighting for each sub level with the other turned off and just acknowledge the warnings but continue to build.

Thank You

Eric Ketchum


more ▼

answered Feb 02 '15 at 04:29 PM

avatar image

Lovecraft_K ♦♦ STAFF
36.8k 702 260 736

avatar image Raziєl Feb 02 '15 at 04:46 PM

Skyrim Outdoors uses something like this. Its Clearly when the hour changes, the lightmaps changes too.

avatar image janherca Feb 06 '15 at 11:23 AM

I suppose that the copies of the levels do not sync, so if later I do changes in level A that changes are not done automatically in level B. So this could be a nightmare.

I am being aware that with Unreal Engine 4 we have two ways now: Static lighting for small open enviroments or for any close enviroment where light conditions do not change during time, or dynamic lighting in any other case (large open enviroments, changing conditions). And for this last one the current versions of GI arent very good and have some issues, so it is better to wait for a future release and in the meantime do not worry much about lighting matters.

Anyway, thanks a lot the info.

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

For anyone reading this 4.14 introduced the "Lighting Scenario" feature enabling you to stream in different light map bakes for the same level. https://answers.unrealengine.com/questions/512084/who-can-explain-of-lighting-scenario-feature.html

more ▼

answered Mar 31 '17 at 01:40 PM

avatar image

278 7 8 17

(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