LambertMaterial

new LambertMaterial({ color?, map?, layer?, opacity?, shading?, side? })
THREE: THREE.MeshLambertMaterial

Diffuse lighting material. Receives contributions from all scene lights. Defaults to Shading.Gouraud (per-vertex, interpolated across faces).

Differs from THREE.js

Gouraud shading is per-vertex on the CPU - no fragment-shader interpolation.

Properties

NameTypeDescription
color

Color

Surface color. Default 0xffffff.

map

Texture|undefined

Optional texture map.