We’ve worked on ambient occlusion lighting recently. After several days of coding our conclusion is: no way! So much code and performance for almost nothing! It’s kind of impossible to make it look good with large triangles. :((
But what was really our problem? The problem was lighting of the scene. An ambient light on all materials makes it impossible to see something in caves during the day. Everything is bright. So why do we try to correct the effect that doesn’t perform well with another effect?
With this in mind we just switched off ambient light in caves… Very fast and easy. How does it look?