Skip to content

Chishikii/URP-Render-Features

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

URP Render Features

Various custom render features for unity 2023.2+. These features are written with URP Version 16.0.4 and include RendererLists and the Blitter API.

A big help was this blog post by Cyanilux.

Something you need to be aware of if you're coming from older version is that the blitting has changed to using a fullscreen shader. This shader can get the "_BlitSource" texture directly via a "URP Sample Buffer" node.

Writing depth is a little different as well. RTHandles don't support color and depth / stencil information at the same time.

I've made textures available by setting them as global textures in the command buffer but you could also pass them to the shader directly via ids.

Outline Render Feature

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

Desaturation Render Feature

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

Blur Render Feature

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

About

Custom render features for unity 2023.2+ (non-RG)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published