/URP-Render-Features

Custom render features for URP using RenderGraph. Includes outlines, desaturation and blur.

Primary LanguageC#MIT LicenseMIT

URP Render Features

Various custom render features for unity 6. These features are written with URP Version 17.0.3 using RenderGraph and include RendererLists and the Blitter API.

A big help was this blog post by Cyanilux and looking at how unity implemented some of their sample render features. These can be found in the URP package under samples.

Outline Render Feature

The outline render feature is taken from Robinseibold implementation of Erik Roystan Ross Outline Shader. I've made some major adjustments to make it compatible with newer urp versions and the RenderGraph api. You can control which objects receive outlines by specifying LayerMasks and RenderLayers.

You can modify if the outlines should be hidden behind other object or render through.

Hidden Showing

Desaturation Render Feature

Similar to the outlines this feature can be controlled by using LayerMasks and RenderLayers.

NOTE: The is current version is not updated to use the RenderGraph for this feature.

Blur Render Feature

This was take and adapted from Unity's documentation tutorial here.

NOTE: The is current version is not updated to use the RenderGraph for this feature.