Skip to content

Interface: SectionLightData ​

Defined in: packages/minerender/src/world/WorldLight.ts:2

Saved light for a 16³ section. Each channel packs two levels per byte, with the even index in the low nibble.

Properties ​

PropertyTypeDescriptionDefined in
block?Uint8Array2,048 bytes in x + 16z + 256y order. An omitted channel is zero.packages/minerender/src/world/WorldLight.ts:4
sky?Uint8Array2,048 bytes in x + 16z + 256y order. An omitted channel is zero.packages/minerender/src/world/WorldLight.ts:6