From: Ash Tyndall Date: Thu, 20 Oct 2011 13:00:28 +0000 (+0800) Subject: (no commit message) X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=33984a24a94f3f04b1b4fc2d6037a55e0ee91962;p=atyndall%2Fcits2231.git --- diff --git a/scene.c b/scene.c index ce9ed45..34a18e4 100644 --- a/scene.c +++ b/scene.c @@ -364,7 +364,7 @@ void init() { glLoadIdentity(); // **NOTE: Needs tidy - +glEnable(GL_NORMALIZE); glLightfv(GL_LIGHT0, GL_POSITION, light0_pos); glLightfv(GL_LIGHT0, GL_AMBIENT, ambient0); glLightfv(GL_LIGHT0, GL_DIFFUSE, diffuse0);