specularMap(...)
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
Parameter | Type | Description |
---|---|---|
val | string, Z.Texture | The texture that defines the color of the specular highlights on the object's surface. |
Returns
this