Performance

Grassworks performance tuning is mostly about choosing a sensible spatial scale and deciding how much visual detail should remain active at different distances.

Start with the scene, not a universal number

There is no single best tileSize, maxDistance or LOD configuration. Tune them against the camera scale, terrain size and how important distant grass is to the shot.

Practical balance

Smaller tiles provide finer spatial separation for culling and LOD decisions, but increase tile count and management/draw-call overhead. Larger tiles reduce tile overhead but make LOD and culling less spatially precise. Higher maxDistance, density and detail preserve more distant visual quality while keeping more work active.