import type { Texture } from 'pixi.js'; import type { CubeMipResource } from '../cube'; /** * an object containing environment data for Image based lighting in scenes * * find out more about ibl here: * https://learnopengl.com/PBR/IBL/Specular-IBL * * more info on spherical harmonics here: * http://orlandoaguilar.github.io/sh/spherical/harmonics/irradiance/map/2017/02/12/SphericalHarmonics.html */ export interface Environment { /** * the spherical harmonics of an environment. 9 vec3s that represent ambient light */ sphericalHarmonics: Float32Array; /** * a special cube map that contains special mipmaps that represent roughness stored a RGBE * so the shader needs to unpack it on the fly. * * info here: https://enkimute.github.io/hdrpng.js/ */ specularMap: Texture; } //# sourceMappingURL=Environment.d.ts.map