Cavity AO
Solid-colour sky shader Limitations ... The readability does. ... The result is stronger shape definition, even with simple materials, flat lighting or ... Designed for real-time projects
by Croquis Apps
Price History +
Compatibility
- Unity 6
- Universal Render Pipeline (URP)
- Render Graph
- Game View and Scene View cameras
- Opaque geometry with depth contribution
Rendering Features
- Screen-space cavity shading for concave details
- Curvature shading for ridges and convex edges
- World-space cavity sampling radius
- Screen-space curvature pixel radius
- Depth-reconstructed surface normals
- Independent cavity darks and brights
- Independent curvature darks and brights
- Global effect intensity
- Darkening Floor to preserve surface colour
- Distance Anchoring for stable detail scale
- Distance Fade Start / End controls
Quality and Performance
- Full resolution
- Half resolution
- Half Upscaled resolution
- Selectable 6, 8, 12 or 20 cavity samples
- Recommended default: 12 samples, Half Upscaled
Integration
- URP Scriptable Renderer Feature
- Unity Volume override and blending
- Effect-only and reconstructed-normal debug views
- Screen compositing
- Global _CavityTexture output for custom shaders
- No additional mesh geometry required
- No material conversion required
Package Contents
- Cavity AO Renderer Feature and Volume component
- Cavity shader and shared HLSL
- Sample scene, geometry and materials
- URP settings and Volume profile
- README, changelog and PDF documentation
- Solid-colour sky shader
Limitations
- Transparent objects do not contribute to cavity generation.
- Reflection and preview cameras are skipped.
- Requires opaque depth and camera post-processing.
The model doesn't change. The readability does.
Unlike traditional ambient occlusion, which primarily darkens contact areas, Cavity AO combines concave cavity shading with convex curvature highlights. The result is stronger shape definition, even with simple materials, flat lighting or stylized geometry.
Designed for real-time projects
- Works directly with Unity 6 URP and Render Graph.
- No mesh preprocessing, additional geometry or material conversion required.
- World-space cavity radius for consistent detail scale.
- Independent dark and bright controls for cavity and curvature.
- Distance anchoring and fading to maintain visual stability.
- Full, Half and Half Upscaled rendering modes.
- Volume-based control and blending.
- Debug views for effect inspection and reconstructed normals.
- Optional global texture output for custom shader integration.
Ideal for
Stylized games, low-poly environments, hard-surface models, architectural scenes, mechanical assets and projects where surface readability matters more than complex material detail.
Cavity AO reconstructs surface normals from opaque scene depth, reducing dependence on individual materials providing a DepthNormals pass.
A simple setup, with precise control over the final look.
Add the Renderer Feature, enable depth and camera post-processing, then configure the Cavity Volume override. Start with the supplied recommended settings and adjust the effect to suit your scene.
Cavity AO is designed to complement your existing rendering style, not replace it.