#version 300 es
precision highp float;
in vec2 frag_texcoord;
in vec4 frag_color;
out vec4 final_color;

uniform sampler2D tex;

void main()
{
    vec4 c = texture(tex, frag_texcoord);
    final_color = c * frag_color;
}