creating lightsources

BlitzMax Forums/BlitzMax Programming/creating lightsources

I don't think that hardware lights are the way to go for tile based games. Your pretty much limited on the number of lights you can have (8 usualy), every poly will be effected when lighting is enabled, and calculating each vertex color yourself allows for real flexability. A simple SetVertexColor command, or overlayed image based lighting, would be perfect, most of the time.
Or if someone wants to port this:
http://www.gamedev.net/reference/articles/article2032.asp

That would be cool too!

@mephitis mephitis
If you want to know how openGL lighting works there is a great tutorial right here:
http://www.sjbaker.org/steve/omniv/opengl_lighting.html