Smaller point light for vasi

This commit is contained in:
Frederic Bouvier 2012-02-04 21:21:50 +01:00
parent 78645169bf
commit 20414e6ef4

View File

@ -756,7 +756,7 @@ SGLoadBTG(const std::string& path, const simgear::SGReaderWriterOptions* options
if (!tileGeometryBin.vasiLights.empty()) { if (!tileGeometryBin.vasiLights.empty()) {
EffectGeode* vasiGeode = new EffectGeode; EffectGeode* vasiGeode = new EffectGeode;
Effect* vasiEffect 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); vasiGeode->setEffect(vasiEffect);
SGVec4f red(1, 0, 0, 1); SGVec4f red(1, 0, 0, 1);
SGMaterial* mat = 0; SGMaterial* mat = 0;