ProbeVolumeDocument
Defined in: sdk/src/lightmap/probeFile.ts:33
A solved grid: what a bake produces and what a load hands the engine.
Properties
Section titled “Properties”bricks?
Section titled “bricks?”
optionalbricks?:ArrayLike<number>
Defined in: sdk/src/lightmap/probeFile.ts:45
A sparse grid: four ints a brick (first finest-brick cell x, y, z and its span), and the irradiance and sky visibility then hold PROBES_PER_BRICK probes a brick, in turn. Absent for a dense grid.
irradiance
Section titled “irradiance”irradiance:
ArrayLike<number>
Defined in: sdk/src/lightmap/probeFile.ts:39
Nine RGB coefficients per probe, x fastest then y then z.
resolution
Section titled “resolution”resolution: [
number,number,number]
Defined in: sdk/src/lightmap/probeFile.ts:37
Probes along x, y and z.
skyVisibility?
Section titled “skyVisibility?”
optionalskyVisibility?:ArrayLike<number>
Defined in: sdk/src/lightmap/probeFile.ts:42
Baked with sky occlusion: nine coefficients per probe of how much of the sky each sees, and the irradiance then holds the lights alone. Absent otherwise (the irradiance holds the sky as it was).
version
Section titled “version”version:
number
Defined in: sdk/src/lightmap/probeFile.ts:35
The version the file was written as; a document about to be written carries the one it will be.