Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Grass

The detail prototype will use the grass shader.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.TerrainModule
Grass = 2

Remarks

When using custom meshes in this mode, control the wave amount by setting vertex color's alpha channel. Grass will take normals from terrain directly underneath it, so that the shading matches the terrain.