
uniform vec4 u_blendcolor;

uniform float frequency;
uniform float amplitude;
uniform float time;
uniform float speed;

varying float y;

void main()
{
	vec4 color = u_blendcolor;
	color.rgb = color.rgb*(1.0-amplitude) + sin(y*frequency+time*speed)*amplitude;

	gl_FragColor = color;
} 
