view data/shaders/projector.vs @ 0:785057719d9b

Import.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 05 Aug 2013 12:25:43 +0300
parents
children
line wrap: on
line source


uniform float time;
/* Vertex shader */
void main(void)
{
	vec4 v = vec4(gl_Vertex);
	v.z *= cos(time*0.1)*3.0;
	v.x *= sin(time*0.1)*3.0;
	v.y *= cos(time*0.1)*3.0;
	gl_Position = gl_ModelViewProjectionMatrix * v;
}