How do you determine the depth of a pixel?

The depth of some sample (x, y z) is the z value. With regards to the z-buffer, the stored depth is the minimum z-value seen so far at some x, y.

How do you determine the depth of a pixel?

The depth of some sample (x, y z) is the z value. With regards to the z-buffer, the stored depth is the minimum z-value seen so far at some x, y.