Lauri Peltonen: make clearcolor black, so that space is dark instead of gray.
This commit is contained in:
parent
fb52b013f0
commit
b36b33f716
2 changed files with 2 additions and 2 deletions
BIN
src/Main/.renderer.cxx.swp
Normal file
BIN
src/Main/.renderer.cxx.swp
Normal file
Binary file not shown.
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue