Legacy Documentation: Version 5.0
Language: English
  • C#
  • JS

Script language

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

RenderSettings.ambientProbe

Switch to Manual
public static var ambientProbe: Rendering.SphericalHarmonicsL2;

Description

Custom or skybox ambient lighting data.

Skybox ambient lighing mode uses this Spherical Harmonics (SH) probe to calculate ambient. You can also assign a completely custom SH probe this way.

See Also: ambientMode, SphericalHarmonicsL2.