Track new shaders

This commit is contained in:
2021-03-05 20:24:49 +01:00
parent bd16ad2a2a
commit 37822c3ad2
6 changed files with 126 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);
}