Skip to content

encodeLightmap

encodeLightmap(rgb, count): Uint8Array

Defined in: lightmap/bake.ts:225

Irradiance to atlas bytes: sqrt(v / LIGHTMAP_RANGE) per channel, alpha 255.

Float32Array

number

Uint8Array