ドキュメント

Unity Engine

Unity Engine

Grass

The detail prototype will use the grass shader.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

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.