Skip to content

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.

readonly BakeSurface[]

readonly BakeLight[]

BakeOptions = {}

Generator<BakeStep, BakeResult, void>