Simple per pixel lighting system

BlitzMax Forums/BlitzMax Programming/Simple per pixel lighting system

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.

Very nice.
Is the bufferscale to maintain a decent fps?
It seems quite possible to add a changestatus and deletelight function to turn off or permanently destroy a light.
How would defining a light as static or dynamic help framerate. If there are no dynamic lights and the screen hasn't scrolled then you wouldn't have to call updatebuffer.
Lots of possibilities as well as using the lightbuffer to add shadows.