blob: cd26160ab6ee9a4e03b276a54ad70870f7db99ca (
plain)
1
2
3
4
5
6
7
8
9
10
|
shader_type canvas_item;
uniform float height = 2.0;
uniform float freq = 3.0;
uniform float speed = 5.0;
void vertex() {
VERTEX.y += height * sin((freq * UV.x) + speed * TIME);
}
|