diff options
author | taw27 <taw27@bf6ca9ba-c028-0410-8290-897cf20841d1> | 2007-12-21 22:43:18 +0000 |
---|---|---|
committer | taw27 <taw27@bf6ca9ba-c028-0410-8290-897cf20841d1> | 2007-12-21 22:43:18 +0000 |
commit | 04e69a4136bdc5f947fd02033722b07c708baa7f (patch) | |
tree | 880d3c4f2069b1166b3aee19e53dce8d96b943f6 /src/glbits.c | |
parent | 2660887cf21229a888c5b1c02a6f07e653d1a55b (diff) |
Tweak lighting
git-svn-id: svn://cook.msm.cam.ac.uk:745/diff-tomo/dtr@236 bf6ca9ba-c028-0410-8290-897cf20841d1
Diffstat (limited to 'src/glbits.c')
-rw-r--r-- | src/glbits.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glbits.c b/src/glbits.c index 9a7fca5..21a062e 100644 --- a/src/glbits.c +++ b/src/glbits.c @@ -624,7 +624,7 @@ gint glbits_expose(GtkWidget *widget, GdkEventExpose *event, DisplayWindow *dw) GLfloat blue_spec[] = { 0.0, 0.0, 1.0, 1.0 }; GLfloat gold[] = { 0.5, 0.5, 0.0, 1.0 }; GLfloat gold_spec[] = { 0.9, 0.9, 0.0, 1.0 }; - GLfloat light0_position[] = { 100.0, 100.0, 100.0, 0.0 }; + GLfloat light0_position[] = { 0.1, 0.1, 1.0, 0.0 }; GLfloat light0_diffuse[] = { 0.8, 0.8, 0.8, 1.0 }; GLfloat light0_specular[] = { 0.8, 0.8, 0.8, 1.0 }; GLfloat bg_top[] = { 0.0, 0.2, 0.0, 1.0 }; |