From 1dfde64ac2e6ed0af91cf986cad8808c0182d408 Mon Sep 17 00:00:00 2001 From: Frederic Bouvier Date: Wed, 25 Jan 2012 23:42:10 +0100 Subject: [PATCH] Use bigger point sprites for airport lighting --- simgear/scene/tgdb/obj.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/simgear/scene/tgdb/obj.cxx b/simgear/scene/tgdb/obj.cxx index 1d41422d..c899d8ae 100644 --- a/simgear/scene/tgdb/obj.cxx +++ b/simgear/scene/tgdb/obj.cxx @@ -756,7 +756,7 @@ SGLoadBTG(const std::string& path, const simgear::SGReaderWriterOptions* options if (!tileGeometryBin.vasiLights.empty()) { EffectGeode* vasiGeode = new EffectGeode; Effect* vasiEffect - = getLightEffect(6, osg::Vec3(1, 0.0001, 0.000001), 1, 6, true); + = getLightEffect(24, osg::Vec3(1, 0.0001, 0.000001), 1, 24, true); vasiGeode->setEffect(vasiEffect); SGVec4f red(1, 0, 0, 1); SGMaterial* mat = 0; @@ -784,7 +784,7 @@ SGLoadBTG(const std::string& path, const simgear::SGReaderWriterOptions* options || !tileGeometryBin.reilLights.empty() || !tileGeometryBin.odalLights.empty() || tileGeometryBin.taxiLights.getNumLights() > 0) - runwayEffect = getLightEffect(4, osg::Vec3(1, 0.001, 0.0002), 1, 4, true); + runwayEffect = getLightEffect(16, osg::Vec3(1, 0.001, 0.0002), 1, 16, true); if (tileGeometryBin.runwayLights.getNumLights() > 0 || !tileGeometryBin.rabitLights.empty() || !tileGeometryBin.reilLights.empty() -- 2.39.5