mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 21:53:51 +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);
|
||||
}
|
||||
|
||||
partsys->getOrCreateStateSet()->setRenderingHint(osg::StateSet::TRANSPARENT_BIN);
|
||||
|
||||
// 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
|
||||
osg::ref_ptr<osgParticle::ParticleSystemUpdater> updater = new osgParticle::ParticleSystemUpdater;
|
||||
|
|
Loading…
Reference in a new issue