Skip to content

atlasLayout

atlasLayout(faceSize, mipCount): object

Defined in: sdk/src/lightmap/environmentAtlas.ts:113

The atlas’ pixel size, and where each mip’s face begins in it. Mips stack downward, every face ringed by one texel so a bilinear tap at the edge of one never reaches into the next.

number

number

object

height: number

offsets: number[]

width: number