GrassShape
GrassShape = (
surface) =>GrassShader
What Landscape’s grass takes: a function that shapes the blades over
a heightfield’s surface, which only a page calls, as the grass first draws
and again for each new surface, so a room never builds what only a page
draws. Define it once, outside the component.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
surface |
HeightfieldSurface |