Ambient

Ambient is not creatable, there's only one instance of it. It can only be accessed through its globally exposed variable.

Ambient defines a number of general lighting and color properties.

Properties

Overrides the ambient color to the given value, setting this disables dynamic ambient color.

Set back to nil to switch back to dynamic ambient color which is based on scene lighting.

Factor representing what fraction of the scene's directional lights color Light.Color will contribute to dynamic ambient color, default 0.2.

Factor multiplying the light value of all Shape's baked lighting. Default is 1.0, a value of 0.0 would turn OFF the global light source inside baked lighting. Note that light blocks are not affected by this factor.

Factor representing what fraction of sky light color Sky.SkyLightColor will contribute to dynamic ambient color, default 0.1.