Is it possible for a blend to interpolate between images instead of position?

It appears as if all of cinemachine's current blend types involve physical interpolation of the camera between the original and destination VCAM. I currently have a lot of cinematic match cuts that I execute by making the change in a single frame, so the camera snaps to the matching shot. This works, but it's a bit jarring- does Cinemachine have any existing functionality through which it can interpolate from one camera image to the other over a certain number of frames?

I'm assuming this is a non-starter since CM's core functionality is based around moving a single camera in space, but it can't hurt to ask. :)

You mean a dissolve?

Yeah, exactly that. I'm guessing that CM doesn't support this, since by definition it would seem to require two actively rendering cameras.

You are right, you need 2 cameras. CM doesn't provide this functionality out of the box since, as you say, it's essence is to move a single camera around.

Of course you could always have 2 cameras, with CM brains, that you drive with CM vcams, but the dissolve part will still be up to you.

Oh! I take that back. You could do it like this:

Have a second camera (CM-controlled or not) rendering to a render texture. Then use that texture as input to a vcam with a Storyboard Extension. Check the "Mute Camera" checkbox on the Storyboard extension.


Now when you blend to that vcam, you get a nice dissolve! (sorry for the low color res on the gif, but you get the idea)



Oh man that is super slick, and considerably more performant than any of the workarounds I’d been considering- thank you! That does the trick perfectly :slight_smile:

1 Like

very slick, storyboard extension is called what in CM 2.5?

Really like this way of cross-fading between two cameras. I'm seeing something which I'm not sure is intentional though.

With the cross fade, the second camera's image fades in okay, but the first camera's image does not fade out. Could I be missing something in how Priority should be animated?

That’s right, the first image doesn’t fade out. The second image blends in by having its alpha move from 0 to 1. When it’s 1, it should completely hide the first image, which can then be deactivated. Is it possible that your second image has transparent pieces in it?

Yes, it does. I ended up creating two virtual cameras with Render Textures and blending between them. It works great! Thanks for the quick response.

This works nicely, however when the Render Texture is displayed in the Storyboard its on top of everything. I would like to retain information from higher depth cameras such as VFX and UI. Is there a way to achieve this?

We put our Storyboard on a canvas with default sort order (0). If you change the sort order on your UI to a bigger number (for example 1), then it will be drawn on top of the Storyboard. See the attached images (the chess board pattern is displayed with CinemachineStoryboard and the UI button is displayed over it).

This doc may also be useful:

6825626--793160--Screen Shot 2021-02-10 at 5.18.05 PM.png
6825626--793163--Screen Shot 2021-02-10 at 5.18.28 PM.png


Thanks for the quick reply! I can manage to get the UI on top like you showed by having a “Screen Space - Overlay” Canvas. However, I would like to be able to use “Screen Space - Camera” and also having another camera render on top with additional VFX. I’m guessing the Storyboard is put on a “Screen Space - Overlay” canvas? Is there a way to achieve this?

I basically want to avoid rendering the same effects on both cameras, so the idea was to have a top camera for the effects and 2 cameras below it.

Yes, that’s correct.

Changing the storyboard canvas to different render modes (e.g. screen space - camera) is not yet supported by our UI. But we noted the feature request :wink:

1 Like

Thank you! That would be very helpful and definitely offer more flexibility :slight_smile:

@gaborkb I have tested the new render mode for storyboards in the preview package for 2.8.0. It works very well :) however, it would be nice if it was possible to select which camera to use for the canvas as well, since it is not always desirable to use the main camera. For instance after cross fading between 2 cameras it would be nice to be able to disable the first camera (which can be the main camera) for performance reasons. Are there any plans for such a feature?

You can use multiple cameras with CM. You associate a vcam with a camera by using the layer culling mask in the Camera. The CMBrain will only see vcams that are on layers not filtered out by the culling mask.
See here:

1 Like