Unity Products:Amplify Shader Editor/Divide: Difference between revisions
Jump to navigation
Jump to search
ampwiki>Amplify Borba No edit summary |
AmplifyWiki (talk | contribs) m (1 revision imported) |
(No difference)
|
Latest revision as of 00:06, 2 December 2023
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 |