Add Multiplied Vector

Overview
The Add Multiplied family of nodes will multiply the Main Input with Input 2 and add that result with the Main Input.
Mathematically it looks like this:
-
(Main Input * Input 2) + Main Input
When the incoming data is not vector data, the node first converts the data to vectors as follows:
-
For colour data, the node converts the data to vectors based on the component's luminance values. The math for this is: 0.2125 * r + 0.7152 *g + 0.0724 * b.
For scalar data, each component of the vector is simply set to the value of the scalar.
In the example images below, a proxy box labeled Add Multiplied Vector Output is used for illustration to see the numerical output values.
In the following example, the source data is vector. Note that values can exceed 1.0.
When the source data is not vector data, it is first converted into vector data, as described above. Note that displacement data is ignored.
If a shader or function nodes are not connected to Input 2, the Main Input passes through to the Output.
If a shader or function nodes are not connected to the Main Input, nothing passes through the node.
All nodes in this family have just one setting, which lets you assign a shader or function nodes to Input 2.
Settings:
- Name: This setting allows you to apply a descriptive name to the node, which can be helpful when using multiple Add Multiplied Vector nodes in a project.
- Enable: When checked, the node is active and the Main Input value is first multiplied by Input 2 value, and the result is added to the Main Input value. When unchecked, only the Main Input value is passed through the node.
- Input 2: The values from the shader or function nodes assigned to this setting are multiplied with the values of the Main Input. The result of that is added to the Main Input value.
Fun With Add Multiply Vector
The Add Multiplied Vector node can be used to exaggerate the high or low values from the Main Input.
In this example, the displacement of the mound increases as the value of the Constant Vector is raised. Note how the values in the Add multiplied vector preview window are brighter than those of the Transform input shader preview window.
In the example below, the steepness of a river gorge or canyon can be controlled by increasing the value of the Constant Vector.
In this example, an EXR image containing vector displacement data of a crater is modified by the Add multiplied vector node to increase the intensity of the displacement to the terrain surface.