BakeLight
Defined in: lightmap/solve.ts:17
A light as a bake sees one: no shadow maps, no cap on how many.
Properties
Section titled “Properties”color: readonly [
number,number,number]
Defined in: lightmap/solve.ts:23
direction?
Section titled “direction?”
optionaldirection?: readonly [number,number,number]
Defined in: lightmap/solve.ts:22
Where it aims — directional and spot only.
innerCos?
Section titled “innerCos?”
optionalinnerCos?:number
Defined in: lightmap/solve.ts:28
Cosines of the half angles a spot falls off between.
intensity
Section titled “intensity”intensity:
number
Defined in: lightmap/solve.ts:24
kind:
"point"|"directional"|"spot"
Defined in: lightmap/solve.ts:18
outerCos?
Section titled “outerCos?”
optionalouterCos?:number
Defined in: lightmap/solve.ts:29
position?
Section titled “position?”
optionalposition?: readonly [number,number,number]
Defined in: lightmap/solve.ts:20
Where it is — point and spot only.
radius?
Section titled “radius?”
optionalradius?:number
Defined in: lightmap/solve.ts:26
Reach, in world units. Past it a point or spot light contributes nothing.