This package allows you to animate and cast shadows from sprites in a 3D environment. It includes a sprite shadow shader and animation scripts that can be used independently or combined. The shader and scripts are designed to work with all Unity pipelines, including URP, HDRP, and built-in pipelines.
The package includes a sample project and scene that demonstrate how to use the asset. The sample project features an animated 2D character walking around a simple environment, as well as examples of static animated sprites. The code is well-organized and clearly commented, making it easy to understand and expand upon.
Key features include:
- Animated sprites with shadows
- Compatible with URP, HDRP, and built-in pipelines
- Properly cut out shadows from sprites
- Static or moving animated sprites in a 3D environment with shadows
- Works on a simple quad object with sprite sheet material
- Optional HDR based emissive glow can be added to sprites
- Total number of sprite frames can be set for the script in the UI
Support is available for all templates and assets, and feedback or questions can be sent to [email protected].
The code and scripts are well-organized and clearly commented, with XML comments for every class and most methods. The sample project targets URP, but the documentation includes instructions on how to use the shader in the built-in or HDRP pipelines. The sample project and scene contain an example of an animated 2D character walking around a simple environment, as well as examples of static animated sprites. Easily expand the example to manually control the character or add additional movement and collision logic.



