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
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.