Plane clipping

How i can cut this 3 nested planes relative to parent ( Plane 2 to Plane. Plane 3 to Plane 2).

I have:
a

I need:
a

You can’t.

Unlike, say, a legacy GUI toolkit, parenting does not impose any sort of clipping effect.

That said, there are many many ways to achieve all kinds of clipping-like effects. Which one is appropriate depends on what you are ultimately trying to do, which we cannot guess without more context.

Some clipping techniques that might apply:

  • Use Projectors for the children
  • Use a RenderTexture
  • Build the geometry in code
  • Manipulate the depth buffer such that the parent cuts depth
  • Write a shader that takes a clip rectangle
  • Use GL directly and use the scissor