Over 11,000 five-star assets
Rated by 85,000+ customers
Supported by 100,000+ forum members
Every asset moderated by Unity
SSAO2D provides additional level of visual quality by simulating soft ambient light shadows in 2D space. It accentuates local geometric detail and produces shadows by nearby occluding surfaces.
UPD: An updated version with some fixes and URP support is availiable on Github
Note! This effect based on ZDepth so it does NOT works correctly with default sprite shader or any transparent objects!
Two rewrited standard shaders for unlit and transparent objects with enabled writing to Z buffer are included in the project.
SSAO2D works fast even on mobile devices!
Source code included in the package.
Easy to use. Just add SSAO2D component to the camera!