VertexShader
Place every vertex yourself. A whole field of swaying grass comes from one short shader and no mesh at all.


After: A VertexShader that roots the 4500 blades on a spiral 2.4 studs across, tallest at its centre.
The vertex stage of a Shader. There are no vertex buffers. Each of VertexCount vertices, InstanceCount times over, is placed from gl_VertexID and gl_InstanceID, and you write gl_Position, with uViewProj and uModel given. Write glueAlbedo to colour it; uTime follows the playhead of the video you last played or scrubbed. In Rendered, a Traced Shader drawing Triangles has this stage captured into the path trace, so it casts shadows and bounces light.
