Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#

RenderSettings.ambientLight

public static Color ambientLight;

Description

Flat ambient lighting color.

Flat ambient lighting mode uses color. It has the same value as ambientSkyColor.

using UnityEngine;

public class Example : MonoBehaviour { void Start() { // Make the ambient lighting red RenderSettings.ambientLight = Color.red; } }

Did you find this page useful? Please give it a rating: