Alpha Over ノード¶
The Alpha Over node is used to layer images on top of one another. Where the foreground image pixels have an alpha greater than 0, it will be overlaid over the background image.
入力¶
- Factor
Controls the transparency of the foreground image. A factor less than 1 will make the foreground more transparent.
- Image
背景 イメージの入力です。
- Image
前景 イメージの入力です。
プロパティ¶
- Convert Premultiplied
前景イメージを Premultiplied Alpha 形式に変換します。
The Alpha Over node is designed to work with premultiplied alpha color format. Use Convert Premul when you know that your image has straight alpha color values, to perform the correct over operation. Result will still be premultiplied alpha.
Alpha Channel を参照してください。
- Premultiply
Premul スライダーにより、Premultiplied Alpha と Non Premultiplied Alpha を間を使用することができます。
1 に設定すると、前景色の値にアルファが乗算されます。これは、Convert Premul オプションを有効にすることと同じです。0 に設定すると、色の値は変更されません。
Premultiply が 0 でない場合、Convert Premul は無視されます。
注釈
これは古いオプションです。
出力¶
- Image
標準のイメージ出力です。
例¶
Overlay¶
In the node tree below, Color Ramp node is used to add an alpha channel to the black-and-white swirl image. Then Alpha Over node is used to overlay it on top of another image.
Fade In¶
In the next example, the Factor is used to make a "Fade In" effect. This effect can be animated by adding a Time node to feed the Factor socket as shown below. Over the course of 30 frames, the Alpha Over node outputs a image that starts with the pure background image, and the title slowly appearing.
前景に Straight Alpha を持つ PNG イメージを使用したため、Convert Premul チェックボックスを有効にしていることに注意してください。