Skip to content
Z-buffer
EntityQ135743· pop 23· linked from 189 articles

Also known as Z-buffering, z-buffering, depth buffer, depth buffering

thumb|Z-buffer data A z-buffer, also known as a depth buffer, is a type of data buffer used in computer graphics to store the depth information of fragments. The values stored represent the distance to the camera, with 0 being the closest. The encoding scheme may be flipped with the highest number being the value closest to camera.

Wikidata facts

Image
Z buffer.svg
Show 1 more fact
Commons category
Z-buffering
Sources (1)

via Wikidata · CC0

~12 min read

Article

14 sections
Contents
  • Usage
  • Occlusion
  • Shadow mapping
  • History
  • Developments
  • Z-culling
  • Mathematics
  • Fixed-point representation
  • W-buffer
  • Algorithmics
  • See also
  • References
  • External links
  • Notes

thumb|Z-buffer data A z-buffer, also known as a depth buffer, is a type of data buffer used in computer graphics to store the depth information of fragments. The values stored represent the distance to the camera, with 0 being the closest. The encoding scheme may be flipped with the highest number being the value closest to camera.

In a 3D-rendering pipeline, when an object is projected on the screen, the depth (z-value) of a generated fragment in the projected screen image is compared to the value already stored in the buffer (depth test), and replaces it if the new value is closer. It works in tandem with the rasterizer, which computes the colored values. The fragment output by the rasterizer is saved if it is not overlapped by another fragment.

Gallery (2)

Connections

Categories