commonGeode.get()->setName("common particle system geode");
commonRoot.get()->addChild(commonGeode.get());
commonRoot.get()->addChild(psu.get());
+ commonRoot->setNodeMask( ~simgear::MODELLIGHT_BIT );
}
return commonRoot.get();
}
#include <simgear/scene/util/SGReaderWriterOptions.hxx>
#include <simgear/scene/util/StateAttributeFactory.hxx>
#include <simgear/scene/util/SGUpdateVisitor.hxx>
+#include <simgear/scene/util/RenderConstants.hxx>
#include <algorithm>
#include <osg/BlendFunc>
geode->addDrawable(sg);
geode->setName("3D cloud");
geode->setEffect(effect.get());
+ geode->setNodeMask( ~simgear::MODELLIGHT_BIT );
return geode;
}