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