A material used internally for implementing shadow mapping with point lights.
Can also be used to customize the shadow casting of an object by assigning an instance of MeshDistanceMaterial to [[Object3D#customDistanceMaterial]]. This approach can be used to ensure transparent parts of objects do not cast shadows.
Attributes
- Companion
- object
- Graph
-
- Supertypes
Members list
Value members
Concrete fields
The alpha map is a grayscale texture that controls the opacity across the surface (black: fully transparent; white: fully opaque).
The alpha map is a grayscale texture that controls the opacity across the surface (black: fully transparent; white: fully opaque).
Attributes
The offset of the displacement map's values on the mesh's vertices.
The offset of the displacement map's values on the mesh's vertices.
Attributes
The displacement map affects the position of the mesh's vertices.
The displacement map affects the position of the mesh's vertices.
Attributes
How much the displacement map affects the mesh (where black is no displacement, and white is maximum displacement).
How much the displacement map affects the mesh (where black is no displacement, and white is maximum displacement).
Attributes
This flag can be used for type testing.
This flag can be used for type testing.
Attributes
The color map. May optionally include an alpha channel, typically combined with transparent or alphaTest properties.
The color map. May optionally include an alpha channel, typically combined with transparent or alphaTest properties.
Attributes
Inherited fields
Attributes
- Inherited from:
- Material
Attributes
- Inherited from:
- Material
Attributes
- Inherited from:
- Material
Attributes
- Inherited from:
- Material
Attributes
- Inherited from:
- Material
Attributes
- Inherited from:
- Material
Attributes
- Inherited from:
- Material
Attributes
- Inherited from:
- Material
Attributes
- Inherited from:
- Material
Attributes
- Inherited from:
- Material