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(画像)
Input for the background image.
- Image(画像)
Input for the foreground image.
Properties(プロパティ)
- Convert Premultiplied(プリマルチプライに変換)
Converts foreground image to Premultiplied Alpha format.
The Alpha Over node is designed to work with premultiplied alpha color format. Use this checkbox when you know that your image has Straight Alpha color values, to perform the correct over operation. Result will still be premultiplied alpha.
- Premultiply
Mix between using Premultiplied Alpha or Straight Alpha.
When set to 1, the foreground color values will be multiplied by alpha, i.e. premultiplied; this is equivalent to enabling Convert Premultiplied. When set to 0, color values does not change.
If Premultiply is not zero, Convert Premultiplied will be ignored.
注釈
これは古いオプションです。
出力
- 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 inputted in the Factor socket as shown below. Over the course of 30 frames, the Alpha Over node outputs an image that starts with the pure background image, and the title slowly appearing.
Note the Convert Premultiply checkbox is enabled, since as the foreground used a PNG image that has straight alpha.