Version: Unity 6.0 (6000.0)
Language : English
Introduction to decals in URP
Create a decal via a Decal Projector in URP

Create a decal via a Decal Renderer Feature in URP

To add decals to your scene:

  1. Add the Decal Renderer Feature to the URP Renderer.

  2. Create a Material, and assign it the Shader Graphs/Decal shader. In the Material, select the Base Map and the Normal Map.

    Example decal Material
    Example decal Material
  3. Create a new Decal Projector GameObject, or add a Decal Projector component to an existing GameObject.

The following illustration shows a Decal Projector in the scene.

Decal Projector in the scene.
Decal Projector in the scene.

For more information, refer to the Decal Projector component.

An alternative way to add decals to a scene:

  1. Create a Quad GameObject.

  2. Assign a Decal Material to the GameObject.

  3. Position the Quad on the surface where you want the decal to be. If necessary, adjust the mesh bias value to prevent z-fighting.

Introduction to decals in URP
Create a decal via a Decal Projector in URP