Skip to content

ambientColor( )

Studio is being deprecated, please head over to the documentation page for Mattercraft, our most advanced 3D tool for the web, where you can find the most recent information and tutorials.

ambientColor( ) : number[];

Gets the value of the color burn on the dark areas on the object surface’s specified by the ambientMap, in the following form:

[r, g, b]

Default value: [0.4, 0.4, 0.4]