Function CubeTextureCreateFromPrefilteredData
-
CubeTextureCreateFromPrefilteredData(
url: string,
scene: Scene,
forcedExtension?: any,
createPolynomials?: boolean,
): CubeTextureParameters
- url: string
defines the url of the prefiltered texture
- scene: Scene
defines the scene the texture is attached to
- forcedExtension: any = null
defines the extension of the file if different from the url
- createPolynomials: boolean = true
defines whether or not to create polynomial harmonics from the texture data if necessary
Returns CubeTexture
the prefiltered texture
- url: string
Creates and return a texture created from prefilterd data by tools like IBL Baker or Lys.