Switch Alpha
compositing node
Replaces input 1’s alpha with input 2’s alpha.
See also: Channel Copy, Luma Matte
Switch Alpha simply copies the second input’s alpha into the first input’s alpha.
Parameters
|
Redo Premulitply |
If on, the image will first be divided by the original alpha, and then multiplied by the new alpha. |
|
Apply Premultiplies To |
Only redo the Premultiplication on these planes (normally color). |
Inputs
|
Image to Modify |
The destination image. |
|
Alpha Matte |
The alpha matte to place into the destination image’s alpha matte. |
Local variables
|
L |
Sequence length |
|
S |
Start of sequence |
|
E |
End of sequence |
|
IL |
Input sequence length |
|
SR |
Sequence frame rate |
|
NP |
Number of planes in sequence |
|
W,H |
Width and height of image |
|
I |
Image index (0 at start frame) |
|
IT |
Image time (0 at start frame) |
|
AI |
Current plane array index |
|
PI |
Current plane index |
|
PC |
Num of channels in current plane |
|
CXRES |
Composite Project X resolution |
|
CYRES |
Composite Project Y resolution |
|
CPIXA |
Composite Project pixel aspect ratio |
|
CDEPTH |
Composite Project raster depth |
|
CBP |
Composite Project black point |
|
CWP |
Composite Project white point |
Usages in other examples
| Example name | Example for |
|---|