mirror of
https://github.com/quantum5/punyverse.git
synced 2025-08-02 04:08:17 -04:00
14 lines
179 B
GLSL
14 lines
179 B
GLSL
#version 130
|
|
|
|
in vec2 a_position;
|
|
in float a_u;
|
|
|
|
out float v_u;
|
|
|
|
uniform mat4 u_mvpMatrix;
|
|
|
|
void main() {
|
|
gl_Position = u_mvpMatrix * vec4(a_position, 0, 1);
|
|
v_u = a_u;
|
|
}
|