Alfa por cima¶

The Alpha Over node is used to layer an image on top of another with alpha blending.
Inputs¶
- Fator
The alpha of the foreground image, going from 0 (fully transparent) to 1 (fully opaque).
- Imagem
A imagem em plano de fundo.
- Imagem
The foreground image.
Propriedades¶
- Converter pré-multiplicadas
The Alpha Over node expects the foreground image to use Premultiplied Alpha. If it uses Straight Alpha instead, you can enable this checkbox to convert it.
- Premultiplied
Interpolate between Premultiplied Alpha and Straight Alpha.
When set to 1, the foreground color values will be multiplied by the alpha; this is equivalent to enabling Convert Premultiplied. When set to 0, the color values do not change.
If Premultiplied is not zero, Convert Premultiplied will be ignored.
Nota
This is a legacy option.
Saídas¶
- Imagem
The blended result.
Examples¶
Sobreposição¶
In the node tree below, the Color Ramp Node is used to convert an opaque, grayscale swirl image to a red one with transparency. Then, the Alpha Over node is used to overlay it on top of another image.

Assembling a composite image using Alpha Over.¶
Fade In¶
The example below uses the Time Curve Node to gradually increase the Alpha Over node’s Factor from 0 to 1 over the course of 30 frames. This will result in the text fading in on top of the background image.

Animated fade in effect using Alpha Over.¶