Specify colour masks in Custom Stencil Pass

Hi! here’s what I used for a short film, you have 52 differents ID’s to use, you’ll need to assign an ID in that range (1-52) to the Custom Depth Stencil Value of each mesh, it’s not the prettiest thing but it works, remember when rendering this pass to disable the tone mapper otherwise your colors might not be accurate.

link text

2 Likes