Function loadDdsEnvironment
-
loadDdsEnvironment(
scene: SceneContext,
url: string,
options: { brdfUrl: string; skipGround?: boolean; skipSkybox?: boolean },
): Promise<EnvironmentTextures>Parameters
- scene: SceneContext
- url: string
- options: { brdfUrl: string; skipGround?: boolean; skipSkybox?: boolean }
Returns Promise<EnvironmentTextures>
Load a DDS cubemap environment for PBR IBL. Uploads ALL mip levels (prefiltered data) and computes spherical harmonics from mip 0 face data for irradiance lighting.