From: Ash Tyndall Date: Tue, 18 Oct 2011 07:09:25 +0000 (+0800) Subject: (no commit message) X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=0400887e2592bc89a03ed29b105cb3c5f26e02ac;p=atyndall%2Fcits2231.git --- diff --git a/scene.c b/scene.c index d709f6b..736d5e6 100644 --- a/scene.c +++ b/scene.c @@ -597,12 +597,12 @@ void init() { glTranslatef( 0.0f, 0.0f, -600.0f); // Move into the Screen 10.0 - glLightModeli(GL_LIGHT_MODEL_LOCAL_VIEWER, 1); + /*glLightModeli(GL_LIGHT_MODEL_LOCAL_VIEWER, 1); glLightfv(GL_LIGHT0, GL_DIFFUSE, lightColor); glLightf(GL_LIGHT0, GL_CONSTANT_ATTENUATION, 0.1); glLightf(GL_LIGHT0, GL_LINEAR_ATTENUATION, 0.05); glEnable(GL_LIGHT0); - glEnable(GL_LIGHTING); + glEnable(GL_LIGHTING);*/ } /**