Legacy Documentation: Version 5.2
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

QualitySettings.softVegetation

Switch to Manual
public static bool softVegetation;

Description

Use a two-pass shader for the vegetation in the terrain engine.

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

See Also: Quality Settings.