Jump to content
  • Advertisement
Sign in to follow this  
paladinzzz

creating a simple shadow

This topic is 4947 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

Hi, I'm trying to find the best way to create a simple shadow of my character. That's somthing like a round dark disc under his foot. I think the fastest way is to just draw a quad with some blending texture shaped like a disc, but it doesn't addapt to the unflat surface. I know shadow volume can do this, but I don't want to use the stencil buffer if I don't have to. Shadow map can help but that need shader supoort otherwise it's very slow. Are there any other tricks around? Thanks zzz

Share this post


Link to post
Share on other sites
Advertisement
You could try decal texturing (like bullet holes in a wall). The simplest method will not conform to a shape, only a plane. There are more advaced versions to handle that.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!