encodeLightmap
encodeLightmap(
rgb,count):Uint8Array
Defined in: lightmap/bake.ts:225
Irradiance to atlas bytes: sqrt(v / LIGHTMAP_RANGE) per channel, alpha 255.
Parameters
Section titled “Parameters”Float32Array
number
Returns
Section titled “Returns”Uint8Array