Distance fog is a technique used in 3D computer graphics to enhance the perception of distance by simulating fog.
Because many of the shapes in graphical environments are relatively simple, and complex shadows are difficult to render, many graphics engines employ a "fog" gradient so objects further from the camera are progressively more obscured by haze and by aerial perspective. This technique simulates the effect of light scattering, which causes more distant objects to appear lower in contrast, especially in outdoor environments.
"Fogging" is another use of distance fog in mid-to-late 1990s games, when processing power was not enough to render far viewing distances, and clipping was employed. However, the effect could be very distracting since bits and pieces of polygons would flicker in and out of view instantly, and by applying a medium-ranged fog, the clipped polygons would fade in more realistically from the haze, even though the effect may have been considered unrealistic in some cases (such as dense fog inside of a building). Many early Nintendo 64 and PlayStation games used this effect, as in Turok: Dinosaur Hunter, Bubsy 3D, Star Wars: Rogue Squadron, Tony Hawk's Pro Skater, and Superman. The game Silent Hill uniquely worked fogging into the game's storyline, with the eponymous town being consumed by a dense layer of fog as the result of the player having entered an alternate reality. The application of fogging was so well received as an atmospheric technique that it has appeared in each of the game's sequels, despite improved technology negating it as a graphical necessity.
Famous quotes containing the words distance and/or fog:
“A solitary traveler whom we saw perambulating in the distance loomed like a giant. He appeared to walk slouchingly, as if held up from above by straps under his shoulders, as much as supported by the plain below. Men and boys would have appeared alike at a little distance, there being no object by which to measure them. Indeed, to an inlander, the Cape landscape is a constant mirage.”
—Henry David Thoreau (18171862)
“Like a man traveling in foggy weather, those at some distance before him on the road he sees wrapped up in the fog, as well as those behind him, and also the people in the fields on each side, but near him all appears clear, though in truth he is as much in the fog as any of them.”
—Benjamin Franklin (17061790)