Jump to content
  • Advertisement

Archived

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

jollyjeffers

Direct3D Shadows

This topic is 6719 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 starting a game that''s written in Direct3D-IM, and relys very heavily on lighting and shadows (atmosphere/stealth). Someone was telling me that it''s not possible to get D3D to automate shadows - you have to calculate them yourself. Is this true?? I dont want it to be, but I trust my source. Could someone verify this, and/or tell me where to get examples/more info. Thanks v.much in advance, Jack.

Share this post


Link to post
Share on other sites
Advertisement
That''s true, there is no built in features that you can just say "cast shadows for me". You must calculate them based on the angle of your lighting and use a stencil buffer to create the effect.

Share this post


Link to post
Share on other sites
aka, fairly complicated then....

Is this what''s done when you make a Guake level and it has to compile it?

It''s actually working out the lighting patterns?

ANY idea at all how to do this?
I''m okay at maths; but 3D lighting sounds like an absolute pain in the arse...... (''scuse the language)

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!