digging/assets/shaders/crt/vert.glsl

15 lines
216 B
Text
Raw Normal View History

2021-03-02 09:55:27 +00:00
#version 330 core
uniform mat3 matrix;
in vec2 position;
in vec2 tex_coords;
out lowp vec2 v_tex_coords;
void main() {
gl_Position = vec4(matrix * vec3(position, 1.0), 1.0);
v_tex_coords = tex_coords;
}