lightmapImage
lightmapImage(
pixels,size):Uint8Array
Defined in: lightmap/bake.ts:242
The atlas as an image file holds it: texel row y (second UV v = y / size) in
image row size - 1 - y. The engine uploads a picture bottom-up, so a UV of 0
reads the image’s LAST row; written top-down, every lookup lands on its mirror.
Parameters
Section titled “Parameters”pixels
Section titled “pixels”Uint8Array
number
Returns
Section titled “Returns”Uint8Array