Commits

Cliff Biffle  committed f7fe6c7

Changed the light falloff so the room doesn't look so dark.

  • Participants
  • Parent commits 0c2057e

Comments (0)

Files changed (1)

File KVDepthView.m

   glFrontFace(GL_CCW);
   glShadeModel(GL_SMOOTH);
   
-  glLightf(GL_LIGHT0, GL_QUADRATIC_ATTENUATION, 0.05F);
+  glLightf(GL_LIGHT0, GL_QUADRATIC_ATTENUATION, 0.01F);
   
   GLfloat ambientColor[4] = { 0, 0, 0, 1 };
   glLightfv(GL_LIGHT0, GL_AMBIENT, ambientColor);