audio-vis/shaders/wave2d.vert

12 lines
185 B
GLSL
Raw Permalink Normal View History

2020-08-06 23:44:37 +02:00
#version 300 es
in vec3 a_position;
uniform mat4 u_matrix;
2020-08-08 21:58:15 +02:00
uniform float u_fudgeFactor;
2020-08-06 23:44:37 +02:00
out vec4 pos;
void main() {
pos = u_matrix * vec4(a_position, 1);
gl_Position = pos;
}