normalMap(...)
normalMap(val: string): this;
normalMap(val: Texture): this;
Sets the texture map that defines how the object's surface reflects light. This is used to simulate height detail.
Default Value: null
Parameters
Parameter | Type | Description |
---|---|---|
val | string, Z.Texture | The texture that defines how the object's surface reflects light. |
Returns
this