BakeSurface
Defined in: lightmap/atlas.ts:16
One object to bake: geometry with a lightmap UV set, and where it stands.
Properties
Section titled “Properties”albedo?
Section titled “albedo?”
optionalalbedo?: readonly [number,number,number]
Defined in: lightmap/atlas.ts:22
What fraction of each channel the surface reflects. Drives the bounce; a surface that reflects nothing still receives light.
mesh:
MeshData
Defined in: lightmap/atlas.ts:17
transform
Section titled “transform”transform:
ArrayLike<number>
Defined in: lightmap/atlas.ts:19
Column-major 4x4, as glm and the engine write one.