Add background shaders

This commit is contained in:
2021-02-21 11:27:27 +01:00
parent 2c3d8d5b01
commit df0f07fbca
4 changed files with 49 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
#version 430 core
in vec2 gTexPos;
out vec4 fColor;
uniform sampler2D aTexture;
void main()
{
fColor = texture(aTexture, gTexPos);
}