Initial?? Commit

This commit is contained in:
Hazel Layne Aranda 2021-03-02 04:55:27 -05:00
commit 82adc16b97
Signed by: hazelra
GPG key ID: 09213F100E5E4E67
16 changed files with 2485 additions and 0 deletions

View file

@ -0,0 +1,12 @@
#version 330 core
precision lowp float;
in vec2 v_tex_coords;
uniform sampler2D texture;
out vec4 f_color;
void main() {
f_color = vec4(texture2D(texture, v_tex_coords).rgb, 1.0);
}

View file

@ -0,0 +1,13 @@
#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;
}