Black sky for orbital flights outside skybox.
as suggested by Thorsten and Lauri.
This commit is contained in:
parent
c9d159e71f
commit
dd8b412060
1 changed files with 1 additions and 3 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue