Set the ambient light color||doc135703

September 20, 2022




Sets the color of the ambient light. Ambient light is a kind of low-intensity light, which is formed by multiple reflections of the surrounding environment surface, and is not essentially a light source. The use of ambient light can describe the change of the light and dark boundary of an area, which can reflect the three-dimensional effect to a greater extent, and also affect the color of the object, so that the object is also rendered into the color of the environment.


Variable name type Description
color Vector3 ambient light color

Code Samples