Add FPS counter.
[mandelwow.git] / shaded.vert
index 65bc65dd42bcf323c61d84cff526b10d772086cc..887d94c826671469bedbef540d5ce336143773d9 100644 (file)
@@ -5,13 +5,11 @@ in vec3 position;
 in vec3 normal;
 out vec4 color;
 
-uniform mat4 perspective;
-uniform mat4 view;
 uniform mat4 model;
+uniform mat4 perspview;
 
 void main() {
-    mat4 modelview = view * model;
-    mat4 m = perspective * modelview;
+    mat4 m = perspview * model;
     vec3 dark = vec3(0.0, 0.0, 0.1);
     vec3 bright = vec3(0.0, 0.0, 0.9);
     vec3 u_light = vec3(-0.5, -0.7, -0.6);