mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-13 21:40:11 +00:00
Fix particlesystem nested RenderBin issue (Bug #2631)
This commit is contained in:
parent
f511cb08ff
commit
93ee11c5e7
@ -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…
x
Reference in New Issue
Block a user