Two facades stand almost together, far from the camera. The artist knows which belongs in front, yet the image seems to disagree with itself: some patches show one surface and some reveal the other. This invented scene could have several problems. One particularly inconspicuous explanation is that the numbers representing surface depth are insufficiently distinguishable. Texture detail is beside the point. The renderer must determine which surface is in front before choosing whose material contributes to the image.
Our pastel street recedes into a pale distance. It is newly created conceptual art, rather than a game screenshot showing a problematic setting. ITNWS has not benchmarked a GPU or compared engines for this article. The street encourages us to examine a distance an artist imagines as continuous. A depth buffer is finite. The distribution of its representable values across the scene affects which nearby surfaces can be distinguished at different distances.
Reversed-Z can sound like relabeling: assign larger values to nearer surfaces, smaller values to farther ones, and reverse the comparison. With some formats, that reversal alone achieves much less than popular descriptions suggest. The substantial improvement comes from an appropriate combination of projection and floating-point depth. Two nonuniform distributions meet: perspective transforms distance nonlinearly, while floating-point numbers themselves have unequal spacing. The useful result depends on how those distributions fit together.
Distance changes the numerical scale
Let z mean positive distance along the camera’s viewing direction, rather than the length of an arbitrary ray to a point. For an ordinary perspective projection, stored depth d can be written as a/z + b, with coefficients determined by the near and far planes. This is not a formula for every camera: orthographic projection behaves differently. Our subject is perspective, where equal world-space sizes occupy progressively less of the image as they move away.
The Vulkan guide to depth is useful alongside that distinction between coordinate spaces. A depth-buffer value need not be a distance in metres. Projection, division by the homogeneous coordinate, and range mapping lie between a scene vertex and the stored number. A later effect that treats stored depth as linear distance can be wrong even when the depth test itself is functioning correctly. Correct numbers can still be interpreted under an incorrect convention.
For an analytical model, consider a perspective projection with an infinitely distant far plane and a near distance n. A convenient conventional mapping is d = 1 − n/z; its reversed counterpart is d = n/z. At z = n, these give zero and one respectively. As distance increases, the first approaches one and the second approaches zero. These expressions explain a mapping; they are not ready-made matrix coefficients for every graphics API and coordinate convention.
Imagine laying a uniformly spaced fixed-point grid over either range. An equal step in d corresponds to an unequal step in z. Farther away, a larger interval of scene distance can fit between neighboring stored values. Merely replacing d with 1 − d reverses that uniform grid without creating extra divisions. An explanation that mentions direction but omits the number representation therefore misses the essential reason for the striking floating-point improvement.
Floating-point has a different distribution. Across ordinary normal ranges it provides approximately constant relative precision, with absolute spacing shrinking as the magnitude shrinks. Small values are closer together than values near one. If the reversed mapping assigns small d to distant surfaces, this denser spacing helps compensate for perspective’s compression of depth. That interaction, rather than the name of a toggle, is the substantive part of the technique.
A useful approximation needs no graphics-card experiment. From d = n/z, a small relative change in z approximately corresponds in magnitude to the opposite relative change in d. Roughly constant relative representational precision in d therefore produces much more even relative distance resolution. This is a local argument for normal values. It does not promise constant absolute precision at all distances, incorporate every matrix-rounding error, or turn infinity into a physically measurable surface.
NVIDIA’s Visualizing Depth Precision illustrates the principle through its own visualizations. The article is dated October 21, 2021; checking it today does not make it October 2026 news. We use the underlying explanation and our analytical model without transferring the author’s experimental results to a particular modern card. No precision or performance measurements from that publication are presented as ITNWS tests.

