From: Ash Tyndall Date: Fri, 21 Oct 2011 08:53:05 +0000 (+0800) Subject: (no commit message) X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=1992aae4aabfbde86e03b2ca57d2d1a5cc474243;p=atyndall%2Fcits2231.git --- diff --git a/scene.c b/scene.c index 171bb5a..17baeb0 100644 --- a/scene.c +++ b/scene.c @@ -408,7 +408,7 @@ void init() { glLightfv(GL_LIGHT0, GL_SPOT_DIRECTION, direction0); //glLightf(GL_LIGHT0, GL_SPOT_CUTOFF, 90.0); - glLighti(GL_LIGHT0, GL_SPOT_EXPONENT,1); + glLighti(GL_LIGHT0, GL_SPOT_EXPONENT,10); glLightfv(GL_LIGHT1, GL_AMBIENT, ambient1); glLightfv(GL_LIGHT1, GL_DIFFUSE, diffuse1); @@ -416,7 +416,7 @@ void init() { glLightfv(GL_LIGHT1, GL_SPOT_DIRECTION, direction1); //glLightf(GL_LIGHT1, GL_SPOT_CUTOFF, 90.0); - glLighti(GL_LIGHT1, GL_SPOT_EXPONENT,1); + glLighti(GL_LIGHT1, GL_SPOT_EXPONENT,10); glLightModelfv(GL_LIGHT_MODEL_AMBIENT, glightmodel); glLightModeli(GL_LIGHT_MODEL_COLOR_CONTROL, GL_SEPARATE_SPECULAR_COLOR);