📖 INDEX
LOADING ENGINE...
ShadowMaterial
THREE.JS REFERENCE // shadowmaterial
This material can receive shadows, but otherwise is completely transparent.
Syntax
const material = new THREE.ShadowMaterial({ opacity: 0.5 });Examples
Example 01Basic Usage
const material = new THREE.ShadowMaterial({ opacity: 0.5 });Best Practices
- Consult the official Three.js documentation for deeper understanding.
- Be mindful of performance when creating many objects or geometries.