Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Depth of field (DOF) is the range of distances in a scene over which objects appear acceptably sharp in an image formed by a lens, whether that lens belongs to a camera or to the human eye. Points nearer or farther than that range are imaged as blur spots larger than a chosen maximum allowable blur, called the circle of confusion.[1]

In virtual reality (VR) and augmented reality (AR), depth of field matters for two linked reasons. A conventional head-mounted display (HMD) places all of its imagery at a single optical distance, so the focus cues the eye receives, accommodation and retinal blur, specify the depth of the display rather than the depths in the depicted scene.[2][3] This is closely tied to the vergence-accommodation conflict. Researchers have responded with rendered depth-of-field blur driven by eye tracking, with optics that move or multiply the focal plane, and with displays whose images stay sharp at any focus.[4][5]

Reviewed 4 October 2026. Bibliographic details and abstracts of all cited papers (Crossref, OpenAlex, PubMed, Europe PMC), quotes and figures from the Stanford, Nikon, Epic Games, Meta, UploadVR, Road to VR, VentureBeat and GitHub sources. About review dates.

Definition

In camera optics, a point that is not at the focused distance projects onto the sensor as a blurred spot. A feature counts as out of focus once the width of its blurred image on the sensor exceeds a chosen maximum allowable circle of confusion. Depth of field is the span of object-space distances inside that limit; the matching span on the image side of the lens is the depth of focus.[1] Nikon's microscopy reference makes the same distinction, describing depth of field as the distance from the nearest object plane in focus to the farthest plane simultaneously in focus, and noting that depth of field refers to object space while depth of focus refers to image space, although the two terms are often used interchangeably.[6]

Three variables govern it. Closing the aperture (a larger f-number) increases depth of field. Depth of field varies inversely with the square of focal length, so long lenses have very shallow depth of field, and it varies with the square of the subject distance, so distant scenes are sharp over a much larger range than close-ups.[1]

The eye's depth of field

The human eye is also a lens system with a finite aperture, so it has a depth of field. Vision science uses both terms for the eye's tolerance to defocus, which is usually expressed in diopters. A 2006 review by Bin Wang and Kenneth J. Ciuffreda in Survey of Ophthalmology defines the eye's depth-of-focus as "the perceptual tolerance of the human eye to retinal defocus."[7]

Measured values depend on pupil size and on the blur criterion. In a 2014 study in Optometry and Vision Science, Bernal-Molina and colleagues measured the depth of field of seven eyes from young subjects, using an objectionable-blur criterion. As accommodative demand rose from 0 to 6 diopters, mean pupil diameter fell from 5.70 to 4.62 mm and the eye's depth of field changed from 0.85 ± 0.26 D to 1.07 ± 0.19 D. The authors concluded that, when focusing a near target, the visual system uses this tolerance to change its refractive state less than would be needed for a perfectly focused image, and that accommodation aims for a retinal image that is "good enough."[8]

Depth of field in head-mounted displays

In a real scene, the eye focuses at one distance and objects at other distances fall into progressively stronger retinal blur. In a stereoscopic display the light comes from one surface. Hoffman, Girshick, Akeley and Banks (2008) pointed out that the focus cues, accommodation and the blur in the retinal image, then specify the depth of the display rather than the depths in the depicted scene. Using a display that presented correct or nearly correct focus cues, they found that viewers identified stereoscopic stimuli faster, had better stereoacuity in a time-limited task, perceived depth with less distortion, and reported less fatigue and discomfort.[3]

Most consumer headsets behave this way. In a 2018 UploadVR report on Facebook's varifocal research, Ian Hamilton wrote that "Nearly all consumer HMDs present a single fixed focus," that most lock the optical focus to something around two meters, and that most people report some blur when their eyes focus on a near virtual object.[2]

