Cross-fade
Last updated
Was this helpful?
Last updated
Was this helpful?
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.
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.
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.