mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-21 07:09:42 +00:00
Fix particlesystem nested RenderBin issue (Bug #2631)
This commit is contained in:
parent
f511cb08ff
commit
93ee11c5e7
1 changed files with 0 additions and 2 deletions
|
@ -868,8 +868,6 @@ namespace NifOsg
|
||||||
mat->setColorMode(osg::Material::AMBIENT);
|
mat->setColorMode(osg::Material::AMBIENT);
|
||||||
}
|
}
|
||||||
|
|
||||||
partsys->getOrCreateStateSet()->setRenderingHint(osg::StateSet::TRANSPARENT_BIN);
|
|
||||||
|
|
||||||
// particle system updater (after the emitters and affectors in the scene graph)
|
// particle system updater (after the emitters and affectors in the scene graph)
|
||||||
// I think for correct culling needs to be *before* the ParticleSystem, though osg examples do it the other way
|
// I think for correct culling needs to be *before* the ParticleSystem, though osg examples do it the other way
|
||||||
osg::ref_ptr<osgParticle::ParticleSystemUpdater> updater = new osgParticle::ParticleSystemUpdater;
|
osg::ref_ptr<osgParticle::ParticleSystemUpdater> updater = new osgParticle::ParticleSystemUpdater;
|
||||||
|
|
Loading…
Reference in a new issue