Blur is a depth cue in its own right. Held, Cooper, O'Brien and Banks (2010) showed that the pattern of blur in an image, combined with relative depth cues, indicates the apparent scale of a scene, and that applying blur to a sharply rendered image changes the apparent distance and scale of its contents.[9] Zannoli, Love, Narain and Banks (2016) found that observers could not reliably judge which of two surfaces was nearer at an occlusion boundary when the blur was rendered onto a single display plane, but did much better when the same scenes were shown on multiple planes at different focal distances so that the blur was produced by the eye's own optics; chromatic aberration in the eye supplied part of the useful information.[10]

Rendering depth of field

Origins in computer graphics

Early computer graphics used a pinhole camera model in which everything is in focus. Michael Potmesil and Indranil Chakravarty extended it in 1981 with a camera model that approximates the effects of a lens and aperture, so that synthetic images could have a depth of field and be focused on an arbitrary plane.[11] In 1984 Robert L. Cook, Thomas Porter and Loren Carpenter introduced distributed ray tracing, which spreads ray directions according to the function being sampled and so produces depth of field, motion blur, penumbras, translucency and fuzzy reflections, with depth-of-field calculations integrated into the visible-surface computation.[12]

Depth-of-field effects in VR applications

In Unreal Engine, depth of field is a post-process effect. Epic Games' VR best-practice guidance tells developers to "Avoid post process effects such as Depth of Field and Motion Blur to prevent user discomfort." The Unreal Engine 4.27 version of the page also lists r.DepthOfFieldQuality=0 among the console settings from Epic's Showdown VR demo that it offers as a starting point for VR projects.[13][14]

Gaze-contingent depth of field

Gaze-contingent depth of field uses an eye tracker to find the point the user is looking at, sets the rendered focal distance to the depth of that point, and blurs the rest of the scene accordingly. Sébastien Hillaire, Anatole Lécuyer, Rémi Cozot and Géry Casiez presented an early version at the 2008 IEEE Virtual Reality conference: they retrieved the user's focus point in a 3D virtual environment with an eye-tracking system and used it to drive a depth-of-field blur that "simulates the fact that humans perceive sharp objects only within some range of distances around the focal distance." In their experiment participants generally preferred the effects when they were dynamically adapted to the focus point.[15] The same authors published "Depth-of-Field Blur Effects for First-Person Navigation in Virtual Environments" in IEEE Computer Graphics and Applications in November 2008.[16] Radosław Mantiuk, Bartosz Bazyluk and Anna Tomaszewska described gaze-dependent depth-of-field rendering for virtual environments in 2011.[17]

Later studies measured what the technique does for perception and comfort:

Study Venue Display Summary
Mauderer, Conte, Nacenta and Vishwanath (2014) ACM CHI 2014 Regular display Gaze-contingent DOF increased subjective realism and perceived depth and contributed to judgments of depth order and distance between objects, but with limited accuracy.[18]
Vinnikov and Allison (2014) ACM ETRA 2014 Stereoscopic display Built a gaze-contingent DOF system to test the hypothesis that simulated focal blur set by instantaneous fixation can compensate for the fixed accommodation cue of a stereoscopic display, and studied the user experience in realistic scenes.[19]
Duchowski, House, Gestring, Wang, Krejtz, Krejtz, Mantiuk and Bazyluk (2014) ACM Symposium on Applied Perception 2014 Stereoscopic display Gaze-contingent DOF significantly reduced subjective visual discomfort, yet participants disliked it, which the authors attributed to eye-tracker inaccuracy and the blur simulation's noticeable lag.[20]
Weier, Roth, Hinkenjann and Slusallek (2018) ACM Transactions on Applied Perception Head-mounted display A foveated rendering system with an integrated gaze-contingent DoF filter was rated almost on par with full rendering while shading more than 69% fewer samples.[21]

ChromaBlur

Standard depth-of-field rendering mimics a high-quality camera. Steven A. Cholewiak, Gordon D. Love, Pratul P. Srinivasan, Ren Ng and Martin S. Banks argued in 2017 that rendering for immersive displays should instead model the optics of the human eye, in particular its chromatic aberration, which colors the blur differently for objects nearer or farther than the current focus. In their experiments the resulting method, ChromaBlur, drove accommodation "quite effectively," whereas conventionally rendered blur did not drive it at all, and viewers judged ChromaBlur images as having greater depth and realism. The authors proposed combining it with focus-adjustable lenses and gaze tracking in HMDs to reduce the effects of vergence-accommodation conflict.[22]

