Commit before fully removing uniforms other than the matrix

This commit is contained in:
2021-06-10 15:45:52 +02:00
parent aa30f6b969
commit 0a8370c7c6
9 changed files with 25 additions and 151 deletions
+2 -3
View File
@@ -2,10 +2,9 @@
in vec2 gTexPos;
out vec4 fColor;
uniform sampler2D aTexture;
void main()
{
// fColor = vec4 (1,1,0,1);
fColor = texture(aTexture, gTexPos);
fColor = vec4 (0.5,0.2,0,1);
// fColor = texture(aTexture, gTexPos);
}