bakeLightmapSteps
bakeLightmapSteps(
surfaces,lights,options?):Generator<BakeStep,BakeResult,void>
Defined in: lightmap/bake.ts:313
A bake as its passes, in order: the driver runs each yielded job over every lumel, on one thread or many, before asking for the next. Throws when the surfaces do not fit rather than shrinking one, which would light it at a different resolution from its neighbours.
Parameters
Section titled “Parameters”surfaces
Section titled “surfaces”readonly BakeSurface[]
lights
Section titled “lights”readonly BakeLight[]
options?
Section titled “options?”BakeOptions = {}
Returns
Section titled “Returns”Generator<BakeStep, BakeResult, void>