just had a great solution emailed to me. Just made a black solid under the ambient occlusion layer and then did a luma inverted matt. Soooo simple.