Capítulo 72 de 859
Node material version of MeshLambertMaterial.
true because lambert materials react on lights.Constructor
| Signature |
|---|
new MeshLambertNodeMaterial( parameters : Object ) |
Properties
| Property | Description |
|---|---|
.isMeshLambertNodeMaterial : boolean (readonly) | This flag can be used for type testing. |
.lights : boolean | Set to true because lambert materials react on lights. |
Methods
| Method | Description |
|---|---|
.setupEnvironment( builder : NodeBuilder ) : BasicEnvironmentNode.<vec3> | Overwritten since this type of material uses BasicEnvironmentNode to implement the default environment mapping. |
.setupLightingModel() : PhongLightingModel | Setups the lighting model. |