Vuo supports these ISF-specific uniforms:
Uniform | Description |
---|---|
vec2 RENDERSIZE
|
The size of the output image, in pixels. For Image
Generators, the width
and height input
ports correspond to the RENDERSIZE
uniform value. For Image Filters, the size of the
input image
corresponds to the RENDERSIZE
uniform value.
|
float TIME
|
The time since the composition started, in seconds.
The time (lowercase)
input port determines the TIME
(uppercase) uniform value.
|
float TIMEDELTA
| The time since the previous frame was rendered, in seconds. For the first frame, this is 0. |
vec2 isf_FragNormCoord
| The normalized coordinates of the pixel that the fragment shader is currently executing on. |
vec4 DATE
| The current date and time: year, month, day, and seconds since midnight. |
int FRAMEINDEX
| 0 for the 1st frame, 1 for the 2nd frame, 2 for the 3rd frame, and so on. |