Archived

This topic is now archived and is closed to further replies.

CrazySwede

Depthsorting in outdoor engines

Recommended Posts

Hi, I would like to get some information on depthsorting in outdoor engines like the one in Black & White. I havn''t been able to figure out how to draw my trees, which are meshes btw, and my characters and then all the world polys depthsorted yet. Z-buffer is great, shouldn''t it be possible to do something like it but with support for alpha, like an alpha-buffer which would blend my colors backwards if the pixel I''m rendering is further away then the first, all that in hardware. No more depthsorting Thanks in advance

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
z-sort the centers of your objects and draw in one order (front to back or vice versa) or use commutative blending

Share this post


Link to post
Share on other sites