Add shader programs to be tracked

This commit is contained in:
jgk
2021-02-15 14:10:41 +01:00
parent 9f4497fb39
commit e8b4f8791b
8 changed files with 136 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
#version 430 core
out vec4 FragColor;
in vec4 gColor;
in vec2 gTex;
uniform sampler2D aTexture;
void main()
{
FragColor = texture(aTexture, gTex) * gColor;
// FragColor = texture(aTexture, vTexCoord);
// FragColor = gColor;
// FragColor = vec4 (1,1,1,1);
}