LambertMaterial
new LambertMaterial({ color?, map?, layer?, opacity?, transparent?, depthTest?, depthWrite?, shading?, side? })THREE equivalent: 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
Section titled “Properties”| Name | Type | Description |
|---|---|---|
color |
Color |
Surface color. Default 0xffffff. |
map |
Texture|undefined |
Optional texture map. |