From 287ed83de76cc75e2c2e5a9f77c83a69e8579ceb Mon Sep 17 00:00:00 2001 From: Mathias Froehlich Date: Sat, 25 Aug 2012 17:29:41 +0200 Subject: [PATCH] btg: Lights are much better visible. --- simgear/scene/tgdb/obj.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5