]> git.mxchange.org Git - simgear.git/commitdiff
btg: Lights are much better visible.
authorMathias Froehlich <Mathias.Froehlich@web.de>
Sat, 25 Aug 2012 15:29:41 +0000 (17:29 +0200)
committerMathias Froehlich <Mathias.Froehlich@web.de>
Sun, 26 Aug 2012 13:08:48 +0000 (15:08 +0200)
simgear/scene/tgdb/obj.cxx

index 113c5c6c4a47c4db4ae092b8226bafbe127ef96a..3699b556fd786ad0e0af3688b4f6146e57b2369f 100644 (file)
@@ -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);