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"

Lighting Setup for Persistent Level with Sub-Levels for VR using Forward Render

Hi guys, I'm looking for a bit of advice on how to setup my lighting and reflections across my map that works well with VR and the forward renderer. I currently have a stationary directional light with a skybox on the persistent level along with my animated assets. Then each sub-level has it's own bunch of static point and spot lights, it's own lighting importance volume and reflection captures. However, I'm unsure how to build this as before my skylight would refuse to build, it would calculate the skylight radiosity which took about 4 hours, and then hit less than 1% before it read in the output log LIGHTS FAILED TO BUILD with no error or warning and swarm would stop. Which made me believe it could be to do with any of my lights on sub-level, lighting importance volume, reflection captures, atmospheric fog or exponential height fog. I initially bypassed this problem by building the lights on each sub-level and changing the directional light to moveable, which allowed me to cook and deploy a build, but severely brought my frames down. But when I tried the packaged out game I had somehow created a thunderstorm lighting effect where the directional light would flicker on and off, after attempting many other methods nothing changed this. Does anyone have any experience in this area that could advise me a method of setting up my lights so it works with the forward renderer and doesn't drop my frames? Thanks!

Product Version: UE 4.18
more ▼

asked May 30 '18 at 02:34 PM in VR

avatar image

33 5 8 11

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

1 answer: sort voted first

one option I see here - build each level with persistent separately. so,

  1. make persistent level visible

  2. make 1st streaming level visible

  3. build

  4. save 1st streaming level and hide it

  5. make 2nd streaming level visible

  6. build

  7. save 2nd streaming level and hide it ...

  8. when all streaming levels done - build only persistent level and save.

hope it would be useful.

more ▼

answered May 30 '18 at 07:14 PM

avatar image

4.3k 81 19 104

avatar image domridley_affari May 31 '18 at 08:01 AM

Thats perfect thanks! Should I leave the point and spot lights on the sub-levels or move them to the persistent level? Also does it matter what level the reflection captures and lightmass importance volumes are on?

avatar image redbox May 31 '18 at 08:54 AM

lights and reflections must stay on their levels. on persistent level you should leave only directional light

avatar image domridley_affari May 31 '18 at 09:00 AM

Awesome! I'll do just that, I'll post back on here and let you know the results. Should Lightmass Importance Volumes be on persistent too?

avatar image redbox Jun 06 '18 at 06:23 PM

sorry, I missed that.

you can move everything to sublevels, instead of sun directional light

avatar image domridley_affari Jun 08 '18 at 11:45 AM

Hi, so i've spent the last few days optimizing my project and I've just got onto building lights today. When you say have 1 sublevel open at a time, build and save I end up with mapbuild data for my persistent level. Surely if I keep saving over it I will loose the lighting data of the previous level as no sub-level is receiving any lighting data. Would this have anything to do with lighting scenarios? Sorry for a lot of questions, I just want to get this right

avatar image redbox Jun 09 '18 at 04:28 AM

you shouldn't have anything that requires lightning data in persistent level. only directional light, player start, maybe some triggers and thats all. so persistent level doesnt requires to save any lightmaps, only sub levels will contain them.

so, once again - show only persistent level and 1 sublevel at time, build, and save sublevel only. when finished with all sublevels - show only persistent, build and save.

(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