Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions src/scene/materials/standard-material.js
Original file line number Diff line number Diff line change
Expand Up @@ -524,6 +524,16 @@ const _tempColor = new Color();
* @property {boolean} shadowCatcher When enabled, the material will output accumulated directional
* shadow value in linear space as the color.
*
* @property {Texture|null} msdfMap The multi-channel signed distance field (MSDF) font texture,
* for text rendering (default is null).
* @property {number} msdfMapUv MSDF map UV channel.
* @property {Vec2} msdfMapTiling Controls the 2D tiling of the MSDF map.
* @property {Vec2} msdfMapOffset Controls the 2D offset of the MSDF map. Each component is
* between 0 and 1.
* @property {number} msdfMapRotation Controls the 2D rotation (in degrees) of the MSDF map.
* @property {boolean} msdfTextAttribute Use vertex attributes to control text rendering, if
* MSDF map is set.
*
* @category Graphics
*/
class StandardMaterial extends Material {
Expand Down