Skip to content

LIGHTMAP_RANGE

const LIGHTMAP_RANGE: 8 = 8

Defined in: lightmap/bake.ts:222

The most an atlas texel holds, in units of a flat ambient of one. Stored as the square root of its fraction, alpha opaque: eight plain bits stop at one, and a scale in alpha does not survive a premultiplying decoder. bakedIrradiance reads it.