As in the tutorial, the naive way to do this is simply copy the target mesh N time, then create N material instance with different cutoff value. This become akward when you want actually good looking effect, which often require >20 layer. Also, most of time we only want this apply to part of mesh, likely where the grass should be. In addition, each material instance will incresae drawcall. To solve this, we can combine all duplicated mesh into one, and assign different UV to them. Then we can manuplate their postiion&cutoff value in a single material.
To make the duplicating proccess less a hassle, I make a Houdini HDA to handle all the stuff:
Find the mesh section using a specified material
Duplicating it multiple time, also reduce its vertex count if possible
Assign these mesh different UVs, and combine them into a single mesh
It’s also possible to create a editor BP using procedural mesh to acheive all these stuff, but the buidin BP node doesnt give any material infomation, so you has to create a custom node to get them from FStaticMeshSection.MaterialIndex.
By writing a editor plugin, the mesh creation workflow can be further simplified with one click