Cycles alpha mask hole I use Cycles. The main goal is to render different objects from various scenes into separate files using alpha mask. It’s necessary to ensure that in future pictures do not overlap, when images superimposed out of order. All fine, BUT there is one nuance:



Between layers (images) there are gaps (holes).

I have found solution for similar problem but for internal render. There had to disable antialiasing.

In my case, I’ve experimented with nodes, but the result virtually unchanged:


Please advise how is it possible to remove all gaps (holes)?

Attached blend file with the settings I used.
There are a couple issues. My first question is why are you using two scenes? That will really complicate things. In this answer I have only addressed one as you can copy that information to the second one.

The first thing I noticed is you have your makes layers set, and although that could be handy in many instances, it really is not necessary in this case. Go ahead and disable all of them on all render layers:



Also you should try and change your compositor setup, all you need is something like this:



This setup gives me a nice result, and the issues you mentioned appear to have been fixed.