From: Ash Tyndall Date: Tue, 18 Oct 2011 12:41:08 +0000 (+0800) Subject: (no commit message) X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=25283b277b8404716b19fd41eb537568e7f9ef35;p=atyndall%2Fcits2231.git --- diff --git a/scene.c b/scene.c index 1bafde5..e3004ee 100644 --- a/scene.c +++ b/scene.c @@ -675,9 +675,9 @@ void init() { ); -GLfloat diffuse0[] = {1.0, 0.0, 0.0, 1.0}; -GLfloat ambient0[] = {1.0, 0.0, 0.0, 1.0}; -GLfloat specular0[] = {1.0, 0.0, 0.0, 1.0}; +GLfloat diffuse0[] = {1.0, 1.0, 1.0, 1.0}; +GLfloat ambient0[] = {1.0, 1.0, 1.0, 1.0}; +GLfloat specular0[] = {1.0, 1.0, 1.0, 1.0}; GLfloat light0_pos[] ={ 1.0, 2.0, 3,0, 1.0}; glEnable(GL_LIGHT0);