mroglic
5/9/2017 - 11:43 PM

#animate #glsl #flag #sin

#animate #glsl #flag #sin

float4 animate(float4 vertex, float2 uv) {
	vertex.y = vertex.y + sin((uv.x + _Time.y * _Speed) * _Frequency) * (_Amplitude * uv.x);
	return vertex;
}