Vibe Coding Encyclopedia

Scattering grass, flowers and pebbles on surfaces

Select the island surface triangle in proportion to the area, and scatter the grass leaves, flowers, and pebbles as an instance according to the slope and height rules, so that the fields are filled by themselves.

Category
Procedural 3D modeling

Technical terms · Surface scattering (area-weighted sampling) · MeshSurfaceSampler (three/examples) · Slope / height rules · InstancedMesh

Related techniques

Technique document (Korean)