DeepFocus

A varifocal display moves its single focal plane to wherever the user looks, so the fixated object is sharp, but by itself it does not blur the rest of the scene. Facebook Reality Labs (now Meta's Reality Labs) built DeepFocus to fill that gap for its Half Dome prototype, a varifocal headset with a 140 degree field of view whose displays physically move to shift focus.[23] The December 2018 announcement, now hosted on Meta's blog, said that "while varifocal VR headsets can deliver a crisp image anywhere the viewer looks, DeepFocus allows us to render the rest of the scene just the way it looks in the real world: naturally blurry," and described it as the first system to produce this gaze-contingent defocus effect realistically and in real time.[24]

DeepFocus is a convolutional neural network by Lei Xiao, Anton Kaplanyan, Alexander Fix, Matthew Chapman and Douglas Lanman, published in ACM Transactions on Graphics for SIGGRAPH Asia 2018. Its paper notes that varifocal, multifocal and light field HMDs all extend depth of focus but rely on expensive rendering to reproduce accurate defocus blur; DeepFocus synthesizes defocus blur, focal stacks, multilayer decompositions and multiview imagery from ordinary RGB-D images.[4] Meta said the network was trained on 196,000 images from a random scene generator and initially ran at 1080p, and that VR-quality output in real time was demonstrated on a four-GPU machine.[24][25] The code and dataset were released on GitHub under the non-commercial CC-BY-NC 4.0 license; the repository was archived as read-only on 31 October 2023.[26] Road to VR reported that the technique was intended to mitigate the eyestrain associated with vergence-accommodation conflict.[27]

Display approaches

Rendered blur on a fixed-focus display does not change the optical distance of the image itself. Several display designs change the focal distance of the displayed light, or remove the eye's dependence on it:

  • Varifocal displays track gaze and move one focal plane to the fixated depth, pairing with rendered blur for the rest of the scene.[24][2]
  • Multifocal (multiplane) displays present images at several focal distances at once. Kurt Akeley, Simon Watt, Ahna Girshick and Martin Banks built a 2004 stereo prototype with three image planes at different physical distances that gave near-correct focus cues without tracking eye position.[28] Narain and colleagues (2015) used a model of defocus in the viewer's eye to optimize the images on each plane so that retinal images at different accommodation states match those of the original scene, including scenes with occlusions.[29]
  • Light field displays are the third architecture the DeepFocus paper names alongside varifocal and multifocal designs; the paper notes that all three extend depth of focus but need computationally expensive rendering to reproduce accurate defocus blur.[4]
  • Accommodation-invariant displays do the opposite of reproducing focus cues. Robert Konrad, Nitish Padmanaban, Keenan Molner, Emily A. Cooper and Gordon Wetzstein (2017) engineered a near-eye display whose stimulus does not change with the eye's accommodation state, so that accommodation can be driven by stereoscopic cues instead and the vergence-accommodation mismatch is significantly reduced. They validated the principle with a prototype that measured users' accommodation while they viewed different display modes.[5]
  • Maxwellian displays, also called accommodation-free displays, focus the image through the pupil of the eye and keep it sharp regardless of the viewer's focal distance, but typically have a small eye box. In the head-mounted design described by Shrestha and colleagues (2019), narrow collimated pixel beams are focused through the pupil, so each spot, and therefore the raster image, is perceived as in focus regardless of accommodation. The authors note that a perfectly aligned Maxwellian display allows only half a pupil diameter of lateral movement before vignetting occurs.[30]

A 2019 state-of-the-art report in Computer Graphics Forum by George Alex Koulieris, Kaan Akşit, Michael Stengel, Rafał Mantiuk, Katerina Mania and Christian Richardt surveys the vision science and display engineering behind these near-eye designs.[31]

Capture and production

Depth of field also shapes how XR content is captured. A light field camera samples the 4D light field rather than a single focused image: the hand-held plenoptic camera described by Ren Ng, Marc Levoy and colleagues in a 2005 Stanford technical report places a microlens array between the main lens and the sensor, which lets sharp photographs focused at different depths be computed after a single exposure and extends depth of field without reducing the aperture.[32]

In virtual production on LED volumes, a physical camera films a wall that already shows rendered imagery. Epic Games' documentation notes that this creates two depths of field, one rendered by the virtual camera on the wall and one from the physical lens, giving a result blurrier than expected. Its experimental in-camera VFX depth-of-field compensation feature adjusts the circle of confusion for each pixel from the camera's distance to the wall and the pixel's depth, following the real camera's focus distance, aperture and focal length.[33]

See also

References

  1. ↑ 1.0 1.1 1.2 Marc Levoy (2012-02-29). "Depth of field". Stanford University, CS 178 Digital Photography applets. https://graphics.stanford.edu/courses/cs178/applets/dof.html. Retrieved 2026-10-04.
  2. ↑ 2.0 2.1 2.2 Ian Hamilton (2018-05-24). "Facebook Explains Why It Engineered The Half Dome Varifocal VR Headset". UploadVR. https://www.uploadvr.com/display-week-half-dome-facebook/. Retrieved 2026-10-04.
  3. ↑ 3.0 3.1 David M. Hoffman, Ahna R. Girshick, Kurt Akeley, Martin S. Banks (2008). "Vergence-accommodation conflicts hinder visual performance and cause visual fatigue". Journal of Vision, vol. 8, no. 3, article 33. https://doi.org/10.1167/8.3.33. Retrieved 2026-10-04.
  4. ↑ 4.0 4.1 4.2 Lei Xiao, Anton Kaplanyan, Alexander Fix, Matthew Chapman, Douglas Lanman (2018-12). "DeepFocus: Learned Image Synthesis for Computational Displays". ACM Transactions on Graphics, vol. 37, no. 6. https://doi.org/10.1145/3272127.3275032. Retrieved 2026-10-04.
  5. ↑ 5.0 5.1 Robert Konrad, Nitish Padmanaban, Keenan Molner, Emily A. Cooper, Gordon Wetzstein (2017). "Accommodation-invariant computational near-eye displays". ACM Transactions on Graphics, vol. 36, no. 4. https://doi.org/10.1145/3072959.3073594. Retrieved 2026-10-04.
  6. ↑ "Depth of Field and Depth of Focus". Nikon MicroscopyU. Nikon Instruments. https://www.microscopyu.com/microscopy-basics/depth-of-field-and-depth-of-focus. Retrieved 2026-10-04.
  7. ↑ Bin Wang, Kenneth J. Ciuffreda (2006). "Depth-of-focus of the human eye: theory and clinical implications". Survey of Ophthalmology, vol. 51, no. 1, pp. 75-85. doi:10.1016/j.survophthal.2005.11.003. https://pubmed.ncbi.nlm.nih.gov/16414364/. Retrieved 2026-10-04.
  8. ↑ Paula Bernal-Molina, Robert Montés-Micó, Richard Legras, Norberto López-Gil (2014-10). "Depth-of-field of the accommodating eye". Optometry and Vision Science, vol. 91, no. 10, pp. 1208-1214. doi:10.1097/OPX.0000000000000365. https://pubmed.ncbi.nlm.nih.gov/25148219/. Retrieved 2026-10-04.
  9. ↑ Robert T. Held, Emily A. Cooper, James F. O'Brien, Martin S. Banks (2010). "Using blur to affect perceived distance and size". ACM Transactions on Graphics, vol. 29, no. 2. https://doi.org/10.1145/1731047.1731057. Retrieved 2026-10-04.
  10. ↑ Marina Zannoli, Gordon D. Love, Rahul Narain, Martin S. Banks (2016). "Blur and the perception of depth at occlusions". Journal of Vision, vol. 16, no. 6, article 17. https://doi.org/10.1167/16.6.17. Retrieved 2026-10-04.
  11. ↑ Michael Potmesil, Indranil Chakravarty (1981-08). "A lens and aperture camera model for synthetic image generation". ACM SIGGRAPH Computer Graphics, vol. 15, no. 3, pp. 297-305. https://doi.org/10.1145/965161.806818. Retrieved 2026-10-04.
  12. ↑ Robert L. Cook, Thomas Porter, Loren Carpenter (1984). "Distributed ray tracing". Proceedings of SIGGRAPH '84 (ACM), pp. 137-145. https://doi.org/10.1145/800031.808590. Retrieved 2026-10-04.
  13. ↑ "Virtual Reality Best Practices (Unreal Engine 4.27)". Unreal Engine Documentation. Epic Games. https://dev.epicgames.com/documentation/unreal-engine/virtual-reality-best-practices?application_version=4.27. Retrieved 2026-10-04.
  14. ↑ "XR Best Practices in Unreal Engine". Unreal Engine Documentation. Epic Games. https://dev.epicgames.com/documentation/en-us/unreal-engine/xr-best-practices-in-unreal-engine. Retrieved 2026-10-04.
  15. ↑ Sébastien Hillaire, Anatole Lécuyer, Rémi Cozot, Géry Casiez (2008-03). "Using an Eye-Tracking System to Improve Camera Motions and Depth-of-Field Blur Effects in Virtual Environments". 2008 IEEE Virtual Reality Conference, pp. 47-50. https://doi.org/10.1109/VR.2008.4480749. Retrieved 2026-10-04.
  16. ↑ Sébastien Hillaire, Anatole Lécuyer, Rémi Cozot, Géry Casiez (2008-11). "Depth-of-Field Blur Effects for First-Person Navigation in Virtual Environments". IEEE Computer Graphics and Applications, vol. 28, no. 6, pp. 47-55. https://doi.org/10.1109/MCG.2008.113. Retrieved 2026-10-04.
  17. ↑ Radosław Mantiuk, Bartosz Bazyluk, Anna Tomaszewska (2011). "Gaze-Dependent Depth-of-Field Effect Rendering in Virtual Environments". Serious Games Development and Applications, Lecture Notes in Computer Science, pp. 1-12. Springer. https://doi.org/10.1007/978-3-642-23834-5_1. Retrieved 2026-10-04.
  18. ↑ Michael Mauderer, Simone Conte, Miguel A. Nacenta, Dhanraj Vishwanath (2014-04). "Depth perception with gaze-contingent depth of field". Proceedings of the SIGCHI Conference on Human Factors in Computing Systems (CHI 2014), pp. 217-226. https://doi.org/10.1145/2556288.2557089. Retrieved 2026-10-04.
  19. ↑ Margarita Vinnikov, Robert S. Allison (2014-03). "Gaze-contingent depth of field in realistic scenes: the user experience". Proceedings of the Symposium on Eye Tracking Research and Applications (ETRA 2014), pp. 119-126. https://doi.org/10.1145/2578153.2578170. Retrieved 2026-10-04.
  20. ↑ Andrew T. Duchowski, Donald H. House, Jordan Gestring, Rui I. Wang, Krzysztof Krejtz, Izabela Krejtz, Radosław Mantiuk, Bartosz Bazyluk (2014-08). "Reducing visual discomfort of 3D stereoscopic displays with gaze-contingent depth-of-field". Proceedings of the ACM Symposium on Applied Perception (SAP 2014), pp. 39-46. https://doi.org/10.1145/2628257.2628259. Retrieved 2026-10-04.
  21. ↑ Martin Weier, Thorsten Roth, André Hinkenjann, Philipp Slusallek (2018). "Foveated Depth-of-Field Filtering in Head-Mounted Displays". ACM Transactions on Applied Perception, vol. 15, no. 4. https://doi.org/10.1145/3238301. Retrieved 2026-10-04.
  22. ↑ Steven A. Cholewiak, Gordon D. Love, Pratul P. Srinivasan, Ren Ng, Martin S. Banks (2017-11). "ChromaBlur: Rendering chromatic eye aberration improves accommodation and realism". ACM Transactions on Graphics, vol. 36, no. 6. https://doi.org/10.1145/3130800.3130815. Retrieved 2026-10-04.
  23. ↑ Ben Lang (2018-05-02). "Oculus Reveals 140 Degree VR Headset Prototype with Varifocal Displays". Road to VR. https://www.roadtovr.com/facebook-oculus-half-dome-prototype-vr-headset-140-degree-varifocal-f8/. Retrieved 2026-10-04.
  24. ↑ 24.0 24.1 24.2 "Introducing DeepFocus: The AI Rendering System Powering Half Dome". Meta Quest Blog. Meta. 2018-12-19. https://www.meta.com/blog/introducing-deepfocus-the-ai-rendering-system-powering-half-dome/. Retrieved 2026-10-04.
  25. ↑ Jeremy Horwitz (2018-12-19). "Oculus reveals DeepFocus, an open source AI renderer for varifocal VR". VentureBeat. https://venturebeat.com/2018/12/19/oculus-reveals-deepfocus-an-open-source-ai-renderer-for-varifocal-vr/. Retrieved 2026-10-04.
  26. ↑ "DeepFocus: Learned Image Synthesis for Computational Displays". GitHub. Meta (facebookresearch). https://github.com/facebookresearch/DeepFocus. Retrieved 2026-10-04.
  27. ↑ Scott Hayden (2018-12-19). "Facebook Open-sources DeepFocus Algorithm for More Realistic Varifocal VR Rendering". Road to VR. https://www.roadtovr.com/facebook-open-sources-deepfocus-algorithm-realistic-varifocal-vr-rendering/. Retrieved 2026-10-04.
  28. ↑ Kurt Akeley, Simon J. Watt, Ahna Reza Girshick, Martin S. Banks (2004). "A stereo display prototype with multiple focal distances". ACM Transactions on Graphics, vol. 23, no. 3, pp. 804-813. https://doi.org/10.1145/1015706.1015804. Retrieved 2026-10-04.
  29. ↑ Rahul Narain, Rachel Albert, Abdullah Bülbül, Gregory J. Ward, Martin S. Banks, James F. O'Brien (2015). "Optimal presentation of imagery with focus cues on multi-plane displays". ACM Transactions on Graphics, vol. 34, no. 4. https://doi.org/10.1145/2766909. Retrieved 2026-10-04.
  30. ↑ Pawan K. Shrestha, Matt J. Pryn, Jia Jia, Jhen-Si Chen, Hector Navarro Fructuoso, Atanas Boev, Qing Zhang, Daping Chu (2019). "Accommodation-Free Head Mounted Display with Comfortable 3D Perception and an Enlarged Eye-box". Research, vol. 2019. doi:10.34133/2019/9273723. https://pmc.ncbi.nlm.nih.gov/articles/PMC7006945/. Retrieved 2026-10-04.
  31. ↑ George Alex Koulieris, Kaan Akşit, Michael Stengel, Rafał Mantiuk, Katerina Mania, Christian Richardt (2019). "Near-Eye Display and Tracking Technologies for Virtual and Augmented Reality". Computer Graphics Forum, vol. 38, no. 2, pp. 493-519. https://doi.org/10.1111/cgf.13654. Retrieved 2026-10-04.
  32. ↑ Ren Ng, Marc Levoy, Mathieu Brédif, Gene Duval, Mark Horowitz, Pat Hanrahan (2005-04). "Light Field Photography with a Hand-held Plenoptic Camera". Stanford University Computer Science Tech Report CSTR 2005-02. https://graphics.stanford.edu/papers/lfcamera/. Retrieved 2026-10-04.
  33. ↑ "In-Camera VFX Depth of Field Compensation for Unreal Engine". Unreal Engine Documentation. Epic Games. https://dev.epicgames.com/documentation/en-us/unreal-engine/in-camera-vfx-depth-of-field-compensation-for-unreal-engine. Retrieved 2026-10-04.