I just came across this blog http://davidfahr.com/?page_id=128
where the guy implements the depth sorting using depth map. Also this blog does describe the similar/same thing http://toxicdump.org/blog/view/8/Pixel-perfect-depth-sorting-using-a-depth-buffer-in-25D
I do understand the basic concept but I would like the know inner details of it.
For instance, what they mean by the world-space depth map? Then, how to composition works? When I place for instance 2 castle on the same map. One is at the top, another beneath it. I was getting impression that the final depth map generated for the scene must be "continuous" so the 2 castles must somehow be incorporated to the final depth map. Or maybe I'm wrong
So does anyone know the details of these thechnique? Maybe I'm dumb but I cannot understand from the blog posts how it works.