1
0
Fork 0

Black sky for orbital flights outside skybox.

as suggested by Thorsten and Lauri.
This commit is contained in:
Thomas Geymayer 2014-09-17 12:14:42 +02:00
parent c9d159e71f
commit dd8b412060

View file

@ -1615,9 +1615,7 @@ FGRenderer::update( ) {
current__view->set_dirty();
osg::Camera *camera = viewer->getCamera();
SGVec4f clearColor(l->adj_fog_color());
camera->setClearColor(toOsg(clearColor));
camera->setClearColor(osg::Vec4(0, 0, 0, 0));
updateSky();