12 lines
197 B
GLSL
12 lines
197 B
GLSL
|
#version 140
|
||
|
|
||
|
in vec2 position;
|
||
|
in vec2 tex_coords;
|
||
|
out vec2 v_tex_coords;
|
||
|
|
||
|
uniform mat4 matrix;
|
||
|
|
||
|
void main() {
|
||
|
v_tex_coords = tex_coords;
|
||
|
gl_Position = matrix * vec4(position, 0.0, 1.0);
|
||
|
}
|