From: Mathias Froehlich Date: Sat, 25 Aug 2012 15:29:41 +0000 (+0200) Subject: btg: Lights are much better visible. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=287ed83de76cc75e2c2e5a9f77c83a69e8579ceb;p=simgear.git btg: Lights are much better visible. --- diff --git a/simgear/scene/tgdb/obj.cxx b/simgear/scene/tgdb/obj.cxx index 113c5c6c..3699b556 100644 --- a/simgear/scene/tgdb/obj.cxx +++ b/simgear/scene/tgdb/obj.cxx @@ -1160,7 +1160,7 @@ SGLoadBTG(const std::string& path, const simgear::SGReaderWriterOptions* options transform->addChild(terrainGroup); if (lightGroup->getNumChildren() > 0) { osg::LOD* lightLOD = new osg::LOD; - lightLOD->addChild(lightGroup.get(), 0, 30000); + lightLOD->addChild(lightGroup.get(), 0, 60000); // VASI is always on, so doesn't use light bits. lightLOD->setNodeMask(LIGHTS_BITS | MODEL_BIT | PERMANENTLIGHT_BIT); transform->addChild(lightLOD);