If your 3D effect is a parallax effect, that is, your particles face the camera perpendicularly, you can really set the SpriteBatch transformation matrix
batch.getTransformMatrix().idt().translate(0, 0, z); batch.begin(); ... do your rendering here batch.end(); // reset the matrix, so you can use the batch for other stuff batch.idt();
For a perspective effect, you will also need to use perspective projection. The easiest way to handle this requirement is to use PerspectiveCamera instead of OrthographicCamera.
source share