Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


BuiltInLegacyDiffuse

A built-in material that uses the legacy Lambert (diffuse) lighting model and has optional normal map support.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.TerrainModule
Warning
Deprecated. Enum type MaterialType is not used any more.
BuiltInLegacyDiffuse = 1

Remarks

The actual built-in shader used is Nature/Terrain/Diffuse.