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
| Property | Type | Description | Defined in |
|---|---|---|---|
block? | Uint8Array | 2,048 bytes in x + 16z + 256y order. An omitted channel is zero. | packages/minerender/src/world/WorldLight.ts:4 |
sky? | Uint8Array | 2,048 bytes in x + 16z + 256y order. An omitted channel is zero. | packages/minerender/src/world/WorldLight.ts:6 |