I have a small problem with particles. I think I understand what is the cause, but I wasn’t able to find a way to solve it yet.
I’m using particles, and they are looking okay until I’ll turn camera so that new sprites become closer to the camera than older ones. In this moment older particles are rendered first, their alpha=1 are covering newer particles, and when newer particles are rendered, their pixels, which are under the older particle ones, are not rendered.
That sounds like a plausible theory. To test it, you could try switching to a non-order-dependent transparency mode (such as M_binary)—it will look awful, but if this particular glitch goes away, you’ll know that that’s the problem.
Since you’re using black smoke in this instance, there may be a particular ColorBlendAttrib mode that you can use that would yield the desired effect without being order-dependent.
What happens if you put your particle-system NodePath into the “unsorted” bin, then disable tepth-testing for it? The result–if I’m imagining it sufficiently accurately–might not be perfect, but it might nevertheless look acceptable, given the darkness of your particles.
That would work, but I think that would mean that other objects (eg. a bridge that the train rides underneath) can no longer properly appear in front of the smoke particles.