I wanted to add an outline effect to my game and by searching through tutorials and documentation that custom pass volumes are the way to go to achieve this.
However I use gameobject layers rather heavily for physics in my game and I can’t really change layers on interactive objects easily.
Is there a way to supply a different filter to a custom pass instead of layers? An array / list of gameobjects maybe or sth similar?
Okay i have not tested it but I wanted to answer my own question. Inside the TIPS example you can find how to draw a single mesh through the commandbuffer of the rendercontext.