Represents the lighting model for a phong material. Used in {@link MeshPhongNodeMaterial}.
Constructor
new PhongLightingModel(specular?)| Parameter | Type | Default Value |
|---|---|---|
| specular? | boolean | true |
Constructs a new phong lighting model.
| Method | Type | Modifiers |
|---|---|---|
| direct | ({ lightDirection, lightColor, reflectedLight }: Object) => void | — |
| indirect | (builder: NodeBuilder) => void | — |
Extends
BasicLightingModel