charcoal/shaders/TextFS.glsl
2022-08-01 19:07:37 -05:00

13 lines
196 B
GLSL

#version 430
in vec2 fragment_uv;
out vec4 frag_color;
layout(location = 4) uniform sampler2D tex;
void main()
{
vec4 sampled = texture(tex, fragment_uv);
frag_color = sampled;
}