HI.
How to make sure that particle in particle system don't get sorted?
I tried something like this
StateSet {
DataVariance STATIC
rendering_hint OPAQUE_BIN
renderBinMode USE
binNumber 10
binName EffectNotSorted
With this:
RefPtr<osgUtil::RenderBin> rb=new
osgUtil::RenderBin(osgUtil::RenderBin::SORT_BY_STATE);
osgUtil::RenderBin::addRenderBinPrototype("EffectNotSorted",rb.get());
But I am not sure particles are not sorted anyway. I am also not sure what
is distinction between render bin number and render bin name?
How to register a render bin that doesn't care about distance and just adds
particles?
Thank you and bye,
ivan
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/