Multiply Vector: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Updated descriptions and added example images. |
||
| Line 1: | Line 1: | ||
<div style="float:right; border-style:solid; padding:20px"><categorytree mode=pages hideroot=off>Multiply</categorytree></div> | |||
[[File:MultiplyVector_00_GUI.png|none|470px|Multiply Vector]] | |||
< | |||
== Overview == | |||
The Multiply family of nodes allow you to multiply the colour/scalar/vector coming into the Input by the color/scalar/vector coming into Input 2. The multiplication is component-wise, for example with a colour : | |||
<ul> | |||
* Input.red multiplied by Input 2.red | |||
* Input.green multiplied by Input 2.green | |||
* Input.blue multiplied by Input 2.blue | |||
</ul> | |||
[[File: MultiplyColour 02 Chart.JPG|none|800px|A comparison of the Multiply family of node’s output to that of the Main Input, as the value of Input 2 is changed.]] | |||
A natural use of the Multiply Vector node would be to provide a way to scale a feature when a scale-type parameter is not available. For example, the Sin Scalar node has only a Main Input. In the example below, by inserting a Multiply Vector node between it and the Get Position in Texture node, the scale of the Sin can be adjusted. | |||
<ul> | |||
{| | |||
|- | |||
| [[File:MultiplyVector_01_SinWave.jpg|none|800px|The function node assigned to Input 2 of the Multiply Vector node can be used to scale the features of a terrain.]] | |||
|- | |||
|[[File:MultiplyVector_02_NodeNetwork.jpg|none|800px|The function node assigned to Input 2 of the Multiply Vector node can be used to scale the features of a terrain.]] | |||
|} | |||
</ul> | |||
'''Settings:''' | |||
*'''Name:''' This setting allows you to apply a descriptive name to the node, which can be helpful when using multiple Multiply Vector nodes in a project. | |||
*'''Enable:''' When checked, the node is active and the multiplication operation will take place. When unchecked the values assigned to its Main Input, if any, are passed through, otherwise a value of 0 is passed through. | |||
*'''Input 2:''' The component values from the shader or function nodes assigned to this setting are multiplied with those from the Main Input. When nothing is assigned, the Main Input values, if any, are passed through. If the Main Input is unassigned, the output from the node is 0. | |||
<br /n> | |||
[[Category:Multiply]] | [[Category:Multiply]] | ||
Latest revision as of 20:56, 28 February 2022

Overview
The Multiply family of nodes allow you to multiply the colour/scalar/vector coming into the Input by the color/scalar/vector coming into Input 2. The multiplication is component-wise, for example with a colour :
- Input.red multiplied by Input 2.red
- Input.green multiplied by Input 2.green
- Input.blue multiplied by Input 2.blue
A natural use of the Multiply Vector node would be to provide a way to scale a feature when a scale-type parameter is not available. For example, the Sin Scalar node has only a Main Input. In the example below, by inserting a Multiply Vector node between it and the Get Position in Texture node, the scale of the Sin can be adjusted.
Settings:
- Name: This setting allows you to apply a descriptive name to the node, which can be helpful when using multiple Multiply Vector nodes in a project.
- Enable: When checked, the node is active and the multiplication operation will take place. When unchecked the values assigned to its Main Input, if any, are passed through, otherwise a value of 0 is passed through.
- Input 2: The component values from the shader or function nodes assigned to this setting are multiplied with those from the Main Input. When nothing is assigned, the Main Input values, if any, are passed through. If the Main Input is unassigned, the output from the node is 0.

