ambientColor(...)
ambientColor(val: number[]): this;
Sets the value of the color burn on the dark areas on the object surface's specified by the ambientMap.
Default value: [0.4, 0.4, 0.4]
Parameters
Parameter | Type | Description |
---|---|---|
val | array | The value to set the color burn to, in the following form: [r,g,b] . Each component is a number between 0 and 1. |
Returns
this