Skip to content

DecalProjector

const DecalProjector: ComponentDef<DecalProjectorData>

Defined in: decal/components.ts:39

Declares that the entity carrying it prints its material onto what it covers.

The result is an ordinary mesh on this same entity’s MeshRenderer — so instancing, LOD, culling and picking need to know nothing about decals, and the material’s own depth bias is what wins it against the surface.