Hi folks So with Unity 5 came these things called Setpasses i notice with each material on a object i get a corresponding setpass. What exactly does a setpass entail. Does it redraw the object 200 times if u have 200 setpasses for instance?. Can a setpass be batched like drawcalls?. Thx
AFAIK Setpass is an un-batchable state change / setup on GPU ie drawing to different render textures. You can optimise it by having less post fx. It's fairly expensive ish as it stops the GPU from getting on with things