Creates a new PhongMaterial.
The configuration options for the material.
Protected_Cached render manifest to avoid frequent allocations.
Alpha cutoff threshold.
The base color of the material.
The culling mode for this material. Defaults to BACK.
Whether the material performs depth testing. Defaults to true.
Whether the material writes to the depth buffer. Defaults to true.
The diffuse texture map.
The normal map texture.
Scale factor for the normal map to control strength and flip X/Y.
The shininess factor.
The specular reflection color.
The specular map texture.
Whether the material is transparent. Defaults to false.
ReadonlytypeThe type of the material.
The unique identifier of the material.
Static ReadonlyinspectorOwn fields on top of AbstractMaterial.inspector -- see collectInspectorSchema().
Protected_Helper to create a fully-populated base RenderManifest layout.
Protected_Helper to synchronize the base material state (color, culling, etc.) without allocating new objects.
Protected_Helper to synchronize texture offset and repeat from a given texture.
Returns an independent copy of this material (own uuid, own color/other value-type
fields) -- geometry-adjacent references like texture maps stay shared, since texture data is
immutable. Used by Object3D.clone() (Maker's Duplicate command) so a duplicated object's
material edits don't leak back onto the original.
Returns a manifest describing the requirements for rendering this material.
The render manifest.
Material that implements the Phong reflection model.