Bake vertex positions into a texture, avoiding allocating extra heap/GC memory to retrieve vertex positions.
A game developer and software engineer Keijiro Takahashi, who worked at Sony Computer Entertainment for ten years, and who is now developing stuff for Unity Technologies, has an amazing project called Skinner you might have heard of.
Skinner is a collection of special effects that use vertices of an animating SkinnedMeshRenderer as emitting points. It uses a special replacement shader to bake vertex positions into a texture, and thus it can avoid allocating extra heap/GC memory to retrieve vertex positions (uses GPU resources instead).
1 of 2
You can find all of the assets along with useful comments from the creator himself here.
Keijiro has many open source projects, which you can find useful. He is also well known for collaborations with musicians and his visual effects for live concerts.
Author: Artyom Sergeev