Hello all,
I’ve been working on a simple overhead maze game in OpenGL using lwjgl and would like some opinions here. I’ve got my maze randomly generating… I’ve got the thing showing on the screen. I even have a nice little minimap showing you where you’ve been, etc. So, now I’m at the point where I want to add lighting (to simulate a torch being held by the character.) I’ve added the light at the position of the character in the maze and adjusted light properties to give off the amount of lighting I’d like… Then the problem… The light goes through walls and so forth. :’(
Reading through the red and blue book and other various sources, I realized that my problem is shadows. So my question is, what technique would be appropriate to use? Any suggestions would be appreciated.
Regards,
– Renanse