augment color framebuffer with Z-buffer or depth buffer which stores Z value at each pixel. – at frame beginning, initialize all pixel depths to ∞.
確定! 回上一頁