Skip to content

ambientMap(...)

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.

ambientMap(val: string): this;

ambientMap(val: Texture): this;

Sets the texture map that defines how the object’s surface reacts to indirect light sources. This masks the specular and gloss maps attached to the object and makes shadows appear darker.

Default Value: null

ParameterTypeDescription
valstring, Z.TextureThe texture that defines how the object’s surface reacts to indirect light sources.

this