Interactive Grass Shader — Trails, Mowing, Wind & Terrain


Vivid, stylized colors. Root-to-tip gradient, large color patches, per-blade variation, and Saturation and ... The Slope Limit keeps grass only on surfaces that face up, like mossy rocks.


by KOFT


Price History +

Interactive stylized grass with mowing, push effects and wind gusts. Vivid toon visuals, terrain support, and compatibility with HDRP, URP and Built-in.
  • Render pipelines: HDRP 17, URP 17 and Built-in in the same shader (Unity picks the right SubShader). Verified on Metal with HDRP 17.3, URP 17.3 (Forward+) and Built-in (Forward).
  • Unity version: 6000.3+ [VERIFY: test on the oldest Unity version you want to list]
  • Technique: shell grass drawn with GPU instancing (no geometry or tessellation shaders). The MeshRenderer or Terrain draws the ground; the Grass Renderer draws the shells.
  • LOD and culling: per-chunk shell count by distance, chunk frustum culling, separate shadow shell count, max draw distance.
  • Trails: world-space RG trail texture (256–4096) that follows the player and scrolls. Red = bend, green = cut. Bend recovery and cut regrowth speeds are adjustable.
  • Trail sources: 64 emitters / stamps per frame, plus unlimited particle and mesh brushes.
  • Lightmaps: the ground can be lightmapped; the blades use realtime / mixed lighting and light probes.
  • Input: works with the Input System package or the legacy Input Manager.
  • Code: C# with assembly definitions (compiles without HDRP, URP or the Input System installed), full source included.
  • Textures: procedurally generated blade pattern, noise, ground and path textures. Regenerate them from the Tools menu, or use your own.

Fill your world with lush, living grass that reacts to everything. Characters, balls and vehicles push the grass aside, and it slowly stands back up. Lawn mowers, swords or fire can cut it short. Wind gusts roll across the field, and the sun glows through the blades. One shader works in HDRP, URP and the Built-in pipeline, on any mesh and on Unity Terrain.

The grass uses the shell technique, so it needs no geometry shader and runs on Metal, Vulkan, DirectX and consoles. Distance LOD, chunk culling and cheaper shadow casters keep it fast.

Key Features

  • Push the grass aside. Trail Emitters, footprints, particle systems, meshes or a single script call bend and flatten the grass. It stands back up at a speed you choose.
  • Cut and mow. The same trails can cut the grass. It stays short or grows back over time.
  • Vivid, stylized colors. Root-to-tip gradient, large color patches, per-blade variation, and Saturation and Brightness controls. Any season, any color.
  • Toon shading (URP and Built-in): light bands with adjustable count and softness, crisp tip highlights and a rim light. Turn it off for natural, smooth lighting.
  • Wind. Gusts travel across the field with flutter and a gust highlight color. One Grass Wind component drives every grass material.
  • Grass lighting (URP and Built-in): colored shadows, translucency when the sun is behind the blades, and glossy tips. HDRP uses its physically based Lit lighting with all HDRP lights, shadows, GI, fog and motion vectors.
  • Paint grass and paths. The Grass Painter paints where grass grows and how tall it is, right in the Scene view. A noisy border blends grass into the path texture.
  • Grass on any mesh. The Slope Limit keeps grass only on surfaces that face up, like mossy rocks.
  • Terrain support. One click sets up a Unity Terrain with a grass material, a grass map from its layers and a Grass Renderer.
  • Fast. Fewer shells in the distance, off-screen chunks culled, fewer shells for shadow casters, and blades that fade into a grass-colored ground far away.
  • Particle and mesh brushes need no layer setup: they are hidden from cameras and drawn straight into the trail texture.
  • 9 drag-and-drop prefabs: Trail System, Grass Bender, Grass Cutter, Footprints, Particle Brush, Mouse Trail, Grass Wind, Grass Field 20m and Grassy Rock.
  • Demo scene that works in all three pipelines: a rolling ball, a lawn mower, a drone and mouse interaction (left button pushes, right button mows).

Perfect For

  • Open-world, adventure and exploration games
  • Stylized, toon and cozy games
  • Farming, gardening and lawn-mowing games
  • Sports fields, golf and racing (tire tracks)
  • Character footprints in RPG and survival games
  • Seasonal scenes (summer green to autumn gold)