Capítulo 101 de 859

Chapter 101: BasicLightingModel

Core Idea

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.

Reference Tables

Constructor

Signature
new BasicLightingModel()

Methods

MethodDescription
.finish( builder : NodeBuilder )Implements the environment mapping.
.indirect( builder : NodeBuilder )Implements the baked indirect lighting with its modulation.

Key Takeaways

  1. BasicLightingModel extends: LightingModel
  2. Key methods: finish, indirect.

Connects To