Skip to content

encodeLightmap

encodeLightmap(rgb, count): Uint8Array

Defined in: sdk/src/lightmap/bake.ts:253

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

Float32Array

number

Uint8Array