ambientMap(...)

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

Parameter Type Description
val string, Z.Texture The texture that defines how the object's surface reacts to indirect light sources.

Returns

this

zapcode branded_zapcode i