specularMap(...)
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.
specularMap(val: string): this;
specularMap(val: Texture): this;
Sets the texture map that defines the color of the specular highlights on the object’s surface.
Default Value: null
Parameters
Section titled “Parameters”Parameter | Type | Description |
---|---|---|
val | string, Z.Texture | The texture that defines the color of the specular highlights on the object’s surface. |
Returns
Section titled “Returns”this