Lagging when I'm using hundreds of masks

I’m trying to make a jigsaw puzzle game with larger amount of pieces.

I make every piece of puzzle with sprite and geometry mask. Everything seems fine when I render 1000 or 10000 sprites without mask, however when I attach mask even for 100 sprites, it’s too laggy, and unplayable. Geometry mask is needed because of the real jigsaw shape.
How should I solve this problem?

:wave:

I would try CanvasTexture or RenderTexture instead.