Rendering more than 256 ids from movie render que.

Hello guys! I am trying to render alot of different actors and want to asign a color mask to each actor. I’ve tried using the “custom depth stencil” value for this and it works great excpet that im constrained by 256 values.

Using MPC doesnt seem viable since i would have to create hundreds of scalars

I tried using a render target approach where i use then use a screenPosition node in the post process material but im struggling to draw pixels accurate enough.

If anyone has done something similar or have any tips please send help! :frowning: