LightProbeGenerator - Verge3D 用户手册 - Soft8Soft
Description: 了解如何在使用 Verge3D 制作的交互式 3D 应用程序中使用 LightProbeGenerator

# LightProbeGenerator

Utility class for creating instances of LightProbe.

## Static Methods

### # .fromCubeTexture(cubeTexture : CubeTexture) → LightProbe

Creates a light probe from the given (radiance) environment map. The method expects that the environment map is represented as a cube texture.

### # .fromCubeRenderTarget(renderer : WebGLRenderer, cubeRenderTarget : WebGLCubeRenderTarget) → LightProbe

Creates a light probe from the given (radiance) environment map. The method expects that the environment map is represented as a cube render target.

The format of the cube render target must be set to `RGBA`.

## 源代码

关于如何获取此模块的源代码，请查看 本页。