API

Interface EnvironmentTextureSpecularInfoV1

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

interface EnvironmentTextureSpecularInfoV1 {
    lodGenerationScale: number;
    mipmaps: BufferImageData[];
}
Index
lodGenerationScale: number

Defines the scale applied to environment texture. This manages the range of LOD level used for IBL according to the roughness.

mipmaps: BufferImageData[]

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