Jump to content
  • Advertisement
Sign in to follow this  
azjerei

OpenGL Easiest way to cast shadows?

This topic is 5063 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 am wondering, what way is the easiest way to calculate and draw shadows in an OpenGL rendered scene? I have been looking at both Shadow Volumes, Shadow Mapping and Stencil Shadows; but none of those seem particularly easy to work with. What might you (yeah, you reading this) have used in your program?

Share this post


Link to post
Share on other sites
Advertisement
well... your not going to find an easy way... you could always just do plane projected shadows... their easy... (i think that mighta been what you meant by stenciled) ... and anyways... i think you should look into shadow maps... theyre fairly cheap for the CPU as far as i can tell... and not really that hard to implement...
hope that helps
-Dan

Share this post


Link to post
Share on other sites
Yes, I have read that shadow maps should be the least stressful for the CPU, and they are really what I'd like to use since they look the most like real shadows IMO.

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!