Constructor
new LambertMaterial(webglContext, optionsopt)
Creates a new `LambertMaterial`.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
webglContext |
WebGL2RenderingContext | WebGL2 rendering context used to compile shaders. | |
options |
LambertMaterialOptions |
<optional> |
Material options. |
- Source: