captureReflection
captureReflection(
at,bvh,lookup,atlas,atlasSize,width,height,sky):CapturedPanorama
Defined in: lightmap/reflection.ts:43
Captures the sphere seen from at, as an equirectangular panorama.
The mapping is the environment importer’s — centre column +Z, row 0 +Y —
because this is handed to that importer’s own prefilter. atlas is the solved
light field by texel, as the probes read it; sky answers the rays that leave.
Parameters
Section titled “Parameters”readonly [number, number, number]
Bvh
lookup
Section titled “lookup”HitLookup
Float32Array
atlasSize
Section titled “atlasSize”number
number
height
Section titled “height”number