Documentation

Unity Engine

Download Unity

Unity Engine

softVegetation

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

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
Warning
Deprecated. QualitySettings.softVegetation is deprecated and will be removed in a future release. It's used only by the Built-In Render Pipeline, which is no longer supported. The Universal Render Pipeline (URP) has no equivalent. Remove references to QualitySettings.softVegetation from your scripts. #from(7000.0)
public static bool softVegetation { get; set; }

Remarks

Important: This API is compatible only with the Built-In Render Pipeline, which is no longer supported. For more information on migrating to URP, refer to Migrating from the Built-In Render Pipeline to URP.
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.