]> git.mxchange.org Git - flightgear.git/commitdiff
Use a seperate path for sgi and PC hardware for cloud colouring for now. I'm still...
authorehofman <ehofman>
Thu, 1 May 2003 09:11:37 +0000 (09:11 +0000)
committerehofman <ehofman>
Thu, 1 May 2003 09:11:37 +0000 (09:11 +0000)
src/Time/light.cxx

index 360287c6e8733b382b64e52b3a9213a83dcce4e4..ee253a7e0dde82c463e2db5b50cae167a0858ad5 100644 (file)
@@ -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;