← All resources

Grass Geometry Shader (Roystan)

Auto-discovered

Blog Advanced

Roystan

Visit resource ↗

Description

Erik Roystan Ross's Unity Grass Shader Tutorial on roystan.net is a Built-in RP walkthrough, billed at about sixty minutes, that extends a downloadable starter scene in HLSL.

A geometry shader emits tangent-aligned blade triangles from mesh vertices, with randomized size, tip-to-root color, hull and domain tessellation for density, scrolling wind from a 2D map, curved multi-segment strips, and passes that cast and receive shadows with simple forward lighting.

Readers need intermediate Unity shader skill and a GPU supporting geometry and tessellation (target 4.6); helpers such as UnityObjectToClipPos target Built-in RP, not URP or HDRP.

Numbered sections cover geometry, tessellation, wind, curvature, and lighting, with starter and completed downloads and a commented final shader.

It is widely linked in Unity foliage and shader learning lists, including the Cyanilux resources gist.