I tried to create a mask that take account windows in my scene. The windows have the shader below :
I can’t have the mask in the Material ID pass with this shader. If I use only the principled, it works.
Is there a workaround for this please ?