Mercurial > hg > forks > bilotrip-mj12
view data/shaders/projector.vs @ 62:301805d68a97 default tip
Clean up better.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 06 Jan 2015 04:33:07 +0200 |
parents | 785057719d9b |
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; }