2021-05-13 16:34:19 +02:00

14 lines
167 B
GLSL

# version 330 core
layout (location = 0) out vec4 color;
in DATA {
vec2 tc;
} fs_in;
uniform sampler2D tex;
void main()
{
color = texture(tex, fs_in.tc);
}