Aris Lyu

Summary: Create a large amount of mesh using GPU Instancing in Unity, which is useful for creating grass.

Untitled

The steps to create a square-shaped grass include:

GPU Instancing

The grass is actually a collection of two-piece meshes. Using GPU instancing makes it fast and efficient to render the same mesh in the same draw call.

Untitled

Add more grass count

Add more grass count

Collision

Moving the capsule will cause the nearby grass to wobble.

Untitled

Moving the cube eraser can destroy grass.

Untitled