The etching of receding planes gives the idea a visual form. Its marks are not a calibrated numerical scale and do not depict binary32 spacing. Counting them cannot establish an engine’s error bound. The picture invites two observations: perspective compresses space, and a representation can redistribute distinguishability within that space. Proving a particular bound would require format and transformation parameters that a conceptual engraving deliberately does not provide.
The near plane remains a meaningful camera parameter. In the conventional mapping, bringing it excessively close is especially expensive for precision at distance. Reversed floating-point depth behaves much better, but that does not make every arbitrary matrix and range appropriate. Clipping and the meaning of all relevant operations still need to agree. A good numerical technique does not remove the camera’s obligation to define which geometry it is supposed to include.
Depth resolution must also be distinguished from coordinate precision. In a very large world, two nearby points can lose distinguishability during earlier calculations involving large coordinates. Reversed-Z cannot recover information already lost before depth storage. Camera-relative coordinates and transformation precision address their own problems. If an object appears to jitter, the explanation need not reside in one familiar buffer simply because a developer knows that buffer’s name.
Reversing direction changes a convention
Changing a projection matrix alone is insufficient. Under the conventional mapping nearer values are smaller; after reversal they are larger. Clearing depth, choosing the comparison, and interpreting the result must all follow the new convention. The Vulkan specification for fragment operations defines comparison and writing mechanisms. A renderer selects a consistent combination. There is no single settings line that this article can prescribe for every pass, format, and API.
Suppose the main pass already uses reversed depth, while a later screen-space effect still reconstructs distance with the old formula. The geometry may become stable while fog or effect boundaries become wrong. The buffer is not corrupted. Its consumer has interpreted correct data under an obsolete contract. A precision improvement can therefore expose a previously hidden dependency elsewhere in the engine. The visible result of the first pass does not validate every subsequent consumer.
Hierarchical depth structures also summarize values for later decisions. If a structure previously selected a minimum to represent nearer depth, reversing direction requires reconsidering the reduction’s meaning. Occlusion decisions must remain conservative under the adopted ordering. Changing one comparison is insufficient when several levels build summaries and test objects against them. The relationships between passes matter, rather than only the attractive appearance of one completed opaque frame.
Depth bias is another related tool, used for purposes such as separating nearly coincident surfaces in particular rendering tasks. After a reversal, its intended direction and the API’s format-dependent rules require examination. Previously chosen numerical parameters do not become proven appropriate merely because their written values are unchanged. They were selected within an earlier convention connecting increasing depth to visibility. The significance of a number depends on that surrounding convention.
Shadow maps deserve separate consideration. Their camera, projection, and comparison can differ from the main scene camera. Reversing the primary depth buffer does not automatically put every shadow texture under the same rules. An orthographic directional-light map does not reproduce the perspective relationship used for our street. A shadow artifact therefore cannot be explained solely by copying a formula from the main camera. First establish what the relevant pass actually stores and reads.
Historical API differences matter as well. The post-projection range and its mapping can affect floating-point depth’s benefits. A familiar formula for one coordinate convention is not universally valid for another. Documentation is needed not only when creating a depth attachment, but also when reconstructing space from its stored value. An omitted range transformation can undermine the purpose of an otherwise carefully selected numerical representation.
A visible conflict can also reflect genuinely coincident geometry. If two surfaces mathematically occupy the same plane, greater precision need not establish the artist’s unstated preference between them. The scene must encode the desired distinction or use an appropriate composition mechanism. Reversed-Z helps distinguish different depths; it does not invent separation that the model lacks. That limitation belongs to the task’s definition, rather than insufficient GPU power.
Bit count is only part of the description. Comparing fixed-point and floating-point formats requires their value distributions, device support, and subsequent uses. “More bits is better” can conceal a more consequential mapping decision. Nor does reversed-Z imply a particular frame-rate gain. This article examines representational precision. Performance claims would require measuring the complete renderer under stated conditions, rather than promoting a numerical argument into a benchmark.
Transparent materials expose another boundary. Correct ordering of opaque surfaces does not automatically determine how several translucent layers should be blended. Those layers can require another rendering organization and distinct depth uses. Stable building edges do not certify every effect. Each consumer must preserve depth’s meaning in its own task, while colour-composition order follows the transparency method selected by the engine.
An investigation also benefits from keeping geometry and camera conditions fixed when comparing representations. If the near plane moves, one facade disappears, and the format changes simultaneously, reduced flicker cannot be attributed solely to reversed-Z. A causal explanation needs an isolated mechanism. This is a methodological consequence of the mapping’s parameter dependence, rather than a description of an ITNWS experiment or proof that one GPU is universally superior to another.
Return to the distant facades without assuming visible space automatically receives convenient numbers. The front surface must remain distinguishable from the back surface in the representation that reaches comparison. Perspective, floating-point, and consistent passes can preserve that distinction; faulty geometry or coordinates lost earlier need different repairs. A quiet distance on screen begins with an invisible numerical agreement. Sources checked October 24, 2026; the illustrations and analytical arguments are not hardware tests.



