Screen Space Cavity & Curvature (Built-In/URP/HDRP)

$14
Publisher Jolly Theory
File size 137.06kB
Number of files 15
Latest version 1.1.7
Latest release date 2024-05-17 05:20:45
First release date 2022-03-31 04:55:16
Supported Unity versions 2018.4.2 or higher
An edge high-lighting and-low-lighting screen space effect for your objects, inspired by Blender's Viewport Cavity effect.

Forum Thread

✅Built-In (2019.4+) • ✅URP (7.1.8+) • ✅HDRP (7.1.8+)

Compatibility:
  • ✔ Unity 2019 / 2020 / 2021.
  • ✔ Standard render pipeline, forward and deferred.
  • ✔ Universal Render Pipeline 7.1.8+ (Unity 2019+).
  • ✔ High Definition Render Pipeline 7.1.8+ (Unity 2019+).

• Super simple to use: simply add to your camera/render-pipeline and adjust parameters.
• The effect is split into two parts:
  - Control small scale highlighting with "curvature" settings,
  - And larger scale highlights with "cavity" settings.
  Separate settings are available, enabling you to dial in the desired effect:
    - Pixel radius of curvature, its brightness in outward curves and its darkness in inward curves.
    - World radius of cavity, its brightness in outward curves and its darkness in inward curves.
• As a source of screenspace normals, all three sources are available to choose from:
    - G-Buffer normals, Camera normals, and Depth-reconstructed normals.

New feature: Control the effect per-object.
    - Uses a new "output to global shader texture instead of the screen" mode. Example shaders included. Feature available for Builtin[2019/2020/2021], URP[2020/2021].