Dawn/assets/shaders/test.frag

13 lines
199 B
GLSL

#version 330 core
in vec2 TexCoord;
uniform sampler2D u_Text;
out vec4 FragColor;
void main() {
vec4 color = texture(u_Text, TexCoord);
FragColor = color;
// FragColor = vec4(1, 1, 1, 1);
}