Jump to content
  • Advertisement

Archived

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

Azrael

OpenGL Opengl shadows

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

How do you do Softened shadows in opengl? Edited by - Azrael on June 27, 2001 4:45:00 PM

Share this post


Link to post
Share on other sites
Advertisement
I only have time for a brief reply, so if this isn''t enough to get you going, I''ll check back later if someone else hasn''t helped.

Every real-time shadow generation I can think of creates hard shadows as is, but you can modify any of them to create soft shadows. You just have to generate the shadow several times, slightly jittering the light source around its location each time, and then blend the results. You can experiment to see how many times you need to jitter, but obviously as you increase the number, your framerate will drop.

Share this post


Link to post
Share on other sites
i do sort of myopic rhino saiz though i only generate the shadow once + blur it afterwards. of course theres quite a performance hit with this.

http://members.xoom.com/myBollux

Share this post


Link to post
Share on other sites

  • 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!