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
Parameters
Section titled “Parameters”Parameter | Type | Description |
---|---|---|
val | string, Z.Texture | The texture that defines how the object’s surface reacts to indirect light sources. |
Returns
Section titled “Returns”this