Cross dissolving multiple cameras

Hi everyone, I wonder if anyone can help me with this.

I have a project that contains 5 different levels, each one of these levels (1-5) contains Geo, VFX and a Camera. I would like to render a cross dissolve from each level to the next (1 to 2, 2 to 3 and so on…).
Right now the idea I have is as follows:

  • Load stream level 1 and render from its camera (to a render target?)
    -After a set ammount of time, load stream level 2 and render from its camera too (to another render target?)
    -Lerp between both targets (thus creating a dissolve) for a few seconds and capture this output at runtime.
    -Unload level 1
    -After a set annount of time load stream level 3 and render from its cam to another rneder target?
    -Lerp again…
    … rinse and repeat

I am not sure how to start with this, does anyone have any pointers to help me? or a better idea on how to achieve this?

Thanks!

Should work fine. I would probably use a single render target with a post process material that dissolves the main camera view into the render target, once the dissolve is complete the main camera snaps to a camera in the same position as the render target and the capture is stopped, RT is cleared, then start the whole process over from the next camera/capture. But if you’re using lumen, this probably won’t be a seamless switch, but I’d still try it :person_shrugging:

The benefit of doing it this way is you only need to use one render target and you’ll only pay the performance cost of capturing the RT during the transition.

But unless this scene is completely static, it’s going to be extremely heavy on performance, no matter what you do so… maybe it isn’t worth bothering trying to optimize it like that.