Announcement

Collapse
No announcement yet.

Reflection capture - level streaming

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    Reflection capture - level streaming

    Hello good people , I have multiple levels streaming with each levels having their own reflection capture probes inside the level.While streaming the levels the reflection capture probes tend to mess up.

    I have a master level which is empty and just contains the levels which are being streamed , building the reflection capture probes while being in the main level doesn't help.

    I am streaming a dynamic light level (direction light is movable,skylight is stationary) which is being used to bake static lighting in the baked levels . It doesn't contain any reflection probes.

    The reflection work fine with one level ,problem arises at the addition of a secondary baked level.

    What is the proper way to work with sphere and box reflection captured probes while level streaming ?

    Looking for help ! Thanks .

    PS:-When the levels are viewed individually the reflections appear OK , the problem arises while streaming the levels.

    Break Down of the levels (All the levels are always loaded)
    * Persistent Level :- No Actors inside this level only the sub-levels
    * Level 1 :- Lighting Level with a stationary sky light and dynamic direction light (No reflection probes)
    * Level 2 :- Static Meshes with light baked through the lighting level (Lighting level is unloaded after baking light) Contains reflection capture probes
    * Level 3 :- Static Meshes with light baked through the lighting level (Lighting level is unloaded after baking light)Contains reflection capture probes

    I am building the lighting by going to these levels individually.Following Tim Hobsons Method of building lighting while level streaming,
    https://answers.unrealengine.com/que...ed-levels.html
    Step 1 :- Lvl 1 loaded
    Step 2 :- Lvl 2 loaded
    Step 3 :- Lvl 3 loaded (reflection problem arises)

    Steps done to solve the issue
    1)Tried building the probes while being in the persistent level
    2)Tried individually building probes inside the levels (reflections look fine inside the individual level)

    How it looks :- https://imgur.com/Zrw5dQl
    How it should look :- https://imgur.com/vyKrV2p
    Last edited by iyra; 08-31-2019, 04:01 AM.

    #2
    Reflections are part of the lighting system. To stream in and out baked lighting you need to use "lighting scenarios". They contain all baked lighting information for all visible levels at the time you bake. So for each configuration you would need one lighting scenario level. There can only be one scenario level active at any time (stream one in stream another one out).

    https://docs.unrealengine.com/en-US/...ios/index.html

    You don't need to have all lighting actors in those scenario levels. Only the ones that change. You can have lights and reflection captures in other levels, no problem as long as they are the same for both scenarios.
    www.s-dot.de/viz
    ArchViz User Interface :: UE4 Marketplace.

    Comment


      #3
      I believe Lighting scenarios won't work for me because I am working with multiple levels containing unique meshes with unique lights. I am not trying to replicate different lighting scenarios but using multiple levels with different lighting conditions for different assets .

      ​​​​​​

      Comment


        #4
        Hmmm.. I would think you just described exactly what a lighting scenario is meant to do. What is the goal? - You want to have similar scenes with a few different actors and a bit of different lighting?

        In a nutshell: You cannot update reflection probes in run time. So whatever they have stored when they were built will be what you see when you 'play the application.

        I'm not sure why you can't have just 2 levels and have the lighting actors in both of these levels. Then stream them in and out? Drop the lighting level. - Seems like you are over complicating things

        Or make both of your Level 2 and 3 a lighting scenario. Then you can stream them in and out. You can leave the 1st level with the skylight in as well because it wouldn't contain any lighting information.
        www.s-dot.de/viz
        ArchViz User Interface :: UE4 Marketplace.

        Comment


          #5
          the problem was with the number of reflection captures probes in a scene . Any way to use more than 341 reflection capture probes in a scene when you are level streaming ?

          Comment


            #6
            You may have to reduce the number of reflection actors. Have a look here:

            https://www.youtube.com/watch?v=AQ2jIgqLHPA

            www.s-dot.de/viz
            ArchViz User Interface :: UE4 Marketplace.

            Comment

            Working...
            X