Post
Blurring the background or foreground based on a focal point, mimicking how real cameras and eyes focus on specific distances.
Depth of field simulates the optical properties of real camera lenses, where objects at the focal distance are sharp while those closer or farther become progressively blurred. In games, this is achieved as a post-processing effect that reads the depth buffer to determine each pixel's distance from the camera, then applies varying amounts of blur based on that distance relative to the focus point. Bokeh-style implementations simulate the shape of the lens aperture, creating those pleasing circular or hexagonal blur highlights in the out-of-focus areas. Games use DoF in cutscenes for cinematic framing, in gameplay to direct attention, and in photo modes where players want professional-looking screenshots.
Example
The photo mode in Ghost of Tsushima lets players manually adjust depth of field with aperture and focal distance controls, creating images that look like they were shot with an expensive camera lens. Uncharted 4 uses depth of field aggressively in cutscenes to draw your eye to characters' faces during emotional moments. FromSoftware's games apply a subtle distance-based DoF that gives landscapes a grand, almost miniature-model quality that enhances the sense of scale.
Why it matters
Depth of field is a powerful tool for directing player attention and creating cinematic atmosphere. In cutscenes, it guides your eye exactly where the director wants it. In photo modes, it transforms game screenshots into art. Understanding DoF helps appreciate how games borrow from decades of film cinematography to create emotional visual experiences.
Related concepts