From b43c5e3029d160c9e82f410dfbabbb32068fc57d Mon Sep 17 00:00:00 2001 From: Ash Tyndall Date: Fri, 21 Oct 2011 15:52:31 +0800 Subject: [PATCH] --- globals.c | 2 +- scene.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/globals.c b/globals.c index b220669..0124faf 100644 --- a/globals.c +++ b/globals.c @@ -82,7 +82,7 @@ float lightAngle1 = 360.0, lightHeight1 = 5; int lightMoving1 = 0, lightStartX1, lightStartY1; /* Material types */ -GLfloat ambient[] = {1.0, 1.0, 1.0, 1.0}; +GLfloat ambient[] = {0.2, 0.2, 0.2, 1.0}; GLfloat diffuse[] = {1.0, 0.8, 0.0, 1.0}; GLfloat specular[] = {1.0, 1.0, 1.0, 1.0}; GLfloat shine = 100.0; diff --git a/scene.c b/scene.c index 08e78d8..705c2d1 100644 --- a/scene.c +++ b/scene.c @@ -419,7 +419,7 @@ void init() { glMaterialf(GL_FRONT, GL_SHININESS, shine); glEnable(GL_LIGHT0); - //glEnable(GL_LIGHT1); + glEnable(GL_LIGHT1); glEnable(GL_LIGHTING); } -- 2.20.1