Renderer · type

LightmapRegion

Where a surface's region of its page is: lightmapUv = uv2 * scale + bias, as [scaleU, scaleV, biasU, biasV]. The whole page is the identity.

Explained in Hello world.

type LightmapRegion = readonly [number, number, number, number]
import type { LightmapRegion } from '@driftengine/core';