bagginsbill opened this issue on Oct 25, 2007 ยท 273 posts
ice-boy posted Wed, 19 August 2009 at 9:13 AM
Quote - No. AO doesn't pay attention to lighting at all. It calculates occlusion by sampling a bounded hemisphere, looking for stuff nearby. When nothing is nearby, it generates a 1. When stuff is nearby, it generates numbers closer to 0.
Why should AO be ignored if a particular light is shining on it?
Of course if a light is shining on an area producing an AO shadow, that light will make it less dark. But it will not make the AO shadow go away completely, because it shouldn't.
but you said
''ice-boy what do you mean there should be no AO where the light comes from?
AO is supposed to be used to block the IBL. The same spot may also have a directional shadow. The directional shadow should correspond to the blocking of directional light, and the AO shaodw should correspond to the blocking of ambient light - usually implemented as IBL.
If you use light-based AO on the IBL, this will work perfectly.''