A pile of gross hacks, but works in a browser so it's all justified.
[mandelwow.git] / solid.vert
1 #version 100
2 attribute vec3 position;
3 uniform mat4 perspective;
4 uniform mat4 view;
5 uniform mat4 model;
6
7 void main() {
8     mat4 modelview = view * model;
9     gl_Position = perspective * modelview * vec4(position, 1.0);
10 }