codingmonkey
let’s say in scene i have an 10 objects
the 3 of them are with red material
other 3 with green
and other 4 with white material
how i can collect or grab all object what have green and red materials to my custom render pass ?