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.
Parameters
Section titled “Parameters”surfaces
Section titled “surfaces”readonly BakeSurface[]
lights
Section titled “lights”readonly BakeLight[]
options?
Section titled “options?”BakeOptions = {}