uniform mat4 mvp;
uniform lowp vec4 color;
uniform lowp vec2 dims;
in vec4 Position;
in vec2 TexCoord;

out lowp vec4 colorV;
out lowp vec2 tc;
out lowp float aspect;
out highp float phz;
out lowp float dpth;
uniform highp float phase;
uniform lowp float depth;
uniform lowp float feedback;
uniform lowp float mixAmt;
out lowp float mx;

#define TWOPI 6.2831853072

void main() {
	tc = TexCoord;
	aspect = dims.y / dims.x;
	phz = phase;
	dpth = depth;
	mx = mixAmt;

	colorV = vec4(0.4f, TexCoord.x, 0.7 + 0.3 * sin(phase) * depth, 0.4);

	gl_Position = mvp * Position;

}
