[ Puzzle Unity Package ] < Right Click and select “Save Link As…”
Now with batching! I’ve improved my shader code to now use vertex colors as a way to store data for which mask to use on which edge.
This allows the pieces to batch. (e.g. For a 100×100 puzzle it’s now only 2 draw calls and 998 batched!)
And don’t forget to set all three of the texture mask’s to use Wrap Mode: Repeat. Otherwise you’ll have issues.