1 2 3 4 5 6 7 8 9 10 11 12
#version 150 in vec2 v_uv; out vec4 frag_color; uniform sampler2D u_texture; void main() { frag_color = texture(u_texture, v_uv); }