This repository was archived by the owner on Nov 22, 2022. It is now read-only.
- Notifications
You must be signed in to change notification settings - Fork 69
EnvironmentLight
Lucas edited this page Sep 16, 2019 · 2 revisions
Extends Light. This class provides lighting from an HDRI map.
EnvironmentLight ( map: Texture, color: Integer, intensity: Float )
.map : Texture
The HDRI texture used to provide lighting. A compatible texture can be created with Three's RGBELoader. Otherwise, the texture can be created procedurally. In this case, the encoding property should be set to THREE.RGBEEncoding and the image property should be an ImageData object.