An edge high-lighting and-low-lighting screen space effect for your objects, inspired by Blender’s Viewport Cavity effect.
For more detail this asset from the Unity Asset Store: Click Here
This is a paid asset, but now you can download the “Screen Space Cavity Curvature” for FREE, Please keep in mind this package is provided only for learning purposes or to be able to test before buying the product, NOT FOR COMMERCIAL PURPOSES.
Screen Space Cavity Curvature (Built-In/URP/HDRP) v1.1.7 (Latest version)
Screen Space Cavity Curvature (Built-In/URP/HDRP) v1.1.0
“If possible, please buy the package to support the developer”
✅ Built-In (2019.4+) • ✅ URP (7.1.8+) • ✅ HDRP (7.1.8+)
Compatibility:
• ✔ Unity 2019 / 2020 / 2021 / 2022 / 2023.
• ✔ 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].