From: Frederic Bouvier Date: Wed, 25 Jan 2012 22:42:10 +0000 (+0100) Subject: Use bigger point sprites for airport lighting X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1dfde64ac2e6ed0af91cf986cad8808c0182d408;p=simgear.git Use bigger point sprites for airport lighting --- 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()