Skip to content

vitsum/urp-ssao

Repository files navigation

URP Screen Space Ambient Occlusion Renderer Feature

This is a sample implementation for SSAO as a RendererFeature in URP. The shader is highly based on this blog post. This has been created for educational purposes, not for production.

Developed and tested on:

  • Unity 2019.3.2f1
  • Universal RP 7.1.8
  • OSX 10.14

This is how it looks:

Debug Debug mode

Enabled SSAO active

Disabled SSAO inactive

Usage

  • create or open a URP project
  • open "Package Manager"
  • click on the "+" icon on the top right
  • "Add package from git URL"
  • paste "https://github.com/sebastianhein/urp-ssao.git" into the input field
  • add new SSAO RendererFeature to the URP settings
  • "depth texture" must be enabled in the URP settings

Known issues/TODOs:

  • HDR doesn't work, the SSAO effect uses RGBA32 rendertexture. Needs a check if the current camera target is HDR enabled.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published