Unity Products:Amplify Shader Editor/Divide
Divide Node
The Divide Node ( shortcut: D key ) does an arithmetic division where A is divided by B or ( A / B ). Dividing by zero will result in infinity which often translates to non intended results.
Division between multi-channel data types are done per-channel. If A and B have different channel amounts a cast is done to match the one with the most amount of channels.
Note: Division is not commutative so value's order is important.
Nodes used:
Texture Sample,
Divide
Node Parameter | Description | Default Value |
---|---|---|
A | The dividend, the value you want to divide. Only visible if the respective input port is not connected. | 0 |
B | The divisor, the value you want to be divided by. Only visible if the respective input port is not connected. | 0 |
Input Port | Description | Type |
---|---|---|
A | The dividend, the value you want to divide. | Float [1] |
B | The divisor, the value you want to be divided by. | Float [1] |
Math Operators - Subtract/Divide |