Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


softVegetation

Use a two-pass shader for the vegetation in the terrain engine.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static bool softVegetation { get; set; }

Remarks

If enabled, vegetation will have smoothed edges, if disabled all plants will have hard edges but are rendered roughly twice as fast.
Additional Resources: Quality Settings.