Unity Products:Amplify Shader Editor/Gradient Sample

From Amplify Creations Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Gradient Sample Node

The Gradient Sample Node samples a color given by a Gradient node on a given Time.


Nodes used: Gradient, Texture Coordinates, Gradient Sample


Input Port Description Type
Value Gradient object to be sampled. Object
Time Point in time to sample gradient. Float
Output Port Description Type
RGBA Returns the full RGBA color of the sampled gradient. Float4
R Returns only the R component of the color value which corresponds to the X component of a Vector4 Float
G Returns only the G component of the color value which corresponds to the Y component of a Vector4 Float
B Returns only the B component of the color value which corresponds to the Z component of a Vector4 Float
A Returns only the A component of the color value which corresponds to the W component of a Vector4 Float

Back to Node List