1
0
Fork 0

Lauri Peltonen: make clearcolor black, so that space is dark instead of gray.

This commit is contained in:
Erik Hofman 2011-04-16 11:35:56 +02:00
parent fb52b013f0
commit b36b33f716
2 changed files with 2 additions and 2 deletions

BIN
src/Main/.renderer.cxx.swp Normal file

Binary file not shown.

View file

@ -613,11 +613,11 @@ FGRenderer::update( bool refresh_camera_settings ) {
if ( fgGetBool("/sim/rendering/textures") ) {
SGVec4f clearColor(l->adj_fog_color());
camera->setClearColor(toOsg(clearColor));
camera->setClearColor(osg::Vec4(0.0, 0.0, 0.0, 1.0));
}
} else {
SGVec4f clearColor(l->sky_color());
camera->setClearColor(toOsg(clearColor));
camera->setClearColor(osg::Vec4(0.0, 0.0, 0.0, 1.0));
}
// update fog params if visibility has changed