Mercurial > hg > forks > bilotrip-mj12
view data/shaders/projector.vs @ 36:bef14a3387a1
Add missing files.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 05 Aug 2013 20:53:49 +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; }