Import
LightProbeGridHelper is an addon, and must be imported explicitly, see Installation#Addons.
import { LightProbeGridHelper } from 'three/addons/helpers/LightProbeGridHelper.js';
Constructor
new LightProbeGridHelper( probes : LightProbeGrid, sphereSize : number )
Constructs a new irradiance probe grid helper.
| probes |
The probe grid to visualize. |
| sphereSize |
The radius of each probe sphere. Default is |
Properties
.probes : LightProbeGrid
The probe grid to visualize.
Methods
.dispose()
Frees the GPU-related resources allocated by this instance. Call this method whenever this instance is no longer used in your app.
- Overrides: InstancedMesh#dispose
.update()
Rebuilds instance matrices and UVW attributes from the current probe grid.
Call this after changing probes or after re-baking.