specularColor(...)

specularColor(val: number[]): this;

Sets the color of the specular highlights on the object's surface. This replaces the need for a specularMap.

Default value: [0.9, 0.9, 0.9]

Parameters

Parameter Type Description
val array The value to set the specular highlight color to, in the following form: [r,g,b]. Each component is a number between 0 and 1.

Returns

this

zapcode branded_zapcode i