Inheritance: LightingModel →
Represents the lighting model for a PBR material.
Constructs a new physical lighting model.
clearcoat
Whether clearcoat is supported or not.
Default is false.
sheen
Whether sheen is supported or not.
Default is false.
iridescence
Whether iridescence is supported or not.
Default is false.
anisotropy
Whether anisotropy is supported or not.
Default is false.
transmission
Whether transmission is supported or not.
Default is false.
dispersion
Whether dispersion is supported or not.
Default is false.
Whether anisotropy is supported or not.
Default is false.
Whether clearcoat is supported or not.
Default is false.
The clear coat radiance.
Default is null.
The clear coat specular direct.
Default is null.
The clear coat specular indirect.
Default is null.
Whether dispersion is supported or not.
Default is false.
Whether iridescence is supported or not.
Default is false.
The iridescence F0.
Default is null.
The iridescence F0 dielectric.
Default is null.
The iridescence F0 metallic.
Default is null.
The iridescence Fresnel.
Default is null.
Whether sheen is supported or not.
Default is false.
The sheen specular direct.
Default is null.
The sheen specular indirect.
Default is null.
Whether transmission is supported or not.
Default is false.
Implements the ambient occlusion term.
builder
The current node builder.
Overrides: LightingModel#ambientOcclusion
Implements the direct light.
lightData
The light data.
builder
The current node builder.
Overrides: LightingModel#direct
This method is intended for implementing the direct light term for rect area light nodes.
input
The input data.
builder
The current node builder.
Overrides: LightingModel#directRectArea
Used for final lighting accumulations depending on the requested features.
builder
The current node builder.
Overrides: LightingModel#finish
Implements the indirect lighting.
builder
The current node builder.
Overrides: LightingModel#indirect
Implements the indirect diffuse term.
builder
The current node builder.
Implements the indirect specular term.
builder
The current node builder.
Depending on what features are requested, the method prepares certain node variables which are later used for lighting computations.
builder
The current node builder.
Overrides: LightingModel#start