Ambient Occlusion Problem in nuke


i have composited ambient occlusion over my beauty pass and composited that on mg background…AO is casting contact on background…its only casting on subject…i cant understand where the problem is…


Hard to diagnose without seeing your images, but try unpremultiplying the beauty before combining with the AO, then premultiply again afterward. That should knock out any pixels outside of the alpha.