Documentation

Unity Engine


Unity Engine


Grass

The detail prototype will use the grass shader.
Read time 1 minuteLast updated a month 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.