Sharp Shadows Toolkit

The Sharp Shadows Toolkit is a code package that brings sharp, pixel-perfect shadows to your Lightweight/Universal Render Pipeline project. Many games and experiences target a non-photo-realistic art style for which sharp shadows are better suited than the built-in shadows that tend to be either too soft or too jagged, especially on low quality settings.

The toolkit can be useful in a wide variety of scenarios, from a single accurate drop-shadow for the main character in a mobile game to ubiquitous high quality shadows for an architecture visualization project.

Features

Current Limitations

Supported Unity builds

Unity version Build tested LWRP/URP version
Unity 2019.1 2019.1.10f1 5.7.2
Unity 2019.2 2019.2.3f1 6.9.1
Unity 2019.3 2019.3.0b2, 2019.3.5f1 7.0.1, 7.1.8
Unity 2021.1 2021.1.11f1 11.0.0
Unity 2021.2 2021.2.6f1, 2021.2.19f1 12.1.2, 12.1.6

Important note on URP 7.2-10.5: Unity changed the way shadows are handled between URP 7.2 and 10.5 and as a result, the most natural shadow mode (“Inject Into Screen Space Shadow Resolve Texture”) is not available in these versions. Supported versions are stated above. Starting with Unity 2021 and URP 11, the toolkit is again feature complete!