MediaPipe chaining

MediaPipe chaining is the best example here for multi-pass ShaderPad chaining. The first pass renders webcam stripes inside the face region, and the second pass samples that first ShaderPad instance as a texture via initializeTexture before adding a complementary effect outside the face.

It also demonstrates deliberate pass ordering: pass A advances with step, then pass B reads its fresh output in the same loop. Both passes use the same face setup, so it is a clear example of face-aware compositing.

View source