File: ToonLightingModel.md | Updated: 11/15/2025
Represents the lighting model for a toon material. Used in MeshToonNodeMaterial.
Implements the direct lighting. Instead of using a conventional smooth irradiance, the irradiance is reduced to a small number of discrete shades to create a comic-like, flat look.
lightData | The light data.
---|---
builder | The current node builder.
Overrides: LightingModel#direct
Implements the indirect lighting.
builder | The current node builder.
---|---
Overrides: LightingModel#indirect