tools like Blender can pre-calculate (aka, bake) an
ambient occlusion map and save it as a texture.
rendering, you can use the texture to reduce the brightness of fragments.
an AO map is efficient, but does not model the ambient occlusion resulting from
other nearby objects and does not change with movement.
example of this is in the Cookbook.