@Eversor wrote:
Hello everyone,
is there any standard way i can add a "z-buffer" channel to a spritebatch.draw so that it's sampled value is added to the z-buffer?This way i could simulate "vertical" objects in a "horizontal" top-down view without the need to use 3d camera and quads.
Of course i cannot use a simple sorting algorithm because
lower ground needs to be at Z=1,
vertical object needs to be at Z=2,
higher ground needs to be at Z=3.
Posts: 5
Participants: 4