Version: Unity 6.1 Alpha (6000.1)
Language : English
Adding pre-built effects via Renderer Features in URP
Example of creating a custom rendering effect via the Render Objects Renderer Feature in URP

Add a Renderer Feature to a URP Renderer

URP draws objects in the DrawOpaqueObjects and DrawTransparentObjects passes. You might need to draw objects at a different point in the frame rendering, or interpret and write rendering data (like depth and stencil) in alternate ways. The Render Objects Renderer Feature lets you do such customizations by letting you draw objects on a certain layer, at a certain time, with specific overrides.

For examples of how to use Renderer Features, refer to the Renderer Features samples in URP Package Samples.

To add a Renderer Feature to a Renderer:

  1. In the Project window, select a Renderer.

    Select a Renderer.
    Select a Renderer.

    The InspectorA Unity window that displays information about the currently selected GameObject, asset or project settings, allowing you to inspect and edit the values. More info
    See in Glossary
    window shows the Renderer properties.

    Inspector window shows the Renderer properties.
    Inspector window shows the Renderer properties.
  2. In the Inspector window, select Add Renderer Feature. In the list, select a Renderer Feature.

    Select Add Renderer Feature, then select a Renderer Feature.
    Select Add Renderer Feature, then select a Renderer Feature.

    Unity adds the selected Renderer Feature to the Renderer.

    New Renderer Feature added.
    New Renderer Feature added.

Unity shows Renderer Features as child items of the Renderer in the Project WindowA window that shows the contents of your Assets folder (Project tab) More info
See in Glossary
:

Renderer Feature as child item of the Renderer in the Project Window
Renderer Feature as child item of the Renderer in the Project Window

Additional resources

Adding pre-built effects via Renderer Features in URP
Example of creating a custom rendering effect via the Render Objects Renderer Feature in URP