Jump to content
  • Advertisement
Sign in to follow this  
Danny02

What kind of Shadow technique would you suggest for a RTS game

This topic is 2759 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, for a while now I'm working on a RTS kind of game.
I come to a point where I want to implement shadows into my renderer, first I thought of simple shadow mapping of course, but in my case the camera is very restricted so properly there are other methods which provide better visuals.

So I have following camera restrictions.
  • fixed height from the ground(maybe I allow zooming in)
  • orthogonal projection
  • fixed rotation(maybe not)
  • isometric view(z:45° x:32°)
  • user can only move the camera on the xy plane
  • only sun as light
    My question now, which technique would u choose.
    And if you think that shadow mapping is the best choice how do I calculate the view of the sun best. So I get the best results

Share this post


Link to post
Share on other sites
Advertisement
Simple shadow mapping.

What do you mean by "how do I calculate the view of the sun best"? Look into shadow mapping. Articles/tutorials about it usually show how to generate the necessary matrices.

Share this post


Link to post
Share on other sites
Also look into PSSM (Parallel Split Shadow Maps). I've used it previously for an RTS game and it works quite well for large outdoor scenes.

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!