1, in order to render particles in the middle of the two pictures, must be two pictures of the render batch separate, in the same depth section, if there is no other batch of other Atlas to add, the picture is depth order, but at this time the particles and Atlas is a batch rendering, particles are always at the top of this atlas picture, Setting the z-axis also doesn't work.
2. When a particle is rendered with a pre-set picture, the z-axis must be half the preceding picture, i.e. the z-axis of the front image is 100, and the z-axis of the particle must be less than-50, if the z-axis of the front image is 100, the particle z-axis must be less than 50.
3, two atlas: in the same depth, it is useless to set the z axis. If the pre-particle picture (A-Atlas) depth is larger than the picture (b-Atlas), then the particles can be set between the two pictures.
4, in order to let the particles in the middle of the two pictures, must be to let a Atlas Drawcall two times.
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Particle rendering and Ngui rendering level depth problem analysis