Reflection Mapping
Reflection Mapping
Definition
Reflection Mapping is the process of using environment data to generate reflections.
Workflow
Environment
↓
Reflection Map
↓
Material
↓
Reflection
Example
scene.environment =
hdrTexture;
const material =
new THREE.MeshPhysicalMaterial({
metalness: 1,
roughness: 0
});
Result
The object reflects the HDR environment.