📄 threejs/Core/Nodes/BasicLightingModel

File: BasicLightingModel.md | Updated: 11/15/2025


title: BasicLightingModel category: Core layout: docs

BasicLightingModel

Represents the lighting model for unlit materials. The only light contribution is baked indirect lighting modulated with ambient occlusion and the material's diffuse color. Environment mapping is supported. Used in MeshBasicNodeMaterial.

Constructor

new BasicLightingModel()

Constructs a new basic lighting model.

Methods

.finish( builder : NodeBuilder )

Implements the environment mapping.

builder | The current node builder.
---|---

Overrides: LightingModel#finish

.indirect( builder : NodeBuilder )

Implements the baked indirect lighting with its modulation.

builder | The current node builder.
---|---

Overrides: LightingModel#indirect

Source

src/nodes/functions/BasicLightingModel.js