Skip to content
Projects

Robinseibold/Unity-URP-Outlines

View on GitHub

Robinseibold/Unity-URP-Outlines has 717 GitHub stars and 58 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-15 18:40 UTC. Last push 2024-07-27.

How these counts are measured

Measured star growth

in 24h
0
in 7 days
Update delayed
in 15 days
Update delayed
in 1 month
Update delayed

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

About

A custom renderer feature for screen space outlines

Developer Tools

README.md

Original

Outlines

A custom renderer feature for screen space outlines based on Erik Roystan Ross Outline Shader.

for more specific implementation details see YouTube video. Apart from minor adjustments no further improvements has been added.

Usage

  • Add files to your project
  • Enable depth texture in the Universal Render Pipeline Asset
  • Add the 'Screen Space Outlines' renderer feature to the Universal Renderer Data
  • Adjust 'Screen Space Outlines' settings
  • Go to Project Settings > Graphics and add the 2 new ones (Outlines and ViewSpaceNormals) to the list of Always Included Shaders. This is needed to make sure the shaders are included when building the project for a real device.

Known Issues

  • Does not work with objects that utilizes displacement shaders, the normal texture generation does not take the displacement into account
  • Does not work with MSAA, the current work around is to use FXAA or SMAA on the camera instead.

Future Plans

I'm continuously expanding on this implementation, below are some things planned for future releases:

  • Outline generation anti aliasing
  • Varying thickness of outlines based on distance from camera
  • Fog affected outlines
  • and much more