Legacy Documentation: Version 5.3
LanguageEnglish
  • C#
  • JS

Script language

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

RenderSettings.ambientMode

public static Rendering.AmbientMode ambientMode;

Description

Ambient lighting mode.

Unity can provide ambient lighting in several modes, for example directional ambient with separate sky, equator and ground colors, or flat ambient with a single color.

See Also: AmbientMode.