API

Interface EnvironmentTextureIrradianceTextureInfoV1

Defines the diffuse data enclosed in the file. This corresponds to the version 1 of the data.

interface EnvironmentTextureIrradianceTextureInfoV1 {
    dominantDirection?: number[];
    faces: BufferImageData[];
    size: number;
}
Index
dominantDirection?: number[]

The dominant direction of light in the environment texture.

faces: BufferImageData[]

This contains all the images data needed to reconstruct the cubemap.

size: number

Size of the texture faces.