What's it called · Rendering & optimization 57
Depth buffer
Also called: Z-buffer
A buffer that stores depth at screen locations to determine visibility between overlapping surfaces.
Drag A depth and select Draw order; select Depth off to compare visibility and stored depth.
Often confused with
- Stencil buffer: A buffer that restricts rendering with integer masks rather than depth comparisons
- Z-fighting: Flickering caused by insufficient depth separation between nearby surfaces rather than the storage itself
- Shadow map: A texture using depth from the light’s viewpoint to test for shadows rather than general surface visibility
- Draw order: The sequence of drawing operations rather than a buffer storing depth
- G-buffer: A set of buffers holding color, normal, depth, and other surface data for deferred lighting rather than depth alone