BakedLightingData
Defined in: lightmap/components.ts:18
The fields of the BakedLighting component.
Properties
Section titled “Properties”atlasSize
Section titled “atlasSize”atlasSize:
number
Defined in: lightmap/components.ts:20
Side of the square atlas, in texels.
bakedFrom
Section titled “bakedFrom”bakedFrom:
string
Defined in: lightmap/components.ts:35
What the last bake was OF. Empty until one has run; different from what
the scene fingerprints to now means the light is out of date. The baker
writes it — not readonly, which means “the engine computes this and the
editor must not project it into the World”, and this is neither.
bounces
Section titled “bounces”bounces:
number
Defined in: lightmap/components.ts:25
How many times light is allowed to reflect. Zero is direct light only.
probeSamples
Section titled “probeSamples”probeSamples:
number
Defined in: lightmap/components.ts:30
Directions each probe gathers — over the whole sphere, so this buys less per ray than a lumel’s hemisphere does.
samples
Section titled “samples”samples:
number
Defined in: lightmap/components.ts:27
Rays each lumel gathers per bounce.
texelsPerUnit
Section titled “texelsPerUnit”texelsPerUnit:
number
Defined in: lightmap/components.ts:23
How finely a surface is lit, in texels per world unit. A world unit here is a design pixel, so a room is hundreds of them across.