Three.V8

3D rendering engine using JavaScript as user script.

View on GitHub

<–Home

class EnvironmentMap

class EnvironmentMap extends IndirectLight

Inheritance IndirectLight –> EnvironmentMap

Name Description
Constructors  
EnvironmentMap() Creates a new EnvironmentMap.
Properties  
shCoefficients Spherical harmonics basis

Constructors

EnvironmentMap()

EnvironmentMap()

Usually not created directly. Use EnvironmentMapCreator class to create an EnvironmentMap object.

Properties

shCoefficients

.shCoefficients: Array

Spherical harmonics basis. An array of 9 elements, each of which is an array of 3 numbers.