#version 330 in vec2 f_texCoord; out vec4 fragColor; uniform sampler2D tex; void main(void) { fragColor = texture2D(tex, f_texCoord.xy); // fragColor = vec4(0.5, 0.7, 0.6, 1); }