When applying a vertex shader to a button (e.g. just create a default Button
with text), the shader seems to move the letters instead of the pixels. Here is an example that shows what I mean:
void vertex() {
float offset_x = cos(TIME)*10.0 + UV.x * 100.0 * cos(TIME);
float offset_y = sin(TIME)*10.0 + UV.y * 100.0 * sin(TIME);
VERTEX += vec2(offset_x, offset_y);
}
Instead of swirling the whole button, this moves the letters individually. How do I change the shader or the button to make the pixels move rather than the letters?