Mercurial > hg > forks > bilotrip-mj12
view data/shaders/projector.vs @ 55:0b9b6739796b
Added tag good64bit for changeset 7fd43d272c93
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 06 Aug 2013 16:21:06 +0300 |
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; }