The z-buffer is the buffer with the depth in it, you probably actually want to grab the colour buffer! Just an FYI, because I really can't help you with actually grabbing the DirectX pointers and what to do with them.


Shitlord by trade and passion. Graphics programmer at Laminar Research.
I write blog posts at feresignum.com