跳转到内容

bakeLightmap

此内容尚不支持你的语言。

bakeLightmap(surfaces, lights, options?): BakeResult

Defined in: lightmap/bake.ts:205

Bakes lights into an atlas the surfaces can be read through.

Throws when the surfaces do not fit: a bake that quietly shrank someone would light one wall at a different resolution from the next, and the caller is the one who can decide between a bigger atlas and a coarser density.

readonly BakeSurface[]

readonly BakeLight[]

BakeOptions = {}

BakeResult