Jump to content
  • Advertisement
Sign in to follow this  
AndyEsser

OpenGL Shading in OpenGL

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

Ok guys, I'm probably being really dense here, but can someone please explain to me the whole creating shadows in OpenGL. Are they easy? I know this is a bit of a throw-it-at-you question but thanks in advance.

Share this post


Link to post
Share on other sites
Advertisement
It's not really an API issue per say. It's more of, which implementation do you want thing. D3D and OpenGL just provide the basic drawing "blocks", you have to do the filling, in a sense.

Share this post


Link to post
Share on other sites
There three basic method for generate shadow.
The easist one is the project shadow, you project a texture of shadow to the object be shadowed.It's fast and softedge also.
The second way is use stencil shadow volume by generate a shadow volume from object you rendered!Like Doom3 make.
The third way is to use the shadow map, shadow map is the best way to generate a softedge full screen shadow.
All the shadow method is public on net and easy to find sample and articles for them, enjoy yourself.

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!