#version 150

in vec4 vertColor;
in vec3 vertTexCoord;

out vec4 outFragColor;

uniform vec4 textureBlend;

uniform sampler2D tex2D;
uniform sampler2D tex2D2;

void main()
{
    outFragColor.rgba = mix(texture2D(tex2D, vertTexCoord.xy), texture2D(tex2D2, vertTexCoord.xy), textureBlend.x);
}