What does Ambient Occlusion do and how demanding is it - Graphics Settings Explained (2024)

Ambient Occlusion is an umbrella term for all sorts of different variations on a theme. When you drill down to it though, whether it’s AO, SSAO, VXAO, HBAO, HDAO, or whatever it may be, it’s a method for tracing shadows based on ambient light sources.

Ambient Occlusion can be fairly succinctly broken down by looking at the name itself. Ambient, meaning the immediate surrounds of something (in games this refers to a light source), and Occlusion, meaning the obstruction of one thing by another. Put together, Ambient Occlusion is the rendering of shadows based upon how exposed the area is to ambient lighting .

So you’ve got a few ambient light sources flinging light out in every direction, including the sun, some lamps, or whatever it may be. This light is scattered every which way and, without tracing, basically lights up an entire scene in an unnatural glow. AO is used to help add shadows to the approximate location where we would expect to see them, such as where two objects meets. An example of this can be seen on the stairs in the pair of Hitman 2 screenshots below.

What does Ambient Occlusion do and how demanding is it - Graphics Settings Explained (1)

What does Ambient Occlusion do and how demanding is it - Graphics Settings Explained (2)

In games, we typically see two forms of AO these days - Screen Space Ambient Occlusion (SSAO) and Horizon-Based Ambient Occlusion (HBAO) (or HDAO for certain AMD titles). Both of these methods are a faster, more streamlined version of true ambient occlusion which use the depth of pixels within a scene to calculate darkness rather than true shadows cast from scene geometry. Using this method, a corner of a room would be darker, for example.

SSAO darkens the corners and edges found in any given scene. It’s artificially achieved rather than directly related to light sources; a crude approximation of global illumination.

The downside to SSAO is that it cannot account for occlusion from either off-screen geometry or on-screen geometry which is occluded. That’s literally why it’s called ‘Screen Space’ AO. It’s an imperfect tool then; one which adds a great deal to visual quality but which will be surpassed by ray-traced lighting and shadows in time.

HBAO is a post processing effect also designed to add realism to scenes by highlighting surface details and reproducing a reduction in light due to occlusion. HBAO arguably delivers more accurate AA than SSAO and, these days, is highly tuned to use minimal GPU time.

What does Ambient Occlusion do and how demanding is it - Graphics Settings Explained (3)What does Ambient Occlusion do and how demanding is it - Graphics Settings Explained (4)

How demanding is Ambient Occlusion?

We would consider a typical application of AO in a game to be mid to high in terms of how demanding it is. The typically frame rate hit you can expect when enabling Ambient Occlusion is between 5-10%. There are exceptions though, such as Apex Legends. Poor implementation at launch mean Ambient Occlusion could cause you to lose up to 20% of your FPS in Apex Legends.

Is it worth enabling Ambient Occlusion?

While AO is a comparatively hacky way of adding more realistic shadows to a scene, in the absence of a realistic alternative it’s absolutely the best way to go. You’ll see from the Gears 5 comparison screenshots below that it’s it at least worth AO on, although notching it up to High or Ultra is arguably a case of diminishing returns.

What does Ambient Occlusion do and how demanding is it - Graphics Settings Explained (5)

What does Ambient Occlusion do and how demanding is it - Graphics Settings Explained (6)

What does Ambient Occlusion do and how demanding is it - Graphics Settings Explained (7)

What does Ambient Occlusion do and how demanding is it - Graphics Settings Explained (8)

Lighting, and by it's very nature the lack of lighting, are absolutely the key to achieving what we could term realistic visuals. Textures and models can pretty much be as complex as we want these days, but sufficient lighting and shadows are required in order to life up a game's visuals to the next level. Ambient Occlusion is a very important step toward this.

Whilst Ambient Occlusion was once a very demanding process, fine-tuning as well as more powerful GPUs mean AO has a very small impact on performance. You will experience lowered frame rates in certain circ*mstances but the base AO settings will offer a decent enough visual experience.

More Graphics Options Guides

Ambient Occlusion

Anisotropic Filtering / Texture Filtering

Decals / Decal Filtering

Sub Surface Scattering

I'm a graphics rendering enthusiast with a deep understanding of various rendering techniques, including Ambient Occlusion (AO) and its different variations. My expertise stems from both theoretical knowledge and practical experience in the field of computer graphics and game development.

Ambient Occlusion is a comprehensive term encompassing various techniques, such as Screen Space Ambient Occlusion (SSAO), Horizon-Based Ambient Occlusion (HBAO), VXAO, HDAO, and more. These methods are employed to trace shadows based on ambient light sources, contributing to the realistic portrayal of scenes in computer graphics.

SSAO and HBAO are two prevalent forms of AO in contemporary gaming. SSAO focuses on darkening corners and edges within a scene, creating a crude approximation of global illumination. However, it has limitations, as it cannot account for occlusion from off-screen or on-screen geometry. HBAO, on the other hand, is a post-processing effect designed to enhance realism by highlighting surface details and replicating the reduction in light due to occlusion. It is often considered to deliver more accurate results than SSAO and is optimized for minimal GPU usage.

The computational demand of Ambient Occlusion can vary, but it is generally considered mid to high in terms of performance impact. Enabling AO may result in a frame rate reduction of approximately 5-10%, though exceptions exist, such as in the case of Apex Legends, where poor implementation led to a 20% FPS loss at launch.

Despite being a somewhat "hacky" method of adding realistic shadows, AO remains a crucial element in achieving visually stunning graphics. It enhances the perception of depth and realism by simulating the impact of ambient lighting on surfaces. While the visual gains from AO are evident, the decision to enable it should be made considering the associated performance cost. In modern games, AO is less demanding, and with fine-tuning and powerful GPUs, its impact on performance is relatively small.

In conclusion, Ambient Occlusion plays a pivotal role in elevating visual quality in games, contributing to the realism of lighting and shadows. It serves as an essential step toward achieving lifelike visuals, and despite its performance implications, the visual benefits often outweigh the drawbacks.

What does Ambient Occlusion do and how demanding is it - Graphics Settings Explained (2024)
Top Articles
Latest Posts
Article information

Author: Jamar Nader

Last Updated:

Views: 5848

Rating: 4.4 / 5 (55 voted)

Reviews: 94% of readers found this page helpful

Author information

Name: Jamar Nader

Birthday: 1995-02-28

Address: Apt. 536 6162 Reichel Greens, Port Zackaryside, CT 22682-9804

Phone: +9958384818317

Job: IT Representative

Hobby: Scrapbooking, Hiking, Hunting, Kite flying, Blacksmithing, Video gaming, Foraging

Introduction: My name is Jamar Nader, I am a fine, shiny, colorful, bright, nice, perfect, curious person who loves writing and wants to share my knowledge and understanding with you.