跳转到内容

BakeSurface

此内容尚不支持你的语言。

Defined in: lightmap/atlas.ts:16

One object to bake: geometry with a lightmap UV set, and where it stands.

optional albedo?: 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: ArrayLike<number>

Defined in: lightmap/atlas.ts:19

Column-major 4x4, as glm and the engine write one.