Dawn/assets/shaders/test.frag

12 lines
164 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;
}