@babylonjs/core
Version:
Getting started? Play directly with the Babylon.js API using our [playground](https://playground.babylonjs.com/). It also contains a lot of samples to learn how to use it.
21 lines (20 loc) • 664 B
TypeScript
import type { BaseTexture } from "../../Materials/Textures/baseTexture.js";
import type { Tuple } from "../../types.js";
/**
* Linearly transformed cosine textures that are used in the Area Lights shaders.
*/
export type ILTCTextures = {
/**
* Linearly transformed cosine texture BRDF Approximation.
*/
LTC1: BaseTexture;
/**
* Linearly transformed cosine texture Fresnel Approximation.
*/
LTC2: BaseTexture;
};
/**
* Loads LTC texture data from Babylon.js CDN.
* @returns Promise with data for LTC1 and LTC2 textures for area lights.
*/
export declare function DecodeLTCTextureDataAsync(): Promise<Tuple<Uint16Array, 2>>;