2-d lighting day/night cycle

Posted by Richard on Game Development See other posts from Game Development or by Richard
Published on 2012-10-24T11:14:50Z Indexed on 2012/10/24 11:18 UTC
Read the original article Hit count: 266

Filed under:
|

Off the back of this post in which I asked two questions and received one answer, which I accepted as a valid answer. I have decided to re-ask the outstanding question.

I have implemented light points with shadow casting as shown here but I would like an overall map light with no point/light source.

The map setup is a top-down 2-d 50X50 pixel grid.

How would I go about implementing a day/night cycle lighting across a map?

© Game Development or respective owner

Related posts about XNA

Related posts about lighting