1 2 3 4 5 6 7 8 9
#version 330 core in vec2 TexCoords; uniform sampler2D Texture; out vec4 FragColor; void main() { FragColor = texture(Texture, TexCoords); };