Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Unity URP SSAO in "Depth normal" mode (#225) #226

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

anonymous2585
Copy link

Overview

Add support for Unity URP SSAO in "Depth normal" mode.

  • Added DepthOnly and DepthNormals passes called by Unity when drawing SSAO. I had to use some #if UNITY_VERSION >= YYYYMP because the passes have slightly changed from Unity 2021 to Unity 2022.
  • Apply the SSAO shadows texture to objects (only when SSAO is enabled in URP settings). This is done in very basic way, and maybe will need futur improvement (such as don't apply it where there is object glow or proximity light).

Changes

@anonymous2585
Copy link
Author

@microsoft-github-policy-service agree

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for Unity URP SSAO
2 participants