Skip to main content

Function: createAreaLightLTCTextures()

createAreaLightLTCTextures(device): object

Defined in: modules/engine/src/lighting/ltc-textures.ts:10

Creates caller-owned GGX LTC tables. Destroy once all models using the bindings are destroyed.

Parameters​

device​

Device

Returns​

object

bindings​

bindings: object

bindings.areaLTCAmplitude​

areaLTCAmplitude: Texture = amplitude

bindings.areaLTCMatrix​

areaLTCMatrix: Texture = matrix

destroy()​

destroy(): void

Returns​

void