X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=blobdiff_plain;f=globals.c;h=a12130da459ffeb75c5a1616a25df02728c1c0ef;hp=869612576331d3a62abf0ea3eae88493c8640610;hb=9515ba70d6904846bdc10e16c3f4e1f63ae83016;hpb=fb808e1506bd1d012c6b40ec00a5836e659504f8;ds=sidebyside diff --git a/globals.c b/globals.c index 8696125..a12130d 100644 --- a/globals.c +++ b/globals.c @@ -60,9 +60,9 @@ GLfloat factor = 1.0; GLfloat lineLength = 10; /* Light 0 parameters */ -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, 0.0, 0.0, 0.1}; +GLfloat ambient0[]={1.0, 0.0, 0.0, 0.1}; +GLfloat specular0[]={1.0, 0.0, 0.0, 0.1}; GLfloat direction0[] = {0.0, 0.0, 0.0}; GLfloat lightPosition0[4]; @@ -82,7 +82,7 @@ float lightAngle1 = 360.0, lightHeight1 = 5; int lightMoving1 = 0, lightStartX1, lightStartY1; /* Material types */ -GLfloat ambient[] = {0.5, 0.5, 0.5, 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;