How do walls affect lighting?
Posted
by
Milkboat
on Game Development
See other posts from Game Development
or by Milkboat
Published on 2011-11-28T16:42:15Z
Indexed on
2011/11/28
18:55 UTC
Read the original article
Hit count: 408
I have been trying to implement a simple form of lighting in my 2D game. In the screenshot, I don't think it looks very good, kind of just plastered over the top of the map. How would the wall effect how the lighting is displayed?
Just looking for tips on how to make my lighting look a bit better. Right now I gave each tile a light value and I change that depending on if there is a light source near by. I don't take in account if there are any objects near by.
Screenshot:
© Game Development or respective owner