Added Texture

This commit is contained in:
grayson committed 2021-08-27 17:41:45 -05:00
1 parent 4f1ea8327a
commit 933d3f1fe9
13 files changed
+84 -18

No files matched your search

@@ -2,8 +2,10 @@
out vec4 color;
uniform sampler2D tex;
in vec2 texCoord;
void main() {
color = vec4(1.0, 0.0, 1.0, 1.0);
color = texture(tex, texCoord);
}