creating lightsources

BlitzMax Forums/BlitzMax Programming/creating lightsources

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

The first thing that pops into my mind is to use the additive blending with image overlays... If, for instance, you have a topdown look, you could draw the floor, add lights, draw walls, add lights, etc... That could look very cool.
For sideviews the thing becomes a bit more complicated, but vertex color could be the answer. If you break your scenery into small enough bits you could create a decent lighting system. I wouldn't know how to access the vertices of loaded images though...