API

Class AreaLightTextureTools

Class used for fast copy from one texture to another

Index
  • Pre-processes the texture to be used with RectAreaLight emissionTexture.

    Parameters

    • source: BaseTexture

      The texture to pre-process

    Returns Promise<Nullable<BaseTexture>>

    A promise that resolves with the pre-processed texture