]> git.mxchange.org Git - flightgear.git/commitdiff
Make the sky colour brighter, change the fog colour accordingly and add support for...
authorehofman <ehofman>
Mon, 5 May 2003 12:40:37 +0000 (12:40 +0000)
committerehofman <ehofman>
Mon, 5 May 2003 12:40:37 +0000 (12:40 +0000)
src/Time/light.cxx

index 3e103c252603dad3ef6ecd5404136135f34c81d1..3b57dce69417bfd579f024f0e5d3461d0486e972 100644 (file)
@@ -105,13 +105,13 @@ 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.24, 0.29, 0.41, 1.0 };
+#if defined (sgi) || defined( macintosh )
+    GLfloat base_sky_color[4] = { 0.252, 0.403, 0.657, 1.0 };
+#else // default
+    GLfloat base_sky_color[4] = { 0.336, 0.406, 0.574, 1.0 };
 #endif
     // base fog color
-    GLfloat base_fog_color[4] = { 0.65, 0.62, 0.70, 1.0 };
+    GLfloat base_fog_color[4] = { 0.90, 0.90, 1.00, 1.0 };
     double deg, ambient, diffuse, specular, sky_brightness;
 
     f = current_aircraft.fdm_state;