From: ehofman Date: Thu, 1 May 2003 09:11:37 +0000 (+0000) Subject: Use a seperate path for sgi and PC hardware for cloud colouring for now. I'm still... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e825649d72da79f23251b9c9a3cf762ed50409b8;p=flightgear.git Use a seperate path for sgi and PC hardware for cloud colouring for now. I'm still investigatng the problem --- diff --git a/src/Time/light.cxx b/src/Time/light.cxx index 360287c6e..ee253a7e0 100644 --- a/src/Time/light.cxx +++ b/src/Time/light.cxx @@ -105,7 +105,11 @@ void fgLIGHT::Update( void ) { // if the 4th field is 0.0, this specifies a direction ... GLfloat white[4] = { 1.0, 1.0, 1.0, 1.0 }; // base sky color +#if defined (sgi) GLfloat base_sky_color[4] = { 0.20, 0.32, 0.50, 1.0 }; +#else // PC + GLfloat base_sky_color[4] = { 0.38, 0.57, 0.82, 1.0 }; +#endif // base fog color GLfloat base_fog_color[4] = { 0.65, 0.62, 0.70, 1.0 }; double deg, ambient, diffuse, specular, sky_brightness;