12 lines
181 B
GLSL
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;
|
|
} |