Files
openglplayground/shaders/textured.fs

12 lines
140 B
GLSL

#version 330 core
uniform sampler2D texBase;
in vec2 fragTC;
out vec4 color;
void main(void) {
color = texture(texBase, fragTC);
}