Decals are materials that decorate the surface of other materials. They are most commonly used for effects like paint splatters and stickers.
Unity projects these materials into a scene so that they wrap around other scene geometry. This means that you can also use them for effects that simulate projected light, such as blob shadows.
How you work with decals and projectors depends on the render pipeline you use.
功能名称 | 内置渲染管线 | 通用渲染管线 (URP) | 高清渲染管线 (HDRP) |
---|---|---|---|
Decal and projectors | Yes Use the Projector component. |
Yes Use the Decal Renderer Feature. |
Yes Use the Decal Projector. |