#ifdef HAVE_CONFIG_H
-# include <config.h>
+# include <simgear_config.h>
#endif
#ifdef HAVE_WINDOWS_H
lower_ring_cl->add( color );
// force a repaint of the sky colors with ugly defaults
- sgVec3 fog_color;
- sgSetVec3( fog_color, 1.0, 1.0, 1.0 );
+ sgVec4 fog_color;
+ sgSetVec4( fog_color, 1.0, 1.0, 1.0, 1.0 );
repaint( color, fog_color, 0.0, 5000.0 );
// build the ssg scene graph sub tree for the sky and connected
diff = sky_color[j] - fog_color[j];
center_color[j] = sky_color[j] - diff * ( 1.0 - vis_factor );
}
+ center_color[3] = 1.0;
for ( i = 0; i < 6; i++ ) {
for ( j = 0; j < 3; j++ ) {