• Advertisement

Archived

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

Sprite Shadows

This topic is 5882 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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
Advertisement
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
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

  • Advertisement