Search Unity

Showcase [Open Source] Screen Space Reflection for URP 14

Discussion in 'Universal Render Pipeline' started by wwWwwwW1, May 23, 2023.

  1. wwWwwwW1

    wwWwwwW1

    Joined:
    Oct 31, 2021
    Posts:
    769
    Hi, it's been a while since last time I made the UnitySSPathTracing for URP. It helped me better understanding the theories of lighting.

    As the official URP SSR is still under consideration, I decide to make my own screen space reflection solution for URP 14 (or above) and provide it to the public.

    Link: https://github.com/jiaozi158/UnitySSReflectionURP

    Support all rendering path, both perspective and orthographic cameras.

    Doesn't support XR platforms because I cannot reconstruct world position from depth correctly. (the stereo matrices are not set) I used to make it work in a full screen shader graph but failed after porting to code shaders.

    Other features and limitations are listed in the repository's readme page.

    Enable SSR:
    StormTrooperSSR.jpg

    Disable SSR:
    StormTrooper.jpg

    You can control SSR settings in a URP Volume:
    URP_Volume_SSR.png
     
    Peter-Bailey, lilacsky824 and Onigiri like this.