]> git.mxchange.org Git - simgear.git/commitdiff
Smaller point light for vasi
authorFrederic Bouvier <fredfgfs01@free.fr>
Sat, 4 Feb 2012 20:21:50 +0000 (21:21 +0100)
committerFrederic Bouvier <fredfgfs01@free.fr>
Sun, 4 Mar 2012 19:21:44 +0000 (20:21 +0100)
simgear/scene/tgdb/obj.cxx

index 2e8b7c58a7ffd0f6c56d3f1b7c7108c91f752aa7..9b8e75d2b1ec0a33608885a7df6ef8c779229e21 100644 (file)
@@ -756,7 +756,7 @@ SGLoadBTG(const std::string& path, const simgear::SGReaderWriterOptions* options
   if (!tileGeometryBin.vasiLights.empty()) {
     EffectGeode* vasiGeode = new EffectGeode;
     Effect* vasiEffect
-        = getLightEffect(48, osg::Vec3(1, 0.0001, 0.000001), 1, 48, true);
+        = getLightEffect(32, osg::Vec3(1, 0.0001, 0.000001), 1, 32, true);
     vasiGeode->setEffect(vasiEffect);
     SGVec4f red(1, 0, 0, 1);
     SGMaterial* mat = 0;