#version 330 in vec4 vertex_color; in vec2 texture_coord; out vec4 color; uniform sampler2D tex; void main() { color = texture(tex, texture_coord); }