The Sharp Shadows Toolkit is a code package designed to bring sharp, pixel-perfect shadows to your Universal Render Pipeline (URP) project. It's ideal for games and experiences that target a non-photo-realistic art style, where sharp shadows are more suitable than the built-in shadows. This toolkit can be used in various scenarios, from mobile games to architecture visualization projects, and offers seamless editor integration and two rendering modes.
Features:
- Dynamic pixel-perfect shadows for Lightweight/Universal Render Pipeline
- No jagged shadow edges or visible pixels
- Seamless editor integration using automatic asset post processing
- Two rendering modes
- Inject into screen space shadow texture for optimal image quality
- Draw after opaque geometry for optimal performance
- Handles both skinned and non-skinned meshes
- No restriction on the mesh geometry of the shadow caster
- Multi-object editing
- Fog support
Current Limitations:
- For the Lightweight/Universal Render Pipeline only
- Only supports the main directional light of the scene
- No support for custom vertex displacement
- Alpha blended or clipped geometry will produce solid shadows (the shape of the triangles)
- Skinned mesh shadows may appear cracked if they are subject to large deformations
- Shadows are not anti-aliased when injected into screen space shadow texture
Please see the readme for a list of compatible Unity and URP versions.





