Ambient Occlusion on Fortnite character
Image source

What is an Ambient Occlusion (AO) Map?

Tips3D Written by Thomas Denham Disclosure: This post may contain affiliate links. That means if you buy something we get a small commission at no extra cost to you(learn more)

An Ambient Occlusion or AO map is a grayscale map which contains lighting data. It is not typically used as its own map, and is instead usually combined with the diffuse map to bake in soft shadows.

In 3D engines(both real time and otherwise) most lighting and shadow information in the final displayed image output is taken from the lights used in the scene.

This is usually done in one of two ways:

  • The workstation calculating the light’s interaction with objects in the scene during the render, done in all production CPU rendering and most real time engines running on modern hardware.
  • The workstation doing a kind of ‘pre-render’ to bake lighting highlights and shadows into a lightmap. A lightmap produces a new diffuse map with all the lighting information projected onto it. This means the render engine then uses no lighting information during render time which really softens the load on the end user’s machine.

The 2nd situation above is useful for real time engines running on older hardware, or lower spec devices like mobile phones.

An ambient occlusion map is similar to a lightmap, but shouldn’t be confused with one.

AO Maps are much more subtle than a lighting map and are actually used as well as lighting information at render time, not instead of.

The way its output works technically does not cast shadows like a lightmap would. It just calculates areas of the mesh that are facing away from the light source and darkens them, without taking any further meshes into account.

This gives an illusion of self-shadowing but will not cast a shadow of one object onto another.

Ambient occlusion process in Maya
Image source

AO maps tend to only have subtle shadows and highlights, which are then usually overlaid on other maps (usually diffuse, but some people combine it with their metalness or specular maps instead). This is done in 2D software such as Photoshop.

The end result is that when your model is unlit it will still have some simple light information stored on it like it was in an ambiently lit environment (hence the name, ambient occlusion).

Once this is combined with your other lighting it helps strengthen your shadow detail and makes a lot of the finer details of your models pop!

AO maps are a very commonly used tool in modern 3D applications, with almost all of them having some built-in functionality that allows you to bake these maps.

Some software like Substance Painter allows you to paint directly onto your AO maps, thereby giving you more artistic freedom with their output.

Either way, these are a very useful addition to any high quality render. And I do recommend looking into the best ways to implement them into your workflow.

Author: Thomas Denham

Thomas is a 3D creative working with both high and low poly modelling for still renders or real time engines. He is currently working freelance after spending 4 years at a multi-national VR company. To see Thomas' work and learn more, feel free to look at his personal site.