Is it possible to render AO with the OpenGL render?
I have come up with a hack to fake AO in the viewport using negative lamps.



The way this works is with a negative point lamp parented at the center of each cube, and an array of negative point lamps below the floor plane:



For the floor it would be more ideal to use an area lamp, however these are only supported in the BGE candy branch.

The world is set to Paper with a pure white Horizon Color. The Ambient color is also set to white.

GLSL shading and Only Render are also enabled.

Blendfile