Skip to content

DecalBakeOptions

Defined in: decal/bake.ts:93

A decal’s geometry: the surface under a projector, cut to its box. Ordinary triangles, so nothing downstream — lighting, shadows, instancing, culling, picking — has to learn what a decal is; what wins it against the surface it was cut from is the depth bias its material carries.

Pre-1.0: the cut follows what an authoring panel needs.

optional facing?: number

Defined in: decal/bake.ts:95

How far from facing the projector a surface may be.

DEFAULT_FACING_COSINE