Jump to content

  • Log In with Google      Sign In   
  • Create Account


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


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 Danny02   Members   -  Reputation: 275

Like
0Likes
Like

Posted 04 March 2011 - 06:56 PM

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

Sponsor:

#2 szecs   Members   -  Reputation: 2112

Like
0Likes
Like

Posted 05 March 2011 - 01:18 AM

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.

#3 2square   Members   -  Reputation: 129

Like
0Likes
Like

Posted 08 March 2011 - 09:09 AM

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.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS