Update to rust-rocket 0.7.2
[mandelwow.git] / shaders / mandelwow.vert
1 #version 300 es
2 precision lowp float;
3 uniform mat4 perspective;
4 uniform mat4 view;
5 uniform mat4 model;
6 uniform vec2 z0;
7 in vec3 position;
8 out vec2 c;
9 out vec2 z;
10
11 void main() {
12     mat4 modelview = view * model;
13     gl_Position = perspective * modelview * vec4(position, 1.0);
14     c = vec2(position.x, position.y);
15     z = vec2(z0.x, z0.y);
16 }