

This adds Build engine-styled sprite shadows directly into the engine. Inspired by my very popular mod, SpriteShadows (which is in turn, inspired by the Build engine games :P). Most likely more than 10k downloads since 2017; too bad I never kept the old versions around to document their download counters, but they were all 4 digits.
This feature is meant to supersede the mod version.
- Works for both software and hardware renderer
- New actor flags: +CASTSPRITESHADOW to enable sprite shadows on an actor, and +NOSPRITESHADOW to forcefully disable sprite shadows on an actor
New CVar: r_actorspriteshadow
0 = sprite shadows will never be rendered
1 = default - no sprite shadows rendered unless actor has flags set explicitly
2 = always on - will forcefully draw shadows for living things (monsters and players)
Pull Request