#version 300 es
precision mediump float;
precision highp int;

uniform highp sampler2D tex;

out highp vec4 FragColor;
in highp vec4 fragmentColor;
in highp vec2 texCoord;

void main()
{
    FragColor = vec4(fragmentColor.xyz, texture(tex, texCoord).x * fragmentColor.w);
}

