How achieve to this mask effect?

I wonder what is the best way to make this mask effect? (shader, target render, clipping?)