How to sort the Z-Buffer

Hello, Im trying to render a “foggish” effekt around a model that iv’e made using a duplicated mesh that i’ve fattened (alt-s) with a halo material on it.

The problem is that when i render the halomesh along with the other stuff that supposed to be under it, there is something wrong with the z-buffer, how can i help this?

it works with raytracing but this couses the render to slow down quite a bit…

without the halo layer
http://www.nada.kth.se/~ckla/without_halo.jpg

and including the (very untweaked :wink: halo layer, with the zbuffer transp on
http://www.nada.kth.se/~ckla/zbuffer_error.jpg

Try turning on the Unified Renderer in the render buttons (F10) in the Format panel to the right. It’s better at rendering halos, and could fix a problem like this up.

-Laurifer