📖 INDEX
LOADING ENGINE...
SpriteMaterial
THREE.JS REFERENCE // spritematerial
A material for a use with a Sprite.
Syntax
const material = new THREE.SpriteMaterial({ map: texture, color: 0xffffff });Examples
Example 01Basic Usage
const material = new THREE.SpriteMaterial({ map: texture, color: 0xffffff });Best Practices
- Consult the official Three.js documentation for deeper understanding.
- Be mindful of performance when creating many objects or geometries.