1
0
Fork 0

Harald JOHNSEN: really disable fog

This commit is contained in:
ehofman 2005-11-08 10:00:24 +00:00
parent bd38da6f45
commit 3a655986e1

View file

@ -472,7 +472,8 @@ FGRenderer::update( bool refresh_camera_settings ) {
glEnable( GL_FOG );
glFogi( GL_FOG_MODE, GL_EXP2 );
glFogfv( GL_FOG_COLOR, l->adj_fog_color() );
}
} else
glDisable( GL_FOG );
// set sun/lighting parameters
ssgGetLight( 0 ) -> setPosition( l->sun_vec() );