12 lines
185 B
GLSL
12 lines
185 B
GLSL
#version 300 es
|
|
|
|
in vec3 a_position;
|
|
uniform mat4 u_matrix;
|
|
uniform float u_fudgeFactor;
|
|
|
|
out vec4 pos;
|
|
|
|
void main() {
|
|
pos = u_matrix * vec4(a_position, 1);
|
|
gl_Position = pos;
|
|
} |