From: Andy Spencer Date: Wed, 9 Sep 2009 03:59:46 +0000 (+0000) Subject: Making the sky (glClearColor) bluer X-Git-Tag: gis-v0.1^0 X-Git-Url: http://pileus.org/git/?p=aweather;a=commitdiff_plain;h=f15efca945b02f33f342f8437053bc7838bc6fc6 Making the sky (glClearColor) bluer --- diff --git a/src/gis/gis-opengl.c b/src/gis/gis-opengl.c index 4b8a1d8..78491b8 100644 --- a/src/gis/gis-opengl.c +++ b/src/gis/gis-opengl.c @@ -281,7 +281,7 @@ static void set_visuals(GisOpenGL *self) gis_view_get_location(self->view, &lat, &lon, &elev); gdouble rg = MAX(0, 1-(elev/20000)); gdouble blue = MAX(0, 1-(elev/50000)); - glClearColor(MIN(0.8,rg), MIN(0.8,rg), MIN(1,blue), 1.0f); + glClearColor(MIN(0.65,rg), MIN(0.65,rg), MIN(1,blue), 1.0f); glDisable(GL_ALPHA_TEST);