Neverputt: use directional light (like Neverball does)
authorparasti <parasti@78b8d119-cf0a-0410-b17c-f493084dd1d7>
Fri, 14 Jan 2011 22:49:13 +0000 (22:49 +0000)
committerparasti <parasti@78b8d119-cf0a-0410-b17c-f493084dd1d7>
Fri, 14 Jan 2011 22:49:13 +0000 (22:49 +0000)
git-svn-id: https://s.snth.net/svn/neverball/trunk@3434 78b8d119-cf0a-0410-b17c-f493084dd1d7

putt/game.c

index 897f134..44d1537 100644 (file)
@@ -309,7 +309,7 @@ void game_draw(int pose, float t)
     static const float e[4] = { 0.0f, 0.0f, 0.0f, 0.0f };
     static const float h[1] = { 0.0f };
 
-    const float light_p[4] = { 8.f, 32.f, 8.f, 1.f };
+    const float light_p[4] = { 8.f, 32.f, 8.f, 0.f };
 
     const struct s_file *fp = &file;