(no commit message)
authorAsh Tyndall <[email protected]>
Fri, 21 Oct 2011 08:52:47 +0000 (16:52 +0800)
committerAsh Tyndall <[email protected]>
Fri, 21 Oct 2011 08:52:47 +0000 (16:52 +0800)
scene.c

diff --git a/scene.c b/scene.c
index 07824dd..171bb5a 100644 (file)
--- a/scene.c
+++ b/scene.c
@@ -408,7 +408,7 @@ void init() {
   glLightfv(GL_LIGHT0, GL_SPOT_DIRECTION, direction0);\r
 \r
   //glLightf(GL_LIGHT0, GL_SPOT_CUTOFF, 90.0);\r
-  //glLighti(GL_LIGHT0, GL_SPOT_EXPONENT,100);\r
+  glLighti(GL_LIGHT0, GL_SPOT_EXPONENT,1);\r
 \r
   glLightfv(GL_LIGHT1, GL_AMBIENT, ambient1);\r
   glLightfv(GL_LIGHT1, GL_DIFFUSE, diffuse1);\r
@@ -416,7 +416,7 @@ void init() {
   glLightfv(GL_LIGHT1, GL_SPOT_DIRECTION, direction1);\r
 \r
   //glLightf(GL_LIGHT1, GL_SPOT_CUTOFF, 90.0);\r
-  //glLighti(GL_LIGHT1, GL_SPOT_EXPONENT,100);\r
+  glLighti(GL_LIGHT1, GL_SPOT_EXPONENT,1);\r
 \r
   glLightModelfv(GL_LIGHT_MODEL_AMBIENT, glightmodel);\r
   glLightModeli(GL_LIGHT_MODEL_COLOR_CONTROL, GL_SEPARATE_SPECULAR_COLOR);\r

UCC git Repository :: git.ucc.asn.au