Unity Products:Amplify Shader Editor/Cos Time
Cos Time Node
The Cos Time node outputs an animated cosine wave with values varying between -1 and 1 using Unity internal time in seconds as its angle.
Nodes used:
Color,
Cos Time,
Float,
Scale And Offset,
Lerp
Output Port | Description | Type |
---|---|---|
Output | Returns the original animated cosine vector as given by Unity. | Float4 |
t/8 | Returns the animated cosine value scaled by a factor of 0.125 (8x slower). | Float |
t/4 | Returns the animated cosine value scaled by a factor of 0.25 (4x slower). | Float |
t/2 | Returns the animated cosine value scaled by a factor of 0.5 (2x slower). | Float |
t | Returns the unscaled animated cosine value. | Float |