Hello,
I am trying do something similar to do a lighting effect similar to this:
http://www.emanueleferonato.com/2007/09/26/create-a-survival-horror-game-in-flash-tutorial-part-1/
Unfortunately, that is in flash and I would like to do it using either SDL or openGL. I am running into a bit of a snag of how something like that would be accomplished.
I was thinking that I would have my bottom texture for the board, then a full black shape covering it, then put a polygon with an alpha on 0 on top of that for the 'lighting'. However, after searching for quite some time, I have come up with nothing.
Would anyone be able to help point me in the right direction?
Thank you in advance!
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement