added morphing to the cow
[demo] / gl_shaders / default.v.glsl
index 2876699..455759d 100644 (file)
@@ -9,7 +9,7 @@ varying vec3 normal;
 varying vec3 ldir;
 varying vec2 tex_coord;
 
-const vec3 lpos = vec3(50.0, 50.0, -200.0);
+const vec3 lpos = vec3(-10.0, 100.0, 10.0);
 
 /* attributes */
 layout(location = 1) in vec3 attr_pos;
@@ -26,4 +26,4 @@ void main()
        mat3 normal_matrix = mat3(mview);
        normal = normal_matrix * attr_normal;
        tex_coord = attr_tex;
-}
+}
\ No newline at end of file