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