EventDispatcherMaterialNodeMaterial

MeshLambertNodeMaterial

Node material version of MeshLambertMaterial.

Constructor

new MeshLambertNodeMaterial( parameters : Object )

Constructs a new mesh lambert node material.

parameters

The configuration parameter.

Properties

.isMeshLambertNodeMaterial : boolean (readonly)

This flag can be used for type testing.

Default is true.

.lights : boolean

Set to true because lambert materials react on lights.

Default is true.

Overrides: NodeMaterial#lights

Methods

.setupEnvironment( builder : NodeBuilder ) : BasicEnvironmentNode.<vec3>

Overwritten since this type of material uses BasicEnvironmentNode to implement the default environment mapping.

builder

The current node builder.

Overrides: NodeMaterial#setupEnvironment
Returns: The environment node.

.setupLightingModel() : PhongLightingModel

Setups the lighting model.

Overrides: NodeMaterial#setupLightingModel
Returns: The lighting model.

Source

src/materials/nodes/MeshLambertNodeMaterial.js