Cross-fade
Last updated
Last updated
In LightAct, it is possible to achieve a cross-fade effect when jumping from one layer to another. This effect gradually fades out the content of one layer while simultaneously fading in the content of another layer.
For cross-fade to work as expected, both layers must render a texture to the same Canvas.
By default, the cross-fade transition is implemented using the Canvas' default Blending mode, however, you can choose other Blending modes, as well. To do this, go to Layer Layout window, and in the Render texture node, under the Blending collapsible, left-click on the Blend mode dropdown menu.
Good to know: For Cross-fade, it is best to use Normal blending mode.
Good to know: In Layer Templates we provide, you can quickly change the Blending mode by going to the Render variable group in the Properties window.
Each layer has a property called Cross-fade time. This property can be modified in the Properties window, once the desired Layer has been selected. The value we place in the Cross-fade time field will determine how long the content will be fading in or fading out before reaching full opacity or no opacity.
For cross-fade to work as expected, both layers must have the same Cross-fade time value.
Good to know: You can also determine a Default layer cross-fade time, that will be applied to all newly created layers in the project. This property can be found in the Preferences window, under the General tab.
To see the cross-fade effect, you have to jump with the Playhead from one layer to another, by either manual clicking or by using Markers.