Note: As a new user, I can’t post more than 1 image in a thread, so, I have uploaded all of those in a Shared Folder in my OneDrive. It’s available here: https://1drv.ms/u/s!AnbnhZfRCIxjnVyBEhO7GfYdzwX_?e=QCu8ML
I’m just experimenting with trying to get an Object ID pass in Eevee. I tried to look over the internet, but, most speak about Cycles and nothing that I found for Eevee, really worked. So, I thought of trying something myself.
I created a scene with 3 objects. I want to get an Object ID pass for easy selection of these in Photoshop. I seperated all of those objects into their individual layers. Then, in compositor, I used the RGB node into a Set Alpha node to get those into individual colours. Something like this:
Please check: 1. Individual Nodes.png
It gives me a render as I wanted:
Please check: 2. Cap.jpeg
Please check: 3. Cup.jpeg
Please check: 4. T-Shirt.jpeg
All good till here.
The problem starts when I try to merge the renders of all the 3 objects into one. I used the Alpha Over node and without changing any of its settings, plugged the first two images in one and used another Alpha Over to merge the output of the last image and the first Alpha Over. I finally connected this to my Composite node. It looks like this:
Please check: 5. Final Nodes.png
The problem is that, firstly, the colours turn out different than what I had set, and secondly, the handle of the cup is cut.
Please check: 6. Render.jpeg
Can someone help me with this by pointing out where exactly I’m going wrong, or the possible reasons why this is happening and if and what I can get the output I want.
P.S.: I can still get the Object IDs by saving those individual renders and then use them to make selections in Photoshop, but, all-combined Object ID pass would be a little more convenient.