BasicMaterial
new BasicMaterial({ color?, map?, layer?, opacity?, shading?, side? })THREE: THREE.MeshBasicMaterial
Solid color or textured material with no lighting. Defaults to Shading.Flat.
Differs from THREE.js
Accepts hex number, CSS string, or Color instance for color.
Properties
| Name | Type | Description |
|---|---|---|
color | Color | Surface color. Default 0xffffff. |
map | Texture|undefined | Optional texture map. When set, overrides color per-pixel. |