MMult

Function
Multiplies the color channels by the matte.

Used to make an image premultiplied. Shake expects all images to be premultilplied when compositing with the Over node, which is usually automatic with 3D rendered images but not for scanned images. Also, use this when you are color correcting a 3D rendered image. Place a MDiv, then your color corrections, then your MMult when you go into an Over operation. You can choose to not insert a MMult node, and instead turn on preMultiply in the Over node itself.

For more information, jump to Overview - Premultiplication

Parameters
Type
Defaults
Function
ignoreZero
int
0

Tells Shake to ignore pixels with an alpha value of 0.

0 = Multiplies entire image.
1 = Ignore zero-value pixels.

Synopsis

image MMult( image, int ignoreZero);

Script

image = MMult( image, ignoreZero);

Command Line

shake -mmult ignorezero

See Also
MDiv, IDiv, IMult