From: curt Date: Tue, 20 Oct 1998 18:28:30 +0000 (+0000) Subject: Tweaked sunset/sunrise colors. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e2d428d8bafd5f668aed0ce3d74d348412cf312c;p=simgear.git Tweaked sunset/sunrise colors. --- diff --git a/Astro/sky.cxx b/Astro/sky.cxx index 4e562d21..83001c85 100644 --- a/Astro/sky.cxx +++ b/Astro/sky.cxx @@ -125,12 +125,13 @@ void fgSkyColorsInit( void ) { if ( (sun_angle > 80.0) && (sun_angle < 100.0) ) { // 0.0 - 0.4 - outer_param[0] = (10.0 - fabs(90.0 - sun_angle)) / 25.0; - outer_param[1] = (10.0 - fabs(90.0 - sun_angle)) / 35.0; - outer_param[2] = 0.0; + outer_param[0] = (10.0 - fabs(90.0 - sun_angle)) / 20.0; + outer_param[1] = (10.0 - fabs(90.0 - sun_angle)) / 40.0; + outer_param[2] = -(10.0 - fabs(90.0 - sun_angle)) / 30.0; + // outer_param[2] = 0.0; - middle_param[0] = (10.0 - fabs(90.0 - sun_angle)) / 20.0; - middle_param[1] = (10.0 - fabs(90.0 - sun_angle)) / 40.0; + middle_param[0] = (10.0 - fabs(90.0 - sun_angle)) / 40.0; + middle_param[1] = (10.0 - fabs(90.0 - sun_angle)) / 80.0; middle_param[2] = 0.0; outer_diff[0] = outer_param[0] / 6.0; @@ -364,6 +365,9 @@ void fgSkyRender( void ) { // $Log$ +// Revision 1.13 1998/10/20 18:28:30 curt +// Tweaked sunset/sunrise colors. +// // Revision 1.12 1998/10/16 23:27:18 curt // C++-ifying. //