Added Texture
This commit is contained in:
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);
|
||||
}
|
||||
Reference in new issue
Block a user