Archived

This topic is now archived and is closed to further replies.

Norb

Sprite Shadows

Recommended Posts

Norb    122
I tried running a sprite entity through the DrawEntShadow call and I got one long shadow line. How can I get a shadow for a sprite? Is there any sample code?

Share this post


Link to post
Share on other sites
Norb    122
Just an observation that the shadow engine used to be able to show sprite shadows in LStudio. Not sure what changed, but any help would be greatly appreciated.

Share this post


Link to post
Share on other sites
ChrisE    184
The code never supported shadows from sprites. You would need to generate the sprite vertices from the light''s point of view, and then project on the ground.

Share this post


Link to post
Share on other sites