audio-vis/shaders/wave2d.vert
2020-08-07 19:31:30 +02:00

12 lines
181 B
GLSL

#version 300 es
in vec3 a_position;
uniform mat4 u_matrix;
out vec4 pos;
void main() {
pos = u_matrix * vec4(a_position, 1);
pos.y = pos.y * 0.6;
gl_Position = pos;
}