.. _net.sf.openfx.AddPlugin: Add node ======== .. raw:: html |pluginIcon|  *This documentation is for version 2.0 of Add (net.sf.openfx.AddPlugin).* Description ----------- Add a constant to the selected channels. See also: https://web.archive.org/web/20220627013304/http://www.opticalenquiry.com/nuke/index.php?title=Add Inputs ------ +--------+-------------+----------+ | Input | Description | Optional | +========+=============+==========+ | Source |   | No | +--------+-------------+----------+ | Mask |   | Yes | +--------+-------------+----------+ Controls -------- .. tabularcolumns:: |>{\raggedright}p{0.2\columnwidth}|>{\raggedright}p{0.06\columnwidth}|>{\raggedright}p{0.07\columnwidth}|p{0.63\columnwidth}| .. cssclass:: longtable +------------------------------+---------+---------------------+------------------------------------------------------------------------------------------------------------------------------------+ | Parameter / script name | Type | Default | Function | +==============================+=========+=====================+====================================================================================================================================+ | Value / ``value`` | Color | r: 0 g: 0 b: 0 a: 0 | Constant to add to the selected channels. | +------------------------------+---------+---------------------+------------------------------------------------------------------------------------------------------------------------------------+ | (Un)premult / ``premult`` | Boolean | Off | Divide the image by the alpha channel before processing, and re-multiply it afterwards. Use if the input images are premultiplied. | +------------------------------+---------+---------------------+------------------------------------------------------------------------------------------------------------------------------------+ | Invert Mask / ``maskInvert`` | Boolean | Off | When checked, the effect is fully applied where the mask is 0. | +------------------------------+---------+---------------------+------------------------------------------------------------------------------------------------------------------------------------+ | Mix / ``mix`` | Double | 1 | Mix factor between the original and the transformed image. | +------------------------------+---------+---------------------+------------------------------------------------------------------------------------------------------------------------------------+ .. |pluginIcon| image:: net.sf.openfx.AddPlugin.png :width: 10.0%