Unity Products:Amplify Shader Editor/FWidth: Difference between revisions
Jump to navigation
Jump to search
ampwiki>Amplify RnD Rick No edit summary |
AmplifyWiki (talk | contribs) m (1 revision imported) |
(No difference)
|
Latest revision as of 00:06, 2 December 2023
FWidth Node
The Fwith node outputs the absolute value of the partial derivatives of the specified Input value or, in case of vectors, each component value of the input vector. In other words it sums the absolute values of its partial derivatives of the Input value both in horizontal and vertical window space abs(ddx(Input)) + abs(ddy(Input)).
Nodes used:
Vertex TexCoord,
Length,
Float,
FWidth,
Subtract,
Smoothstep
Node Parameter | Description | Default Value |
---|---|---|
Input | Value to be used in the FWidth operation from which the variation will be calculated. Only visible if the respective input port is not connected. | 0 |
Input Port | Description | Type |
---|---|---|
Input | Value to be used in the FWidth operation from which the variation will be calculated. | Float [1] |