#version 330 uniform vec4 uColor; uniform sampler2D texture_id; in vec2 vUV; out vec4 fragment; void main() { vec4 tex_color = texture(texture_id, vUV); fragment = uColor * tex_color; }