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

out lowp vec2 pp;

out lowp vec2 tc;
out lowp float aspect;
out highp float phz;
out lowp float dpth;
out lowp float fdbk;
uniform highp float phase;
uniform lowp float depth;
uniform lowp float feedback;

#define TWOPI 6.2831853072

void main() {
	tc = TexCoord;
	aspect = dims.y / dims.x;
	phz = phase;
	fdbk = 2.0 + floor(feedback * 30.0);
	dpth = depth;
	pp = Position.xy;
	gl_Position = mvp * Position;
}
